Question about Unsuccessful delivery reports in sending bulk Emails

前端 未结 2 1590
花落未央
花落未央 2021-01-23 10:11

I have database of approximately 10k users who have subscribed for newsletters. I am changing my site from asp to php. I am sending newsletters by cron job. I want to track the

2条回答
  •  日久生厌
    2021-01-23 10:43

    In php when you sending mail with mail function you should check with condition

    if(mail($to, $subject, $message, $headers)){ // Successfull mail delivery } else { // Code for un-successfull mailing }

提交回复
热议问题