Skip to main content
Participant
November 29, 2006
Frage

Using CFmail with gmail

  • November 29, 2006
  • 1 Antwort
  • 1923 Ansichten
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
Dieses Thema wurde für Antworten geschlossen.

1 Antwort

December 4, 2006
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.
Participating Frequently
January 7, 2008
You can now accomplish this using CF 8 which allows for TLS to be checked.
Priyank Shrivastava.
Inspiring
July 23, 2013

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

Thanks, Priyank Shrivastava