ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

Add "SMTP settings" in the "mail data" section

Open yuki opened this issue 7 years ago • 1 comments

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.

yuki avatar Jun 15 '17 15:06 yuki

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.

Kaian avatar Jun 15 '17 16:06 Kaian