|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleemail.model.SendRawEmailRequest
public class SendRawEmailRequest
Container for the parameters to the SendRawEmail operation
.
Sends an email message, with header and content specified by the
client. The SendRawEmail
action is useful for sending
multipart MIME emails. The raw text of the message must comply with
Internet email standards; otherwise, the message cannot be sent.
IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide .
AmazonSimpleEmailService.sendRawEmail(SendRawEmailRequest)
,
Serialized FormConstructor Summary | |
---|---|
SendRawEmailRequest()
Default constructor for a new SendRawEmailRequest object. |
|
SendRawEmailRequest(RawMessage rawMessage)
Constructs a new SendRawEmailRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getDestinations()
A list of destinations for the message. |
RawMessage |
getRawMessage()
The raw text of the message. |
java.lang.String |
getSource()
The identity's email address. |
int |
hashCode()
|
void |
setDestinations(java.util.Collection<java.lang.String> destinations)
A list of destinations for the message. |
void |
setRawMessage(RawMessage rawMessage)
The raw text of the message. |
void |
setSource(java.lang.String source)
The identity's email address. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SendRawEmailRequest |
withDestinations(java.util.Collection<java.lang.String> destinations)
A list of destinations for the message. |
SendRawEmailRequest |
withDestinations(java.lang.String... destinations)
A list of destinations for the message. |
SendRawEmailRequest |
withRawMessage(RawMessage rawMessage)
The raw text of the message. |
SendRawEmailRequest |
withSource(java.lang.String source)
The identity's email address. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SendRawEmailRequest()
public SendRawEmailRequest(RawMessage rawMessage)
rawMessage
- The raw text of the message. The client is
responsible for ensuring the following:
Method Detail |
---|
public java.lang.String getSource()
By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
public void setSource(java.lang.String source)
By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
source
- The identity's email address. By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
public SendRawEmailRequest withSource(java.lang.String source)
By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
Returns a reference to this object so that method calls can be chained together.
source
- The identity's email address. By default, the string must be 7-bit
ASCII. If the text must contain any other characters, then you must
use MIME encoded-word syntax (RFC 2047) instead of a literal string.
MIME encoded-word syntax uses the following form:
=?charset?encoding?encoded-text?=
. For more information,
see RFC 2047.
Source
parameter, then bounce
notifications and complaints will be sent to this email address. This
takes precedence over any Return-Path header that you might
include in the raw text of the message.
public java.util.List<java.lang.String> getDestinations()
public void setDestinations(java.util.Collection<java.lang.String> destinations)
destinations
- A list of destinations for the message.public SendRawEmailRequest withDestinations(java.lang.String... destinations)
Returns a reference to this object so that method calls can be chained together.
destinations
- A list of destinations for the message.
public SendRawEmailRequest withDestinations(java.util.Collection<java.lang.String> destinations)
Returns a reference to this object so that method calls can be chained together.
destinations
- A list of destinations for the message.
public RawMessage getRawMessage()
public void setRawMessage(RawMessage rawMessage)
rawMessage
- The raw text of the message. The client is responsible for ensuring
the following:
public SendRawEmailRequest withRawMessage(RawMessage rawMessage)
Returns a reference to this object so that method calls can be chained together.
rawMessage
- The raw text of the message. The client is responsible for ensuring
the following:
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |