phpmailer: Reply using only “Reply To” address

前端 未结 2 1089
北海茫月
北海茫月 2020-11-29 23:30

I\'m using phpmailer on my website and to help with spam issues I have created a mailbox to send these emails from (using SMTP).

I have set the emails to come

2条回答
  •  囚心锁ツ
    2020-11-30 00:28

    At least in the current versions of PHPMailers, there's a function clearReplyTos() to empty the reply-to array.

        $mail->ClearReplyTos();
        $mail->addReplyTo(example@example.com, 'EXAMPLE');
    

提交回复
热议问题