Skip to main content


@Aleksandr Hi Aleksandr, there is a known bug in the current stable Friendica version where the config/phpmailer.config.php file isn't read. Until the upcoming release you have to put your configuration in addon/phpmailer/config/phpmailer.config.php for it to be taken into account.
I see. Thanks for the explation @Hypolite Petovan. For the RC it's already: config/phpmailer.config.php, isn't it?
@slash Can you please provide the full log with "process_id":9959 ?
@slash Thanks, nothing stands out, we may have to add additional logging to troubleshoot this. Is this a single-user node so that you can assert no email was received?
@Hypolite Petovan
Yes is a single user account. I will now test another mail provider to make sure it is not that.
@Hypolite Petovan
It was actually due to the mail provider I was using. I have now used another one and now it seems to work without problems.
Please excuse.... 😕
@slash No worries, messages about people fixing their own issues are the best!
Something is not right with the phpmailer. I use postfix and everything works well. But when I turn off my postfix server and activate the phpmailer it doesn't work for me either.

Ironically when I activate both phpmailer and postfix, emails go via the postfix queue but have a x-mailer header: showing phpmailer. It's a puzzle!

I also tried both these configuration paths but to no avail .
@Andy H3 What do you think the PHP Mailer does exactly? It isn't redundant with Postfix.
@Hypolite Petovan, Are you asking me why did I enable the PHP Mailer while already having a proper MTA set up?

The reason was that I had trouble with Friendica's emails revealing my IP address [!] in the header, despite all other services that also use my Postfix server don't do that.

Hoping the PHP Mailer would provide a quick fix, I enabled it and discovered it didn't work.

I then changed my SMTP relay provider (mailgun.com) to a different one, et voilà it worked as expected.
@Andy H3 Which IP address? We may want to look into this.
If you like I'll open an issue (next week) with all the details.
⇧