mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* Mail: Respect References AND In-Reply-To Headers, and set them on reply if available
This commit is contained in:
parent
819edf5dec
commit
f1894d64fb
@ -2169,9 +2169,12 @@ class mail_compose
|
|||||||
$_mailObject->Priority = $_formData['priority'];
|
$_mailObject->Priority = $_formData['priority'];
|
||||||
$_mailObject->Encoding = 'quoted-printable';
|
$_mailObject->Encoding = 'quoted-printable';
|
||||||
$_mailObject->AddCustomHeader('X-Mailer: EGroupware-Mail');
|
$_mailObject->AddCustomHeader('X-Mailer: EGroupware-Mail');
|
||||||
if(isset($_formData['in-reply-to'])) {
|
if(isset($_formData['in-reply-to']) && !empty($_formData['in-reply-to'])) {
|
||||||
$_mailObject->AddCustomHeader('In-Reply-To: '. $_formData['in-reply-to']);
|
$_mailObject->AddCustomHeader('In-Reply-To: '. $_formData['in-reply-to']);
|
||||||
}
|
}
|
||||||
|
if(isset($_formData['references']) && !empty($_formData['references'])) {
|
||||||
|
$_mailObject->AddCustomHeader('References: '. $_formData['references']);
|
||||||
|
}
|
||||||
if($_formData['disposition']) {
|
if($_formData['disposition']) {
|
||||||
$_mailObject->AddCustomHeader('Disposition-Notification-To: '. $_identity['ident_email']);
|
$_mailObject->AddCustomHeader('Disposition-Notification-To: '. $_identity['ident_email']);
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,8 @@
|
|||||||
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="processedmail_id"/>
|
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="processedmail_id"/>
|
||||||
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="mode"/>
|
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="mode"/>
|
||||||
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="lastdrafted"/>
|
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="lastdrafted"/>
|
||||||
|
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="references"/>
|
||||||
|
<textbox class="mail-index_quotaDisplayNone" readonly="true" id="in-reply-to"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<taglist-email id="replyto" empty_label="Reply to" width="100%" maxSelection="1" onclick="app.mail.address_click"/>
|
<taglist-email id="replyto" empty_label="Reply to" width="100%" maxSelection="1" onclick="app.mail.address_click"/>
|
||||||
<hbox>
|
<hbox>
|
||||||
|
Loading…
Reference in New Issue
Block a user