如何为outlook设置phpmailer标志?

如何为outlook设置phpmailer标志?,php,phpmailer,Php,Phpmailer,我想为通过phpmailer库发送的outlook电子邮件设置标志 以下是我想设置的标志 1) 召唤 2) 跟进 3) 供参考 4) 阅读 5) 答复: 6) 答复所有 7审查 我正在使用此代码设置优先级 $mail->Priority = 1; $mail->AddCustomHeader("X-MSMail-Priority: ".$m.""); $mail->AddCustomHeader("Importance: High"); 那么如何使用phpmailer设置标志

我想为通过phpmailer库发送的outlook电子邮件设置标志

以下是我想设置的标志

1) 召唤 2) 跟进 3) 供参考 4) 阅读 5) 答复: 6) 答复所有 7审查

我正在使用此代码设置优先级

$mail->Priority = 1;
$mail->AddCustomHeader("X-MSMail-Priority: ".$m."");
$mail->AddCustomHeader("Importance: High");
那么如何使用phpmailer设置标志


谢谢

我通过此代码优先级和标志消息解决了此问题

$mail->addCustomHeader("X-MSMail-Priority: ".$m."");
$mail->addCustomHeader("X-Message-Flag: ".$flag.""); 

对于已读回执,您可以使用处置通知:you@yourdomain.com但MSMail Priority用于高、低、紧急状态。我指的是标志,而不是优先级。我已经设置了优先级。请查看使用这些功能的邮件标题。使用处置通知:you@yourdomain.com我会知道电子邮件是由用户阅读的。对吗?不要只是编代码并期望它能工作-。还请注意,PHPMailer内置了对其中一些功能的支持,例如,创建一个到头的
处置通知。