public interface MailEnvelope
Modifier and Type | Method and Description |
---|---|
InputStream |
getMessageInputStream()
Return the InputStream of the message
|
OutputStream |
getMessageOutputStream()
Return the OutputStream of the message
TODO: Think about how to remove this!
|
List<MailAddress> |
getRecipients()
Return the recipients which where supplied in the RCPT TO: command
|
MailAddress |
getSender()
Return the sender of the mail which was supplied int the MAIL FROM:
command.
|
long |
getSize()
Return the size of the message.
|
long getSize()
List<MailAddress> getRecipients()
MailAddress getSender()
OutputStream getMessageOutputStream() throws IOException
IOException
InputStream getMessageInputStream() throws IOException
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.