We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Get Mailtrap working with live server
I can get Mailtrap working great with my local server (test email works and I can see it in their dashboard).
However, I cannot get it to work on a live site, getting an
SMTP connect() failed message. FYI the hosting is GoDaddy (not my choice).
I've seen someone had a similar problem here http://forum.grabaperch.com/forum/05-20-2015-smtp-connection-error-for-mailtrap-mamp.
I've tried changing the port number and also switching between SSL and TLS but unlike the person asking the other question I haven't found a different combination that works.
My question is what are the next steps for trying to get this to work? Where could I view diagnostics? How can I troubleshoot this?
Here are my Mailtrap settings that work locally:
define('PERCH_EMAIL_FROM', 'email@example.com'); define('PERCH_EMAIL_FROM_NAME', 'Jay George'); define('PERCH_EMAIL_METHOD', 'smtp'); define('PERCH_EMAIL_HOST', 'smtp.mailtrap.io'); define('PERCH_EMAIL_SECURE', 'tls'); define('PERCH_EMAIL_AUTH', true); define('PERCH_EMAIL_PORT', 2525); define('PERCH_EMAIL_USERNAME', 'xxx'); define('PERCH_EMAIL_PASSWORD', 'xxx');
Want to reply to this thread?Login with Perch