Skip to main content
Inspiring
August 12, 2014
Answered

Mail not sending from Coldfusion

  • August 12, 2014
  • 5 replies
  • 1471 views

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 has been closed for replies.
Correct answer richardELeach

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
August 14, 2014

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.

richardELeachAuthorCorrect answer
Inspiring
August 14, 2014

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

BKBK
Community Expert
Community Expert
August 17, 2014

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

Inspiring
August 13, 2014

ping