--- sendmail.orig.inc	2006-04-30 09:27:08.187500000 -0300
+++ sendmail.inc	2006-04-30 09:28:55.625000000 -0300
@@ -131,10 +131,16 @@
 if (!empty($_POST['_priority']))
   {
   $priority = (int)$_POST['_priority'];
-  $a_priorities = array(1=>'lowest', 2=>'low', 4=>'high', 5=>'highest');
+  // Fix on priority order (It is from 5(lower) to 1(highest) and no from 1 to 5
+  $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));
-}
+    // Priority Test with Receipt
+    if ($a_priorities[$priority] > 3) {
+      $headers['Return-Receipt-To'] = $identity_arr['string'];
+      $headers['Disposition-Notification-To'] = $identity_arr['string'];
+    }
+  }
 
 
 // additional headers
