gosurp smtp send
Send mail from local SMTP server
Synopsis
Send mail from local SMTP server to the specified recipients
gosurp smtp send [flags]
Options
-b, --body string Body to send mail with (default "Here is my simple email test. Did you received it ?")
--dkim-domain string DKIM domain to use
--dkim-key string DKIM private key to use
--dkim-selector string DKIM selector to use
-f, --from string Email address to send mail from (default "John Doe <john.doe@fsociety.com>")
--from-file string Config file to use
-h, --help help for send
--hostname string Hostname of the SMTP server to connect to
--port strings Port of the SMTP server to connect to, comma separated (default [25,465,587,2525])
-s, --subject string Subject to send mail with (default "My phishing mail")
--timeout duration Timeout for connection (default 20s)
--tls Force TLS connection
-t, --to strings Email address to send mail to (separated by comma) (default [agent1337@evilcorp.com])
Options inherited from parent commands
-v, --verbose count Level of verbosity: -v for INFO, -vv for DEBUG, -vvv for TRACE.
See Also
- gosurp smtp - Send mail from the CLI using SMTP