forked from extern/egroupware
fix broken disposition-notification request
This commit is contained in:
parent
3c2bbfc45d
commit
8ed0cc2314
@ -2154,7 +2154,8 @@ class mail_compose
|
|||||||
//error_log(__METHOD__.__LINE__.'$_mailObject->AddCustomHeader(List-Id: '. $_formData['list-id'].")");
|
//error_log(__METHOD__.__LINE__.'$_mailObject->AddCustomHeader(List-Id: '. $_formData['list-id'].")");
|
||||||
$_mailObject->AddCustomHeader('List-Id: '. $_formData['list-id']);
|
$_mailObject->AddCustomHeader('List-Id: '. $_formData['list-id']);
|
||||||
}
|
}
|
||||||
if($_formData['disposition']) {
|
//error_log(__METHOD__.__LINE__.' notify to:'.$_identity['ident_email'].'->'.array2string($_formData));
|
||||||
|
if($_formData['disposition']=='on') {
|
||||||
$_mailObject->AddCustomHeader('Disposition-Notification-To: '. $_identity['ident_email']);
|
$_mailObject->AddCustomHeader('Disposition-Notification-To: '. $_identity['ident_email']);
|
||||||
}
|
}
|
||||||
if(!empty($_identity->organization) && (mail_bo::$mailConfig['how2displayIdentities'] == '' || mail_bo::$mailConfig['how2displayIdentities'] == 'orgNemail')) {
|
if(!empty($_identity->organization) && (mail_bo::$mailConfig['how2displayIdentities'] == '' || mail_bo::$mailConfig['how2displayIdentities'] == 'orgNemail')) {
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
</description>
|
</description>
|
||||||
<description class="email-button-group notification">
|
<description class="email-button-group notification">
|
||||||
<description value="Recieve notification"/>
|
<description value="Recieve notification"/>
|
||||||
<checkbox statustext="check to recieve a notification when the message is read (note: not all clients support this and/or the reciever may not authorize the notification)" id="disposition" options="$cont[disposition]"/>
|
<checkbox statustext="check to recieve a notification when the message is read (note: not all clients support this and/or the reciever may not authorize the notification)" id="disposition" options="on,off"/>
|
||||||
</description>
|
</description>
|
||||||
<description class="email-button-group priority">
|
<description class="email-button-group priority">
|
||||||
<description value="Priority"/>
|
<description value="Priority"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user