mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 16:48:50 -05:00
Added a setMessageId method to MimeMessage rather than just explicitly setting a header
This commit is contained in:
parent
244bad1115
commit
08588779f7
@ -352,6 +352,12 @@ public class MimeMessage extends Message
|
||||
return mMessageId;
|
||||
}
|
||||
|
||||
public void setMessageId(String messageId) throws MessagingException
|
||||
{
|
||||
setHeader("Message-ID", messageId);
|
||||
mMessageId = messageId;
|
||||
}
|
||||
|
||||
public void setInReplyTo(String inReplyTo) throws MessagingException
|
||||
{
|
||||
setHeader("In-Reply-To", inReplyTo);
|
||||
|
Loading…
Reference in New Issue
Block a user