Friday, October 26, 2012

Re: Sending mail through Gmail with CakeEmail (again)?

I just found out that my timeout settings were the culprit for this error.

I upped my timeout property from 3000 to 30.000 and my test passes (the email has been sent). The "only" drawback is that the mail takes ages to go through (about 2 minutes on average.. :D). This makes this solution useless, unless I make my own queue of emails and run a cronjob on it...

So, I guess I should use my own server's smtp for sending notifications. Which is a question for another forum....

Thanks guys, your answers are much appreciated.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: