Jump to content
Brendan03

External Mail Integration

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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 

Share this post


Link to post
Share on other sites

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');

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...