我嘗試使用下面的方法來發送電子郵件在我的動作類: public function executeTestnewmail()
{
// send an email to the affiliate
$message = $this->getMailer()->compose(
array('my_email_address_here' => 'Jobeet B
我使用SwiftMailer發送郵件,如果我嘗試使用虛擬電子郵件地址,例如,如果我在電子郵件地址中輸入「asdf」,則會得到此未捕獲的異常。 Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message
'Address in mailbox given [asdf] does not comply wit