Most of the time when I've used CFMail and Gmail I've had to use TLS and
SSL.
Try adding this: port="465" useSSL="true" useTLS="true"

On Wed, Oct 5, 2011 at 6:29 PM, Jude Blacklaw <[email protected]>wrote:

>
> I am having an issue with cfmail.
>
> I sent regular emails like this
>
> <cfmail from="[email protected]" to="[email protected]" server="
> smtp.gmail.com" username="[email protected]" password="password"
> subject="whatever">
>
> And most of the time they work fine.
> But when legitimate emails end up in the undelivered folder, I have to move
> it back into the spool, but they will then fail every time with a useless
> error.
> I have googled this and discovered that this is because CF doesn't have the
> username/password any more so the authentication against the SMTP server
> thus fails. I have checked this and it is true, CF is not sending the
> username/password when emails are respooled.
> So how on earth how you meant to respool failed emails ?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to