Terminal 101: Sending Email through the Command Line

Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application.

This is a message body.

EOF

Replace “Subject” with the subject of the mail messages that you are sending. You’ll then replace “recipient@somedomain.com” with the email address of the recipient of the message. Finally, to write your message, include the

Cory Bohon is a freelance technology writer, indie Mac and iOS developer, and amateur photographer. Follow this article's author on Twitter.