HostOnNet Blog

Mail using sendmail command

To send email using sendmail, use

sendmail -f sender@yourdomain.com  recipient@yourdomain.com

Now you need to type in

Subject: Subject here

press enter, on next line, you can type message (email body). Once you enter the message, end it with a new line (Enter) and a DOT (.) character.

See mail


Posted in Mail Server