Jump to content

SMTP Error with Google Apps account


yshah

Recommended Posts

Hello All. I recently purchased a WHMCS license and have run into a few snags. I currently have an issue with using the SMTP server and sending emails using my Google Apps account. I have the latest version and have modified the php mailer class to now say:

 

public $SMTPSecure = 'tls';

 

I then configured WHMCS -> General Settings -> Mail as follows:

 

Mail Type: SMTP

SMTP Port: 587

SMTP Host: smtp.gmail.com

SMTP SSL: Checked

 

I get the following error when trying to send emails to customers:

 

Email Sending Failed - SMTP Error: Could not connect to SMTP host.

 

Any idea what's going on? I did a test from telnet and it says it can connect to gmail on that port, so I'm not sure what's going on.

 

Thanks for any help you can offer.

Link to comment
Share on other sites

  • 3 weeks later...
Hello All. I recently purchased a WHMCS license and have run into a few snags. I currently have an issue with using the SMTP server and sending emails using my Google Apps account. I have the latest version and have modified the php mailer class to now say:

 

public $SMTPSecure = 'tls';

 

I then configured WHMCS -> General Settings -> Mail as follows:

 

Mail Type: SMTP

SMTP Port: 587

SMTP Host: smtp.gmail.com

SMTP SSL: Checked

 

I get the following error when trying to send emails to customers:

 

Email Sending Failed - SMTP Error: Could not connect to SMTP host.

 

Any idea what's going on? I did a test from telnet and it says it can connect to gmail on that port, so I'm not sure what's going on.

 

Thanks for any help you can offer.

 

 

I also use google apps and it works, I use port 465 instead of 587

Link to comment
Share on other sites

MediaPlayStudios do you mean that WHMCS should be installed on https, and when I do any mail activities it should be via SSL? I use CPANEL, and have a server created SSL (not paid or bought from someone like VeriSign).

 

Any help on this is appreciated to get me going in the right direction.

Link to comment
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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated