I am using the Email component with varying levels of success. A single function that can send a number of emails sometimes works, sometimes fails. And yes, I am using $this->Email->reset();
In one case I have two very similar emails that are set up the same: $this->Email->reset(); $this->Email->from = 'an-email-address'; $this->Email->to = 'another-email-address'; $this->Email->sendAs = 'html'; $this->Email->template = 'template_name'; $this->Email->subject = 'A subject'; /* $this->Email->delivery = 'debug'; - this outputs a reasonable looking email text */ $this->Email->send(); I can't see any material difference between the two; the templates contain plain old html, the email addresses are valid (and sometimes exactly the same on both emails) and nothing else looks odd. Looping through the code I can see that Cake thinks all emails have been sent. One of the emails always arrives, the other does not. How do I go about debugging this and finding out why some emails work, and others don't? 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