Guest User

Untitled

a guest
Jul 22nd, 2017
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # Where will the mail seem to come from?
  2. rewriteDomain=my_internet_domain.uk
  3.  
  4. # Are users allowed to set their own From: address?
  5. # YES - Allow the user to specify their own From: address
  6. # NO - Use the system generated From: address
  7. FromLineOverride=YES
  8.  
  9. ssmtp [email protected] <<<$'Subject: testing 1...2...3'
  10.  
  11. /usr/lib/sendmail -oi -t <<____HERE
  12. Subject: testing
  13.  
  14. Here we interpolate the shell variable $result
  15. ____HERE
  16.  
  17. ( printf "Subject: random numbernn"
  18. dd if=/dev/urandom bs=4 count=1 2>/dev/null | od -D -An ) |
  19. sendmail
  20.  
  21. claws-mail --compose-from-file filename
  22.  
  23. sudo apt-get update
  24. sudo apt-get install ssmtp
  25.  
  26. root=rpi3abc@gmail
  27. mailhub=smtp.gmail.com:465
  28. FromLineOverride=YES
  29. AuthPass=testing123
  30. UseTLS=YES
  31.  
  32. echo "Testing...1...2...3" | ssmtp [email protected]
  33.  
  34. echo "Message body." | mailx -s "Subject line" -a /path/attachment.txt -r "Sender's Name<[email protected]>" -c [email protected] [email protected]
  35.  
  36. sendEmail -q -f "[email protected]" -u "mySubject" -t "[email protected]" -s "my.smtp.com" -o tls=yes -xu "mySmtpUser" -xp "mySmtpPw" -m "myMessage"
Advertisement
Add Comment
Please, Sign In to add comment