Brendan03 Posted April 23, 2017 Report Share Posted April 23, 2017 Hi all, I'm currently going through a stage of trying to move our Mass Emails over from the local hosting to a dedicated system designed for mass email marketing as my VA has gone over 100 active pilots and our hosting keeps shutting our email system down whenever we mass email due to 'spam protection' I've spent hours on the forums and I've updated the Local config php as well as other associated files to enter the SMTP/Auth/User data, tries TLS, SSL etc and have had no luck. I've even correctly set up the DNS and MX records (and reverted the MX Records for further testing) MailGun seems to make mention of an API requirement however it doesn't seem to be mentioned in specifics to the PHP Mailer. If anyone has any vague idea or direction on this, It'd be highly appreciated. I've become rather frustrated and haven't found any way forward with this. Any help is appreciated, Brendan. Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted April 24, 2017 Members Report Share Posted April 24, 2017 can you try and add this in your local.config.php ? Config::Set('EMAIL_USE_SMTP', true); Config::Set('EMAIL_SMTP_USER', 'MAILGUN USERNAME'); Config::Set('EMAIL_SMTP_PASS', 'MAILGUN PASSWORD'); Config::Set('EMAIL_SMTP_SECURE', 'ssl'); Config::Set('EMAIL_SMTP_PORT', '465'); Comment out the previus settings Quote Link to comment Share on other sites More sharing options...
Brendan03 Posted April 24, 2017 Author Report Share Posted April 24, 2017 I think that's already in there, This is what I've got/had Current direct fro local.config.php (I'm trying Amazon SES at the moment) Config::Set('EMAIL_FROM_NAME', 'V Group Virtual'); Config::Set('EMAIL_FROM_ADDRESS', 'noreply@vgroupvirtual.com'); Config::Set('EMAIL_USE_SMTP', true); Config::Set('EMAIL_SMTP_SERVERS', 'email-smtp.us-west-2.amazonaws.com'); Config::Set('EMAIL_SMTP_PORT', '587'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'tls'); Config::Set('EMAIL_SMTP_USER', 'REDACTED'); Config::Set('EMAIL_SMTP_PASS', 'REDACTED'); What I was using yesterday when I created this forum thread. Config::Set('EMAIL_FROM_NAME', 'V Group Virtual'); Config::Set('EMAIL_FROM_ADDRESS', 'noreply@vgroupvirtual.com'); Config::Set('EMAIL_USE_SMTP', true); Config::Set('EMAIL_SMTP_SERVERS', 'smtp.mailgun.org'); Config::Set('EMAIL_SMTP_PORT', '25'); Config::Set('EMAIL_SMTP_USE_AUTH', true); Config::Set('EMAIL_SMTP_SECURE', 'tls'); Config::Set('EMAIL_SMTP_USER', 'REDACTED'); Config::Set('EMAIL_SMTP_PASS', 'REDACTED'); Quote Link to comment Share on other sites More sharing options...
Members Vangelis Posted April 24, 2017 Members Report Share Posted April 24, 2017 just try the one i provided you over the one's that you have and test it Quote Link to comment Share on other sites More sharing options...
Brendan03 Posted April 25, 2017 Author Report Share Posted April 25, 2017 After all that, I ended up opting for using the MailGun API which worked... plus our previous attempt to mail all pilots had resulted in outbound email being restricted from phpVMS through our hosting. All resolved now though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.