Open adripo opened 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?
starttls
EMAIL_SMTP_URL
Here are some examples:
smtp://in-v3.mailjet.com:587/?starttls=when-available smtp://mta5.am0.yahoodns.net.:25/?starttls=when-available
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.
ssmtp
when-available
Some smtp services offer different values for
starttls
than YES. Wouldn't be easier to set a parameter likeEMAIL_SMTP_URL
that contains the complete url with hostnamne, port and starttls?Here are some examples: