Skip to main content
Inspiring
Aug 12, 2014 7:41 PM UTC
Answered

Mail not sending from Coldfusion

Hi

I recently upgraded from CF8 to CF11 and now CF11 does not seem to be able to send emails.

In CFAdmin, I entered the mail server and settings to the point where, when I Verify Mail Server Connection I get a success message, "Connection Verification Successful", but no email gets sent.

When i view the Log files for Mail in CF I see this error repeatedly:

avax.mail.MessagingException: Could not convert socket to TLS; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Has anyone else encountered this error? I can post plenty of additional detail if needed, both from the CF server and the Exchange server, if needed.

Thanks in advance,

Rich

This topic is closed to new replies. Start a new post to keep the conversation going.
richardELeachCorrect answer
Inspiring
Aug 14, 2014 9:54 PM UTC

Thanks for your input, turns out it was a loopback setting that needed to be turned off in the registry. Emails' a flowin' once again.

Rich

5 replies

Legend
Aug 14, 2014 12:43 AM UTC

Hi Richard,

Does the CF11 server have the same TCP as CF8 had? If not perhaps an Exchange relay deny issue?

Mention of TLS in the error makes me think perhaps your using a secure connection? If so CF8 Java may have had a SSL certificate added to the keystore. CF11 Java environment may not have the SSL present in it's keystore.

HTH, Carl.

Translate
richardELeachAuthorCorrect answer
Inspiring
Aug 14, 2014 9:54 PM UTC

Thanks for your input, turns out it was a loopback setting that needed to be turned off in the registry. Emails' a flowin' once again.

Rich

Translate
BKBK
Community Expert
Community Expert
Aug 17, 2014 4:07 PM UTC

Glad for you it works. Please kindly mark your post as the 'correct' answer.

Translate
Inspiring
Aug 13, 2014 11:27 PM UTC

ping

Translate