This content has been marked as final. Show 9 replies
my smtp.gmail.com is set up to use port 587...
but it is a regular gmail account, not through google aps...
and i haven't tried it with cfmail...
I checked googles documentation and it does say to use 465 in the instructions for setting up outlook.
the settings work fine in outlook as it sends and receives emails without any problems.
I was thinking that it could be because google accounts are on secure smtp, can cfmail send over secure smtp ??
Thanks I checked it out but the prerequsits throw me a bit, I am not on a dedicated server and wouldn't be able to make these changes. below
1. Create the new folder secure_inet in C:\CFusionMX7\Mail; 2. On the jscape.com page above, click on the link to download "Secure iNet Factory"; 3. Enter your e-mail address and agree to the terms; 4. Download setup.exe ; 5. Launch the setup executable and choose to extract to the directory C:\CFusionMX7\Mail\secure_inet . This ensures that the key JAR file, sinetfactory.Jar will be stored as C:\CFusionMX7\Mail\secure_inet\lib\sinetfactory.Jar; 6. In the Coldfusion Administrator, add this to the JVM classpath: C:\CFusionMX7\Mail\secure_inet\lib\sinetfactory.Jar 7. Restart the Coldfusion MX server service. 8. Run the coldfusion script. It should go like an intercity train.
it would be great if you could just implement this code.
// create new instance SSL_SMTP_obj =
// address the message email_message =CreateObject("java","com.jscape.inet.email.HtmlEmailMessage");
email_message.setHtmlBody("the body of the message");
// connect, send the message, disconnect try
SSL_SMTP_obj.login("your GMAIL user account","GmailPassowrd");
You can't do anything with GMail SMTP using the <cfmail> tag since gmail is using 'https' protocol which <cfmail> tag does not support..
Meanwhile you can get rid of this by using a small GNU utility named "stunnel" which acts as a ssl wrapper.. You can obtain one from www.stunnel.org
thanks but that is over my head i was thinking there was an easy solution but it looks as if there is not.
Thanks everyone for trying
Make a try with this IMAP CFC perhaps you may get through your issue..
This thread is almost a year old, and I'm just encountering the problem now. Have there been any changes that make it easier to connect to Google Aps mail servers?