【发布时间】:2017-07-05 03:12:59
【问题描述】:
我正在使用 PHP-Mailer。 它工作正常,但发送电子邮件非常慢。 就像一些时间它需要一秒钟来发送电子邮件。但大多数情况下需要超过 2 分钟或更长时间需要 30 分钟。 是否有任何替代的电子邮件发送方法。 或任何在 3 秒或 10 秒内发送邮件的方式。
$mail->Timeout = 36000;
$mail->Subject = "Registration";
$mail->From = "info@educatorguru.com";
$mail->FromName = "Educatorguru.com";
$mail->AddReplyTo( "info@educatorguru.com" );
$mail->AddAddress( $email );
$mail->Body =$message2;
$mail->IsHTML(true);
$mail->Send();
【问题讨论】:
-
看起来是服务器问题,代码太简单,无法解决这个问题
标签: php email phpmailer swiftmailer