Safe way to send mail via PHP to many users

后端 未结 7 1525
青春惊慌失措
青春惊慌失措 2021-01-30 09:41

Let me explain what I mean in my title. Let\'s say, that for example I\'m creating a small e-commerce system for one web shop/catalog. There\'s a possibility for customers to ch

7条回答
  •  走了就别回头了
    2021-01-30 10:15

    You might consider PHPMailer http://phpmailer.worxware.com/index.php?pg=exampleasendmail

    You can add multiple recipients and a special callback function for handling the returning messages for every single mail sent. (for an example visit the link)

    I Don't think that catching a "mail delivery failed" error mail is possible via php except that you are using PHPMailer via SMTP and once in a while watch for any returning message form any recipient in from your outgoing email collection.

提交回复
热议问题