More actions
- Curl Command:
curl -k smtps://mail.example.com \ --user "username:password" -v \ --login-options AUTH=PLAIN \ --mail-from you@example.com \ --mail-rcpt someone@example.com \ --upload-file /full/path/to/email.txt
- Example
email.txt
To: someone@example.com From: you@example.com Subject: Sent With Curl This Email was sent with curl!