smtp.gmail.com railo.runtime.exp.NativeException:javax.mail.AuthenticationFailedException:0

StackOverflow https://stackoverflow.com/questions/22338954

  •  13-06-2023
  •  | 
  •  

Question

This works on my ColdFusion server, but not on my Railo server:

<cfset subject = "xxx">
<cfmail usessl="yes" username="xxx@gmail.com" password="xxx" port="465" type="html" server="smtp.gmail.com" 
subject="#subject#"
from="xxx@gmail.com" to="xxx@gmail.com">
#subject#
</cfmail>

When I turn Spool enable off my Railo server, I get:

smtp.gmail.com railo.runtime.exp.NativeException:javax.mail.AuthenticationFailedException:0

At first, Google balked at a program trying to login as me in a different city, but I've told them it was me. Under unusual activity, I have:

You recognized all the unusual activity below as yours

And the Railo server is in the list.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top