Skip to main content
Participant
Nov 29, 2006 10:15 PM UTC
Question

Using CFmail with gmail

Hi, hope you can help me!
I'm running developer, and I'm having some big issues getting cfmail to work. When I try to connect to gmail (smtp.gmail.com port 587) I get this:

This exception was caused by: javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first w67sm2418843pyg .

And when I try smtp.mail.yahoo.com port 587, I get this:

This exception was caused by: javax.mail.AuthenticationFailedException: Authentication Failed.

I have checked, checked and triple checked username and password, and still can't get either of these to work. The STARTTLS command seems to be a security issue with gmail, but I haven't stumbled across any solutions in my forum searches.
Any help would be Hugely appreciated,
Here's the bare-bones code I'm using to test it
mcpiper
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Dec 4, 2006 2:49 AM UTC
I've never heard of anyone who was able to get cfmail working over SSL.
(A glaring omission Adobe!)

First go to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform and file a bug report / feature request.

Then, this article talks about how to use CF with gmail's server but it requires a $1000 library purchase:
http://www.roktech.net/devblog/index.cfm/2006/10/24/Cfmail-Google-Tools-For-Your-Domain-and-SPAM

You can use Stunnel ( http://www.stunnel.org/) for free but you need mad skilz to do so.

You can also probably gin something up with CFX_RawSocket and a little work.
Translate
Participating Frequently
Jan 7, 2008 9:06 PM UTC
You can now accomplish this using CF 8 which allows for TLS to be checked.
Translate
Priyank Shrivastava.
Inspiring
Jul 23, 2013 7:48 PM UTC

You can also use TLS in CF 10 and configure your gmail and it should work.

Translate
Thanks, Priyank Shrivastava