Greetings. I'm trying to send emails using SMTP using the CakePHP 1.2 EmailComponent. Basically, I can never get an actual email to send and I don't know whether the problem lies on my server setup, the SMTP mailer I'm trying to use, or with the EmailComponent itself.
Some info: (1) If I set the delivery option to 'debug', I can successfully flash my emails' body to the screen. After doing that, I can verify that the subject was encoded, and the body was successfully merged with the .ctp file in the elements directory. This tells me that I'm correctly generating the email contents. (2) I've tried using various public SMTP servers (including ones from Yahoo! and GMail) and also one made available by my ISP. I've gone into the email.php component code and added debug log messages to make sure no errors were being returned. Inside the __smtpConnect() function, I never really see any errors, although the values do look like this: 2008-03-03 10:53:16 Debug: STATUS= 2008-03-03 10:53:16 Debug: ERRNO=91616460 2008-03-03 10:53:16 Debug: ERRSTR= I have no idea what an ERRNO of 91616460 means but the code continues on and appears to successfully execute. I've seen a few other posts alluding to difficulties with this SMTP option and I've yet to see a good, clear resolution. Do I need to be on a machine that has a SMTP server available on the same subnet/ domain? Is it possible that this option flat-out doesn't work in the 1.2 beta at this point? I just don't know what to do at this point as we have several critical features to implement that require sending emails. Any help would be greatly appreciated! Thanks, Bryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
