HostOnNet Blog

Mail using sendmail command

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.