草庐IT

php - swiftmailer 对于 smtp 完全损坏?

刚刚将我的swiftmailercheckout更新到最新版本4.3.0。以下非常简单的代码不再有效,连接超时:setUsername('USERNAME')->setPassword('PASSWORD');$mailer=Swift_Mailer::newInstance($transport);//Createamessage$message=Swift_Message::newInstance('Yo')->setFrom(array('jnankin@gmail.com'=>'Josh'))->setTo(array('jnankin@gmail.com'))->setBod