Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From: Company Name <example@nowhere.com>
- To: recipient@madeup.com
- CC: someoneelse@place.com
- Subject: Generated Output
- Mime-Version: 1.0
- This will be the body copy even though it's terrible
- # /usr/sbin/sendmail -t < emailfile.eml
- echo "This is the message body" | mutt -a "/path/to/file_to_attach" -s "subject of message" -- recipient@domain.com
- mail -a /opt/emailfile.eml -s "Email File" user@example.com < /dev/null
- sendemail -t to@example.com -m "Here is the file." -a attachmentFile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement