| .. | ||
| src | ||
| templates | ||
| Cargo.toml | ||
| readme.md | ||
create and send emails from templates
template
mjmlto create emailsterato render emails with parameters
send
lettreto send the emails with smtp
rocket config
from: Sender of emails, usually name and email addresstransport: Security method to send the mails.unencryptedortlsorstarttlshost: Where to send smtp trafficport: optional: Used whentransportisunencryptedusernameandpassword: optional: Used whentransportistlsorstarttls
Rocket.toml
[default.email]
from = "ezidam <ezidam@mail.local>"
transport = "unencrypted"
host = "localhost"
port = 1025
env
ROCKET_EMAIL='{from="ezidam <ezidam@mail.local>",transport="unencrypted",host="localhost",port=1025}'