diff options
author | thomascube <thomas@roundcube.net> | 2006-05-01 14:47:27 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-05-01 14:47:27 +0000 |
commit | 6204390af16bcf50f82da61a1aefc2ad0c0adf94 (patch) | |
tree | 21db0bbe17472e7517233fbcc92f1f5ad21e455a /program/steps/mail/sendmail.inc | |
parent | a4bafb40979b578951863cb1ae49c95d4a02cb9b (diff) |
Applied patch for requesting receipts by Salvatore Ansani
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 33f023de1..f8d3ada4f 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -136,6 +136,11 @@ if (!empty($_POST['_priority'])) $headers['X-Priority'] = sprintf("%d (%s)", $priority, ucfirst($str_priority)); } +if (!empty($_POST['_receipt'])) + { + $headers['Return-Receipt-To'] = $identity_arr['string']; + $headers['Disposition-Notification-To'] = $identity_arr['string']; + } // additional headers $headers['Message-ID'] = $message_id; |