Advertisement
Guest User

Untitled

a guest
Mar 1st, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. mutt -s SUBJECT -a ATTACHMENT_FILE 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement