Connection Test Failure while trying to check mail settings in ColdFusion 10 administrator

I am using ColdFusion 10 on Windows Server 2008 R2. In the administrator, I get an error when checking the settings of the mail server.

I use the settings below,

server : smtp.gmail.com port: 465 Username : testuser@gmail.com password: xxxxxxxx 

and select the Enable SSL socket connection to the mail server check box.

With these settings, I get the error message "Connection check failed!".

+7
coldfusion smtp coldfusion-10 cfmail
source share
5 answers

I also ran into the same problem and solved it by changing the port from 465 to 587.

In the ColdFusion Administrator, select the "Enable TLS connection to the mail server" check box and clear the "Enable SSL connection to mail server" check box.

Now you can check the connection.

thanks

+4
source share

You also need to check the box "Enable TLS connection to the mail server."

I was unable to verify the connection on my test server using the parameters you specified, but using my own credentials.

I was able to verify the connection when TLS was turned on.

+3
source share

Removing the username and password worked for me in CF11.

+1
source share

I recently saw this issue due to Google making some changes to the way GMail accounts are accessed.

In particular, you can find the settings in your account that relate to allowing access to the "Less secure applications". Essentially, Google is trying to force aAuth style authentication and deny access through auth username / password.

In your account settings, you can re-enable the β€œless secure” authentication method: http://www.google.com/settings/security/lesssecureapps

+1
source share

As already mentioned, double check your SSL / TLS settings and port numbers. Also check the maintenance / movement of spaces in your SMTP credentials. I spent 20 minutes fixing this problem once, and it turned out to be caused by the finite space in the SMTP username field .:/

0
source share

All Articles