开发者

Cakephp email component stopped working

开发者 https://www.devze.com 2023-03-12 16:15 出处:网络
Yesterday I wrote code to automatically开发者_如何学Python send emails upon receiving an IPN notification from paypal.Everything worked great, and I spent the afternoon testing.Today, everything still

Yesterday I wrote code to automatically开发者_如何学Python send emails upon receiving an IPN notification from paypal. Everything worked great, and I spent the afternoon testing. Today, everything still works except that no emails are being sent. I recreated problem using the most basic code possible:

$this->Email->from    = 'Jiminy <Biminy@gmail.com>'; //fake email
$this->Email->to      = 'todd@xxxxxx.com'; //my email
$this->Email->subject = 'broken';
$this->Email->send('Test Send');

Using $this->Email->delivery = 'debug'; shows no problems, and I also attempted to use the native php mail() function to send a test email. Did not work.

I am hosted on Dreamhost, and am working live through a sandbox subdomain created in the past week. What could be going wrong in this case? Should I be looking into it from a hosting side? Any ideas?

thanks! Todd


Problem is solved. All emails came pouring in about 2 hours late. Seems there was a problem on the delivery side, so no change in code was needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消