Guest User

Untitled

a guest
Aug 6th, 2018
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. mail -a myfile.txt -t me@example.com -s "Here's my file"
  2.  
  3. mutt -a myfile.txt -s "Here's my file" -- me@example.com
  4.  
  5. mail -s "hello" RECEIVE@mail.com < /home/masoud/YOURFILE.txt
  6.  
  7. mail -s "hello" RECEIVE@mail.com -a /home/masoud/YOURFILE.txt
  8.  
  9. mail -s "hello" -a /home/masoud/YOURFILE.txt RECEIVE@mail.com
  10.  
  11. echo "your message here" | mail -s "title" -a /home/masoud/YOURFILE.txt RECEIVE@mail.com
  12.  
  13. mail -s "your subject" you@gmail.com -A /your/attachment/absolute/path < /home/you/message.txt
  14.  
  15. thunderbird -remote "xfeDoCommand(composeMessage,subject='S',to='you@example.com',body='B',attachment='/some/absolute/file.txt')"
  16.  
  17. thunderbird -remote "xfeDoCommand(composeMessage,subject='S',to='you@example.com',body='B',attachment='$(readlink -f file.txt)')"
  18.  
  19. thunderbird-compose () {
  20. thunderbird -remote "xfeDoCommand(composeMessage,subject='$1',to='$2',body='$3',attachment='$(readlink -f $4)')"
  21. }
  22.  
  23. thunderbird-compose 'Some Subject' test@example.com 'Body of message' file1
  24.  
  25. mailx -a attachment.zip -s subject rctp@domain.to
  26.  
  27. echo "This is the message body" | mutt -a "/path/to/file.to.attach" -s "subject of message" -- recipient@domain.com
Add Comment
Please, Sign In to add comment