mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -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;
|
return mMessageId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setMessageId(String messageId) throws MessagingException
|
||||||
|
{
|
||||||
|
setHeader("Message-ID", messageId);
|
||||||
|
mMessageId = messageId;
|
||||||
|
}
|
||||||
|
|
||||||
public void setInReplyTo(String inReplyTo) throws MessagingException
|
public void setInReplyTo(String inReplyTo) throws MessagingException
|
||||||
{
|
{
|
||||||
setHeader("In-Reply-To", inReplyTo);
|
setHeader("In-Reply-To", inReplyTo);
|
||||||
|
Loading…
Reference in New Issue
Block a user