SHARE
TWEET

Untitled

a guest Jul 17th, 2017 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mutt -s SUBJECT -a ATTACHMENT_FILE_1 ATTACHMENT_FILE_2 -- EMAIL_ADDRESS < MESSAGE_FILE
  2.    
  3. mpack -s SUBJECT -D MESSAGE_FILE ATTACHMENT_FILE EMAIL_ADDRESS
  4.    
  5. echo -e "to: receiver@domain.tldnsubject: subjectn"| (cat - && uuencode /path/to/attachment attachment.name) | ssmtp sender@gmail.com
  6.    
  7. $ sudo apt-get install uudeview
  8.  $ echo -e "From: myaddress@mydomain.comnTo: youraddress@yourdomain.comnSubject: mySubjectnnBody-Text"|uuenview -a -bo MyAttachment|sendmail -t
  9.    
  10. $ echo -e "to: receiver@domain.tldnsubject: testn"| (cat - && uuencode /path/to/file file.name) | ssmtp sender@gmail.com
RAW Paste Data
Top