Send email from the command line (Konsole)
Nikolai
psalmos at swissinfo.org
Sat Nov 4 14:25:57 UTC 2006
smithveg wrote:
> Is this mail is about sending an email from a terminal?
Yes
> But why you use php echo?
echo is also a Linux/UNIX command
http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=e/echo
> I do interest if you are using terminal to send mail. Can i have some
> tutorials.
I just followed Marius Gedminas' "tutorial" (if you can call it that):
$ echo "Here's the file I promised to send you" | mutt -s "Subject" \
-a attachment.zip recipient at example.com
Obviously, mutt and postfix must be installed on your system for this to
work (look at the second message in the thread for more info).
Nikolai
--
the truth shall make you free
http://blog.razouvayev.com
More information about the ubuntu-users
mailing list