Skip to main content
Participating Frequently
June 28, 2022
Answered

CFMAIL Stopped Working After CF2018 Update 14

  • June 28, 2022
  • 2 replies
  • 1764 views

I am having an interesting problem.  Since installing CF2018 Update 14 I am no longer able to use the CFMail tags in my web pages.  It was working before the update without issue.  Since applying the update when the page is called, it acts as if it stops reading the page at the <cfmail> tag.  Nothing else loads after that point.  I just get a blank white page in the browser.
Looking at chrome developer tools, the body of the page is blank.

 

Example of my cfmail:

<cfmail
from="test_noreply@server.com"
to="email_address@server.com"
subject="test email message">
This is a test email message
</cfmail>

I get the following error in the server application log:

"Error","ajp-nio-127.0.0.1-8018-exec-5","06/28/22","07:46:57","","org/bouncycastle/jce/provider/BouncyCastleProvider The specific sequence of files included or processed is: X:\<path>\page.cfm, line: 2 "

 

I've tried the <cfmail> tag all on one line and get the same error but the line changes to 1.

I'm not getting any other error messages in any logs.

I'm pulling my hair out trying to find an answer and google is not much help with this issue.

Thanks for any suggestions you can offer - I apologize if this is not the right forum, new to posting stuff here.  

    This topic has been closed for replies.
    Correct answer BKBK

    Good Morning - Thanks for all the help you have provided on this issue.  I am finally back in the office and can work on the server hands on.

    I checked the Update 14 install log again and found that I had 1 nonCricital error.  That error happens to be with the bouncycastle jar.

    Install File:             \Users\xxxx\493885.tmp\dist\cfusion\lib\bcprov-jdk15on-153.jar
                              Status: ERROR
                              Additional Notes: ERROR - Flexeraak7: invalid entry CRC (expected 0x46c83847 but got 0x2af2b939)

    So, I'm trying to figure out if I can just replace that file (not seeing the 153.jar file on bouncycastle site) or if I need to roll the whole update back and reinstall...

    Any suggestions?


    That is not surprising. I would:

    1. Roll back the update,;
    2. Restart ColdFusion.
    3. Confirm that the current update level is one on which Update 14 may be installed, and test it to verify there are no bugs;
    4. Install Update 14. 

    2 replies

    Community Expert
    June 28, 2022

    I don't think Bouncy Castle is the default JCE library in ColdFusion? Anyway, that's probably where your problem is.

     

    Dave Watts, Eidolon LLC 

    Dave Watts, Eidolon LLC
    Community Expert
    June 28, 2022

    And hey, it looks like you may have already figured this out!

     

    Dave Watts, Eidolon LLC 

    Dave Watts, Eidolon LLC
    BKBK
    Community Expert
    Community Expert
    June 28, 2022

    You're in the right forum. It's a curious error. Unlikely to be caused by you, more likely to be caused by ColdFusion.

     

    We need more details. See if a try/catch provides more details about the error

     

     

    <cftry>
    <cfmail
    from="test_noreply@server.com"
    to="email_address@server.com"
    subject="test email message">
    This is a test email message
    </cfmail>
    <cfcatch type="any">
        <cfdump var="#cfcatch#">
    </cfcatch>
    </cftry>
    

     

     

     

     

    DC_271Author
    Participating Frequently
    June 28, 2022

    Same result, same error in the application log.  Nothing dumped to the screen.

    I wish I had more to offer.  That is what's making this so hard to figure out, no errors on the screen to go by.  I was thinking I may try to uninstall Update 14 to see if that resolves the issue but I was hoping that would be my last resourt.

    BKBK
    Community Expert
    Community Expert
    June 28, 2022

    What is the error in exception.log?