azinchen / duplicacy

Automated backups with Docker and duplicacy, with backup rotation, email notifications
MIT License
31 stars 17 forks source link

starttls=when-available #166

Open adripo opened 1 year ago

adripo commented 1 year ago

Some smtp services offer different values for starttls than YES. Wouldn't be easier to set a parameter like EMAIL_SMTP_URL that contains the complete url with hostnamne, port and starttls?

Here are some examples:

smtp://in-v3.mailjet.com:587/?starttls=when-available
smtp://mta5.am0.yahoodns.net.:25/?starttls=when-available
azinchen commented 1 year ago

ssmtp is used to send email, config file are located in ssmtp.conf file. I did not find how to set when-available in config file.