Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.43, 4.5.2.010
    • Fix Version/s: 5.0.0.186
    • Labels:
      None
    • Environment:

      OS X
      Tomcat

      Description

      If you try to send an email with a charset lucee fails, example case:

      <cfmail  
              from   = "mark.drew@gmail.com"
              to    = "mark.drew@gmail.com"
              server="smtp.gmail.com"
              username="mark.drew@gmail.com"
              password=""
              port="465" 
              usetls="true"
              useSSL="yes" 
              charset="utf-8"
              type="html"
              subject="This will fail"
              >
        Hello world!
      </cfmail>
      
      

      Gives the error:
      Message: lucee.runtime.tag.Mail.setCharset(Ljava/lang/String;)V
      Cause: java.lang.NoSuchMethodError

      lucee.runtime.exp.NativeException: lucee.runtime.tag.Mail.setCharset(Ljava/lang/String;)V
      at mailing.index_cfm$cf.call(/Users/markdrew/Servers/lucee-5.0.0.43-express/webapps/ROOT/mailing/index.cfm:10)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:901)
      at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:844)
      at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
      at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
      at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
      at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2240)
      at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2232)
      at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2204)
      at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:570)
      at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:100)
      at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:60)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
      at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoSuchMethodError: lucee.runtime.tag.Mail.setCharset(Ljava/lang/String;)V

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                cybersonic Mark Drew
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: