I’ve had PHPList working before on my 1and1 (1&1 one and one shared server) but after an upgrade from version 3.something to version 3.2.5 (PHP version 2.5) it will no longer send emails.
The debug function returns the following error;
Connection: opening to 74.208.5.2:25, timeout=5, options=array ()
Connection: opened
SMTP -> get_lines(): $data is ""
SMTP -> get_lines(): $str is "220 perfora.net (mreueus003) Nemesis ESMTP Service ready"
SERVER -> CLIENT: 220 perfora.net (mreueus003) Nemesis ESMTP Service ready
CLIENT -> SERVER: EHLO [my-domain]
SMTP -> get_lines(): $data is ""
SMTP -> get_lines(): $str is "250-perfora.net Hello [my-domain] [217.160.62.204]"
SMTP -> get_lines(): $data is "250-perfora.net Hello [my-domain] [217.160.62.204]"
SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN"
SMTP -> get_lines(): $data is "250-perfora.net Hello [my-domain] [217.160.62.204]250-AUTH LOGIN PLAIN"
SMTP -> get_lines(): $str is "250-SIZE 69920427"
SMTP -> get_lines(): $data is "250-perfora.net Hello [my-domain] [217.160.62.204]250-AUTH LOGIN PLAIN250-SIZE 69920427"
SMTP -> get_lines(): $str is "250 STARTTLS"
SERVER -> CLIENT: 250-perfora.net Hello [my-domain] [217.160.62.204]250-AUTH LOGIN PLAIN250-SIZE 69920427250 STARTTLS
CLIENT -> SERVER: STARTTLS
SMTP -> get_lines(): $data is ""
SMTP -> get_lines(): $str is "220 OK"
SERVER -> CLIENT: 220 OK
SMTP Error: Could not connect to SMTP host.
CLIENT -> SERVER: QUIT
SMTP -> get_lines(): $data is “”
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
I’ve checked the troubleshooting document but that hasn’t helped either.
Threw my old (working) config.php in which contains the following lines;
define(‘PHPMAILERHOST’, ‘74.208.5.2’);
define(‘SMTP_PORT’,25);
define(‘PHPMAILERPORT’,25);
define(‘PHPMAILER_SECURE’,‘TLS’);
define(‘SMTP_USERNAME’, ‘[email@my-domain]’);
define(‘SMTP_PASSWORD’, ‘[my-pass]’);
Now the IP and port number are not what 1and1 suggest but the SMTP server won’t respond using the ones in their docs and as stated, prior to the upgrade this all worked.
Would anyone who has version 3.2.5 on 1and1 shared servers be so kind as to share their config.php file?
Or could anyone shed any light on this issue?
Please note I have searched previous topics in the forum and found none that apply specifically to this situation.