Adrian:

Direct from Google's config instructions:

17. Enter smtp.gmail.com as the Server Name and set the Port to 587.
18. Select User name and password and enter your full email address (including 
@gmail.com or @your_domain.com) in the User Name field.
19. Select TLS from the Use secure connection radio buttons and click OK.

You need to use TLS - only CF8 or above I think.  Can authenticate to 
smtp.gmail.com without it?  I don't think you need SSL, as that is only if you 
are connecting to imap.gmail.com (again, according to config instructions).

We use cfmail with Google Apps, works great except sometimes we get connection 
issues.


>Can anyone say whether useTLS="true" and/or useSSL="true" are needed in
>cfmail to send via a Google hosted email account?
>
>The following works for me:
>
><cfmail
>       server="smtp.gmail.com"
>       port="465"
>       username="#VARIABLES.username#"
>       password="#VARIABLES.password#"
>       useSSL="true"
>>Message</cfmail>
>
>But blog posts I've read say useTLS is needed.
>
>Does specifying the port change anything?
>
>Adrian Lynch
>http://www.halestorm.co.uk/
>http://www.adrianlynch.co.uk/ 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313280
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to