cformsII v11 php v5.6 – external SMTP configuration
-
Hi there,
Greetings from South Africa!
I’ve inherited a *very old* wordpress installation that was customised in such a way that it cannot be updated. Our current hosting provider is removing php 5.6 from its shared hosting shortly and as such we are forced to move to a new host that still supports it.
Our DNS records have SPF+DKIM configured, so we would like to route our email through the old mail server.
So, here is my problem – when submitting a form with an external mail server configured – despite having specified port 587 for the SMTP server, after submitting a form I receive this error;
Warning: fsockopen(): unable to connect to smtp.[mydomain].com:25 (Connection timed out) in /my/hosting/path/public_html/wp-content/plugins/cforms2/phpmailer/class.smtp.php on line 122
fsockopen() reports that it is attempting to connect to port 25 which is timing out, as expected (my mail provider does not accept connections on port 25).
I appreciate that I am working with very outdated code here, but any assistance will be greatly appreciated!
Versions:
wordpress 3.0.5
php 5.6
cformsII 11.0Thanks in advance,
Will
- The topic ‘cformsII v11 php v5.6 – external SMTP configuration’ is closed to new replies.