Yii Framework Forum: How To Debug Swiftmailer - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Debug Swiftmailer

#1 User is offline   relaxpor 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 18
  • Joined: 08-February 14

Posted 22 March 2014 - 10:18 AM

My swiftmailer return true but i don't receive email,

however, the mail() function is worked fine.

I would like to know how to debug it... please advise

here is my code using swift mailer.

\Yii::$app->mail->compose('/order/view-payment', ['orderModel' => $this])
     ->setFrom('admin@himaparn.com')
     ->setTo("relaxpor@gmail.com")
     ->setSubject("มีการชำระเงินใน Order#" . $this->order_id)
     ->send();

0

#2 User is offline   Renka 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 11
  • Joined: 06-April 12

Posted 22 March 2014 - 01:16 PM

You have debugger activated? Debugger catches mails - you can see them in there.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users