public interface MailData
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases resources, like temporary files.
|
java.io.InputStream |
getInputStream()
Returns the data stream positioned to the first byte of the mail data.
|
void |
writeTo(java.io.OutputStream out)
Copies the message content into the supplied stream.
|
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
void writeTo(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
void dispose()