Hi All,
I've made some changes on the way that priority emails are treated, if the chosen priority is High or Highest
I've managed to add Disposition-Notification and Return-Recept to message.
The code snippet is (it must be changed on
sendmail.inc on lines 131-141):
if (!empty($_POST['_priority']))
{
$priority = (int)$_POST['_priority'];
$a_priorities = array(5=>'lowest', 4=>'low', 2=>'high', 1=>'highest');
if ($str_priority = $a_priorities[$priority])
$headers['X-Priority'] = sprintf("%d (%s)", $priority, ucfirst($str_priority));
if ($a_priorities[$priority] < 3) {
$headers['Return-Receipt-To'] = $identity_arr['string'];
$headers['Disposition-Notification-To'] = $identity_arr['string'];
}
}
Regards,
Krishna Padilha