ivozprovider
ivozprovider copied to clipboard
Add "SMTP settings" in the "mail data" section
In the "brand" settings, the mail data section has only two options for sending mails. Because of this, there must be a mail server to send the mails correctly configured (postfix, exim...).
It will be great to use something like PHPMailer (https://github.com/PHPMailer/PHPMailer) and add the next options:
- SMTP host: IP or FQDN
- SMTP Secure (no, SSL or TLS)
- SMTP port
- SMTP Authentication (yes or no)
- username
- password
Extra option:
- A "try config" button to send a "dummy mail" to see if the config introduced is right.
With this, the connection will be made by PHP, so there's no need to have a mail server configured.
Hi @yuki
Thanks for your suggestion. That... sounds quite well (tm).
Maybe @mmadariaga has something to say. The mailing rework could be done at the same time that #67 where we located the places in code that send emails.
Also I'm a bit affraid of the dimension of Brands edit screen, but that's another problem.