(by @MimePost)
curl -XPOST \
-H 'X-Auth-Token: api_token' \
-H "Content-type: application/json" \
-d '{
"html":"<p>This is an example html content</p>",
"subject":"This is an example subject",
"from_email":"[email protected]",
"from_name":"Sender Name",
"to":[
{
"email":"[email protected]"
}
],
"cc":[
"[email protected]"
],
"bcc":[
"[email protected]"
]
}' 'http://api.mimepost.com/v1/emails/'
sudo apt-get install swaks
sudo yum install swaks
brew install swaks
swaks --server smtp.mimepost.com:2525 \
--auth-user smtpuser \
--auth-password smtppass \
--to [email protected] \
--from [email protected]
- PHP : PHPMailer
- NODE: Nodemailer
- GOLANG : Go SMTP package
- PYTHON : smtplib
- JAVA : JavaMail
These are few library for respective language. Every language has their SMTP library.