PHP mail() - How to set Priority?

前端 未结 6 1859
不知归路
不知归路 2020-12-13 07:05

Is there any way to set the priority of PHP mail()? I looked at the online manual but I can\'t find any reference to it.

By priority, I mean High, Normal, Low or 1,

6条回答
  •  一个人的身影
    2020-12-13 07:29

    everything didn't work except this for my problem

    $headers = "MIME-Version: 1.0" . "\r\n";
    $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
    $headers .= 'From: xyz@example.com' . "\r\n";
    $headers .= 'Cc: Admin@example.com' . "\r\n";
    

    PS: email body must before the headers.

提交回复
热议问题