简体   繁体   English

PHP大量电子邮件发送问题

[英]php mass email sending issue

I want to send welcome notification or other type of daily EMAILS for my user's, those are more than 50k before i was using simple mail function. 我想向用户发送欢迎通知或其他类型的每日EMAIL,在我使用简单邮件功能之前,这些通知已超过5万。 so getting stuck after few emails then after trying to google I got to know something about pear mail then I try that too but not able to send email for all. 所以在收到几封电子邮件后卡住了,然后尝试使用Google之后,我对梨邮件有所了解,然后我也尝试了一下,但无法全部发送电子邮件。 user getting this error 用户收到此错误

 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);

ERROR: 错误:

    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 ))]

You can look for the below options: 您可以寻找以下选项:

https://mandrillapp.com/ https://mandrillapp.com/

http://mailchimp.com/ http://mailchimp.com/

https://www.klaviyo.com/ https://www.klaviyo.com/

You also get great apis to integrate inorder to send emails. 您还将获得很棒的api来集成以便发送电子邮件。

Also check NetCore in case you are looking for Indian service provider. 如果您正在寻找印度服务提供商,也请检查NetCore。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM