我想为我的用户发送欢迎通知或其他类型的每日电子邮件,在我使用简单的邮件功能之前,这些电子邮件超过 50k。 所以在几封电子邮件后卡住了,然后在尝试谷歌之后,我对梨邮件有所了解,然后我也尝试了一下,但无法为所有人发送电子邮件。 用户收到此错误
require_once "Mail.php";
require_once "Mail/mime.php";
$from = "Justprobe <justprobe@justprobe.com>";
$to = "Pratya <pratyatech@gmail.com>";
$subject = "xxxxxxxx";
$body = "xxxxxxx";
$host = "mail.justprobe.com";
$username = "xxxxxx";
$password = "xxxxx";
$headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));
$mime = new Mail_mime();
$mime->setHTMLBody($body);
$body = $mime->get();
$headers = $mime->headers($headers);
$mail = $smtp->send($email_id, $headers, $body);
错误:
Failed to send data [SMTP: Invalid response code received from server (code: 550, response: justprobe@justprobe.com exceeded rate limit ( 100.1 / 1h ))]
Failed to send data [SMTP: Invalid response code received from server (code: 550, response: justprobe@justprobe.com exceeded rate limit ( 100.1 / 1h ))]
Failed to send data [SMTP: Invalid response code received from server (code: 550, response: justprobe@justprobe.com exceeded rate limit ( 100.1 / 1h ))]
Failed to send data [SMTP: Invalid response code received from server (code: 550, response: justprobe@justprobe.com exceeded rate limit ( 100.1 / 1h ))]
Failed to send data [SMTP: Invalid response code received from server (code: 550, response: justprobe@justprobe.com exceeded rate limit ( 100.1 / 1h ))]
您可以查找以下选项:
https://mandrillapp.com/
http://mailchimp.com/
https://www.klaviyo.com/
您还可以获得出色的 API 进行集成,以便发送电子邮件。
如果您正在寻找印度服务提供商,请检查NetCore。