Hi all,
A decision was made. I'm working on an addition to the config panel of Streams in the YunoHost admin interface which will allow you to use PHPMailer rather than the mail() built-in function. I've decided to to it that way rather than try to work on the phpmailer addon itself. The idea here is that people who install a (streams) based website with YunoHost don't necessarily know their way on the terminal, while people who installed their website manually can probably handle the phpmailer addon configuration through the command line.
So, at the moment, we're here:
![Screenshot of the Streams PHPMailer configuration in YunoHost admin interface. Only one item is available, «Activate PHPMailer» with the switch set to «No». Screenshot of the Streams PHPMailer configuration in YunoHost admin interface. Only one item is available, «Activate PHPMailer» with the switch set to «No».](https://caselibre.fr/photo/eb61814f-0c55-42b4-a1c1-5a0da2afd649-1.png)
If we activate PHPMailer we'll first have very basic configuration options:
![A second screenshot of the Streams PHPMailer configuration in YunoHost admin interface. On this picture the «Activate PHPMailer» switch is set to «Yes». Two more options are available: «Use your YunoHost server's SMTP» with a switch set to «Yes», and «Sender's email» with a text area with an e-mail address in it. A second screenshot of the Streams PHPMailer configuration in YunoHost admin interface. On this picture the «Activate PHPMailer» switch is set to «Yes». Two more options are available: «Use your YunoHost server's SMTP» with a switch set to «Yes», and «Sender's email» with a text area with an e-mail address in it.](https://caselibre.fr/photo/3ed57150-b58b-413b-ac2e-bc3ef60d3a0c-1.png)
And if we decide to use an external SMTP server, we'll get a lot more:
![A third screenshot with «Use your YunoHost server's SMTP» set to «No» and a few extra options that appeared below: «SMTP server address», «Username» and «Password» (some others are not visible in the screenshot). A third screenshot with «Use your YunoHost server's SMTP» set to «No» and a few extra options that appeared below: «SMTP server address», «Username» and «Password» (some others are not visible in the screenshot).](https://caselibre.fr/photo/f41062c0-0707-47d8-853e-2290285de214-1.png)
For the moment, that's all I have to show. A very nice interface. But all the work on the code that has to run behind is still to be made. Could take a few days. Or more. Or maybe less, who knows. Fun times ahead!