2022-12-08 16:45:36
2022-12-08 14:07:24
2022-12-08 08:48:06
1187396
@Friendica Admins
Hello,
I am just learning how to administer a PHP application. I have run into a problem. In general, I activated the addon through the admin panel, on the server, edited the file phpmailer.config.php. However, sending still doesn't work. Can you please tell me if I need to do something else to make it work? I'm attaching the config.
Hello,
I am just learning how to administer a PHP application. I have run into a problem. In general, I activated the addon through the admin panel, on the server, edited the file phpmailer.config.php. However, sending still doesn't work. Can you please tell me if I need to do something else to make it work? I'm attaching the config.
return [
'phpmailer' => [
// smtp (Boolean)
// Enables SMTP relaying for outbound emails
'smtp' => true,
// smtp_server (String)
// SMTP server host name
'smtp_server' => 'mail.runbox.com',
// smtp_port (Integer)
// SMTP server port number
'smtp_port' => 25,
// smtp_secure (String)
// What kind of encryption to use on the SMTP connection.
// Options: '', 'ssl' or 'tls'.
'smtp_secure' => 'ssl',
// smtp_port_s (Integer)
// Secure SMTP server port number
'smtp_port_s' => 465,
// smtp_username (String)
// SMTP server authentication user name
// Empty string disables authentication
'smtp_username' => 'admin@friendica.city',
// smtp_password (String)
// SMTP server authentication password
// Empty string disables authentication
'smtp_password' => '*******************',
// smtp_from (String)
// From address used when using the SMTP server
// Example: no-reply@example.com
'smtp_from' => 'admin@friendica.city',
],
];
Hypolite Petovan
•config/phpmailer.config.php
file isn't read. Until the upcoming release you have to put your configuration inaddon/phpmailer/config/phpmailer.config.php
for it to be taken into account.Andy H3
•config/phpmailer.config.php
, isn't it?Hypolite Petovan
•slash
•Hi,
I am on the current RC branch and I have created the file "phpmailer.config.php" in /config with the following content:
... show more
Hi,
I am on the current RC branch and I have created the file "phpmailer.config.php" in /config with the following content:
I copied the access data from my Thunderbird and they are 100% correct.
The problem is, however, that no mail notifications seem to be sent.
In the friendica.log I find the following entries:
Apparently there is still a bug somewhere in the current RC?
Hypolite Petovan
•"process_id":9959
?slash
•Here te logs: https://bin.disroot.org/?5f8c10f537c09c1c#HwDbqTwhj2EiELXpb8HMxRMBaVyJFd42pc8QuG9TPLGo
Hypolite Petovan
•slash
•Yes is a single user account. I will now test another mail provider to make sure it is not that.
slash
•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.... 😕
Hypolite Petovan
•Andy H3
•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 .
Hypolite Petovan
•Andy H3
•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.
Hypolite Petovan
•Andy H3
•Hypolite Petovan
•