Are you developing your app on a windows localhost? Johnathan Iannotti | Director of Technology | Blue Clover : On & Off-line Branding(tm) 210 223.5409 P | 860 877.6676 M | 210 223.2581 F | blueclover.com 425 Soledad Ste. 500 | San Antonio, TX 78205
-----Original Message----- From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf Of genellern Sent: Friday, February 19, 2010 1:03 PM To: CakePHP Subject: problem with email component Hi. i got a unknown trouble with my app. im trying to set a mail sender but i dont know why it does not send any email, if somebody could help me i'ld really be thankful i put my code below function sendEmail(){ $this->Email->reset(); $this->log(__CLASS__.':'.__FUNCTION__.':'.__LINE__." email",LOG_DEBUG); $this->Email->smtpOptions = array( 'port'=>'465', 'timeout'=>'30', 'host' =>'smtp.gmail.com', 'username'=>'gmail co...@gmail.com', 'password'=>'my password'); $this->Email->sendAs = 'html'; $this->Email->delivery = 'smtp'; $this->Email->to = "gmail co...@gmail.com"; $this->Email->subject = 'Welcome to our CakePHP'; $this->Email->from = 'geneller naranjo <gmail co...@gmail.com>'; $this->Email->sendAs = 'html'; if($this->Email->send()){ $this->log(__CLASS__.':'.__FUNCTION__.':'.__LINE__." NOerrores",LOG_DEBUG); } $this->log(__CLASS__.':'.__FUNCTION__.':'.__LINE__." errores",LOG_DEBUG); $this->log($this->Email->smtpError,LOG_DEBUG); } when i look the log, i see this: 2010-02-19 13:55:55 Debug: RegistersController:sendEmail:68 errores that's why i confirm that its not sendind and discard the gmail smtp Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Homepage: http://www.blueclover.com | Blog: http://www.blue-ings.com | Twitter: http://twitter.com/bluecloverusa | Facebook: http://www.facebook.com/blueclover | YouTube: http://www.youtube.com/user/bluecloverstudios | Join Our Mailing List: http://visitor.constantcontact.com/manage/optin?v=001ti8yLLtrqgo7unTQ7RVsh7BIcda1iEtM --------------------------------------------------------------------------------------------------------------------- This email transmission, including any attachments thereto, may contain information that is proprietary and confidential. The information is intended only for the use of the individual(s) or entity to whom this email has been addressed. If you are not the intended recipient, or the person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information is strictly prohibited. If you have received this transmission in error, please let us know immediately and delete the email, including any attachments thereto, from your computer. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en