Mail issues with 7.1.1.x

Seems like there are some issues with mail and 7.1.1.x?

I’m trying to get the queryExecute() fix in 7.1.1.x (queryExecute() is stripping comments from queries - #5 by micstriit)

I pulled 7.1.1.3 and rebuilt my container. Discovered mail has been moved to an extension. Added that and rebuilt my dev container. App loads but there are weird issues:

/org/lucee/cfml/HelperBase.cfc:170
lucee.runtime.exp.CustomTypeException: not supported in 7.1 OOTB
	at lucee.runtime.tag.Throw._doStartTag(Throw.java:225)
	at lucee.runtime.tag.Throw.doStartTag(Throw.java:212)
	at org.lucee.cfml.helperbase_cfc$cf.udfCall1(/org/lucee/cfml/HelperBase.cfc:170)
	at org.lucee.cfml.helperbase_cfc$cf.udfCall(/org/lucee/cfml/HelperBase.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:118)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:370)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:230)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:863)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:724)
	at lucee.runtime.SuperComponent.call(SuperComponent.java:83)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:773)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:2084)
	at org.lucee.cfml.mail_cfc$cf.udfCall(/org/lucee/cfml/Mail.cfc:6)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:118)
	at

What’s odd is this doesn’t seem to get logged anywhere.

I also tried the 1.1.0.8-RC mail extension mentioned in this ticket but no change: Jira

1 Like

Jim, I’m getting the same behavior. I upgraded development to 7.1; learned that mail is now handled through an extension so installed that; CFMAIL now does nothing. And nothing gets logged. Worst of all, there’s no place in the admin where one can verify SMTP configuration settings. An obvious show-stopper for upgrading to 7.1 in production.

I opened ticket https://dev.lucee.org/t/administer-smtp-configuration-in-lucee-7-1/17510 but have heard nothing yet. Please let me know if you figure out how to make email work in 7.1.

FYI You can view the mail page by adding action=services.mail (found in Angel’s thread on Slack)

But even if you go there and send a test mail - it doesn’t go through.

I was about to upgrade all my servers to 7.1 but this is a show stopper.

And to be clear I’m running 7.1.0 which is considered a “stable” release. The Crypto extension for it looks promising, but you’re right, the inability of something as fundamental as email not working is a complete show-stopper.

I have discovered that by adding ‘async=“false”’ to the cfmail tag, the email is sent. It shouldn’t be necessary, but it does work for the interim and hopefully we’ll see some SMTP configuration restored to the administrator in the future.

1 Like

The async = “false” worked. Thanks