How to remove “via” and server name when sending mails with PHP?

前端 未结 5 1984
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 03:54

When I send a mail with PHP the destinatary gets a header like this one:

   noreply@justwalk.it **via** de p3nlhg147.shr.prod.phx3.secureserver.net
         


        
5条回答
  •  -上瘾入骨i
    2020-11-29 04:54

    @Mujibur is also right, But I used. But Didn't missed Headers too.

    mail($to, $subject, $message, $headers, '-f'.$from_email_address);
    

    And its successful to me, Let's check it from your side.

提交回复
热议问题