See: Description
| Class | Description |
|---|---|
| ByteBufMessageContent |
A
MessageContent implementation backed by a Netty ByteBuf. |
| InputStreamMessageContent |
A
MessageContent implementation backed by an InputStream. |
| MessageContent |
The contents of a message, including its headers.
|
| Enum | Description |
|---|---|
| MessageContentEncoding |
Used to specify whether an instance of
MessageContent contains
eight-bit characters. |
| MessageTermination |
Specifies whether message content should be terminated with CRLF.
|
You can create MessageContent instances by calling
MessageContent.of(com.google.common.io.ByteSource) or one of its
overloads. MessageContent instances can be passed to SmtpSession.send(java.lang.String, java.lang.String, com.hubspot.smtp.messages.MessageContent)
to send an email.
Copyright © 2018. All rights reserved.