Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #log into the mail server
  2. echo "This is the body of the email." | mailx -v -s "This is the subject" -S smtp="smtp:my.domain.com:587" -S smtp-use-starttls -S smtp-auth=login -S smtp-auth-user="me@my.domain.com" -S smtp-auth-password="password" -S ssl-verify=ignore recipient@my.domain.com
  3.  
  4. mailx: illegal option -- S
  5. Usage: mailx [-EiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...
  6. mailx [-EHiInNv] [-F] -f [name]
  7. mailx [-EHiInNv] [-F] [-u user]
  8. mailx -e [-f name]
  9. mailx -H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement