From Scottworld
Jump to navigation Jump to search
–from – address you want to appear as from
–header – header part including Subject
–body – Text you want to appear in the mail boxy. You can create a text file and use that instead (–body file.txt)
–attach-type – attachment mime type, can be repeated as needed
–attach – mail attachment, can be repeated as needed
–server – SMTP server you want to use to send mail
–port – SMTP server port, I use 587 (submission)
–timeout – timeout in seconds/minutes is there is delay in SMTP communication as in case of fight against spam
–auth – authentication type
–auth-user – username used for SMTP authentication
–auth-password – password used for SMTP authentication
–tls – tells swaks to STATTLS