1
0
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:
Jesse Vincent 2009-12-07 04:46:36 +00:00
parent 244bad1115
commit 08588779f7

View File

@ -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);