Friday, July 31, 2009

Send mail from the terminal in Untangle

Untangle routers are already configured to send out emails for use with the Reports module. However, Untangle is still a Linux machine. It happens to be based on Debian. If you want to send out email messages for you own purposes, you can do so from the command line. The syntax looks like this:
$ echo "This is my message" | mail -s "Subject"
This would send an email to that has a subject of "Subject" and a body of "This is my message". Specifying a subject is optional.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.