1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Add the remaining two return receipt headers upon request.

This commit is contained in:
Andrew Chen 2011-08-28 16:08:41 -07:00
parent 1ac652dc5f
commit 16c1f9c35b

View File

@ -1026,8 +1026,10 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
message.setRecipients(RecipientType.CC, getAddresses(mCcView)); message.setRecipients(RecipientType.CC, getAddresses(mCcView));
message.setRecipients(RecipientType.BCC, getAddresses(mBccView)); message.setRecipients(RecipientType.BCC, getAddresses(mBccView));
message.setSubject(mSubjectView.getText().toString()); message.setSubject(mSubjectView.getText().toString());
if (mReadReceipt == true) { if (mReadReceipt) {
message.setHeader("Disposition-Notification-To", from.toEncodedString()); message.setHeader("Disposition-Notification-To", from.toEncodedString());
message.setHeader("X-Confirm-Reading-To", from.toEncodedString());
message.setHeader("Return-Receipt-To", from.toEncodedString());
} }
message.setHeader("User-Agent", getString(R.string.message_header_mua)); message.setHeader("User-Agent", getString(R.string.message_header_mua));