Hi everyone,
I am using the latest release of elgg (3.3.18) with smtp authentication. After adding smtp parameters in elgg-config/settings.php, I got some errors when a mail is sent.
Here is my configuration.
$CONFIG->emailer_transport = 'smtp';
$CONFIG->emailer_smtp_settings = array(
'name' => 'GEEK XXXX',
'host' => 'mail.pyngescol.com',
//'port' => 25,
'connection_class' => 'login',
'connection_config' => [
'username' => 'info@pyngescol.com',
'password' => 'xxxxxxxx',
'ssl' => 'tls', // OPTIONAL (tls or ssl)
'port' => '587', // OPTIONAL (Non-SSL default 25, SSL default 465, TLS default 587)
'use_complete_quit' => '', // OPTIONAL
],
);
The SMTP is a local hosted server and we use it for some tests, and it works perfectly on other apps.
Here are the errors trigger when the email is sent.
The input does not match the expected structure for a DNS hostname, The input does not appear to be a valid URI hostname, The input does not appear to be a valid local network name.
I need help.
Regards,
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- Hermand Pessek@rheman
Hermand Pessek - 0 likes
You must log in to post replies.Usually, it's mean some data doesn't pass the check.
Read more here.
Need more tests.
BTW, why you comment the port?
This may be a reason of your issue.
Thanks