AWS SDK for C++  1.8.153
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::SES::Model::SendRawEmailRequest Class Reference

#include <SendRawEmailRequest.h>

+ Inheritance diagram for Aws::SES::Model::SendRawEmailRequest:

Public Member Functions

 SendRawEmailRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetSource () const
 
bool SourceHasBeenSet () const
 
void SetSource (const Aws::String &value)
 
void SetSource (Aws::String &&value)
 
void SetSource (const char *value)
 
SendRawEmailRequestWithSource (const Aws::String &value)
 
SendRawEmailRequestWithSource (Aws::String &&value)
 
SendRawEmailRequestWithSource (const char *value)
 
const Aws::Vector< Aws::String > & GetDestinations () const
 
bool DestinationsHasBeenSet () const
 
void SetDestinations (const Aws::Vector< Aws::String > &value)
 
void SetDestinations (Aws::Vector< Aws::String > &&value)
 
SendRawEmailRequestWithDestinations (const Aws::Vector< Aws::String > &value)
 
SendRawEmailRequestWithDestinations (Aws::Vector< Aws::String > &&value)
 
SendRawEmailRequestAddDestinations (const Aws::String &value)
 
SendRawEmailRequestAddDestinations (Aws::String &&value)
 
SendRawEmailRequestAddDestinations (const char *value)
 
const RawMessageGetRawMessage () const
 
bool RawMessageHasBeenSet () const
 
void SetRawMessage (const RawMessage &value)
 
void SetRawMessage (RawMessage &&value)
 
SendRawEmailRequestWithRawMessage (const RawMessage &value)
 
SendRawEmailRequestWithRawMessage (RawMessage &&value)
 
const Aws::StringGetFromArn () const
 
bool FromArnHasBeenSet () const
 
void SetFromArn (const Aws::String &value)
 
void SetFromArn (Aws::String &&value)
 
void SetFromArn (const char *value)
 
SendRawEmailRequestWithFromArn (const Aws::String &value)
 
SendRawEmailRequestWithFromArn (Aws::String &&value)
 
SendRawEmailRequestWithFromArn (const char *value)
 
const Aws::StringGetSourceArn () const
 
bool SourceArnHasBeenSet () const
 
void SetSourceArn (const Aws::String &value)
 
void SetSourceArn (Aws::String &&value)
 
void SetSourceArn (const char *value)
 
SendRawEmailRequestWithSourceArn (const Aws::String &value)
 
SendRawEmailRequestWithSourceArn (Aws::String &&value)
 
SendRawEmailRequestWithSourceArn (const char *value)
 
const Aws::StringGetReturnPathArn () const
 
bool ReturnPathArnHasBeenSet () const
 
void SetReturnPathArn (const Aws::String &value)
 
void SetReturnPathArn (Aws::String &&value)
 
void SetReturnPathArn (const char *value)
 
SendRawEmailRequestWithReturnPathArn (const Aws::String &value)
 
SendRawEmailRequestWithReturnPathArn (Aws::String &&value)
 
SendRawEmailRequestWithReturnPathArn (const char *value)
 
const Aws::Vector< MessageTag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< MessageTag > &value)
 
void SetTags (Aws::Vector< MessageTag > &&value)
 
SendRawEmailRequestWithTags (const Aws::Vector< MessageTag > &value)
 
SendRawEmailRequestWithTags (Aws::Vector< MessageTag > &&value)
 
SendRawEmailRequestAddTags (const MessageTag &value)
 
SendRawEmailRequestAddTags (MessageTag &&value)
 
const Aws::StringGetConfigurationSetName () const
 
bool ConfigurationSetNameHasBeenSet () const
 
void SetConfigurationSetName (const Aws::String &value)
 
void SetConfigurationSetName (Aws::String &&value)
 
void SetConfigurationSetName (const char *value)
 
SendRawEmailRequestWithConfigurationSetName (const Aws::String &value)
 
SendRawEmailRequestWithConfigurationSetName (Aws::String &&value)
 
SendRawEmailRequestWithConfigurationSetName (const char *value)
 
- Public Member Functions inherited from Aws::SES::SESRequest
virtual ~SESRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::SES::SESRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Represents a request to send a single raw email using Amazon SES. For more information, see the Amazon SES Developer Guide.

See Also:

AWS API Reference

Definition at line 30 of file SendRawEmailRequest.h.

Constructor & Destructor Documentation

◆ SendRawEmailRequest()

Aws::SES::Model::SendRawEmailRequest::SendRawEmailRequest ( )

Member Function Documentation

◆ AddDestinations() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::AddDestinations ( Aws::String &&  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 287 of file SendRawEmailRequest.h.

◆ AddDestinations() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::AddDestinations ( const Aws::String value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 281 of file SendRawEmailRequest.h.

◆ AddDestinations() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::AddDestinations ( const char *  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 293 of file SendRawEmailRequest.h.

◆ AddTags() [1/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::AddTags ( const MessageTag value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 943 of file SendRawEmailRequest.h.

◆ AddTags() [2/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::AddTags ( MessageTag &&  value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 950 of file SendRawEmailRequest.h.

◆ ConfigurationSetNameHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::ConfigurationSetNameHasBeenSet ( ) const
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 963 of file SendRawEmailRequest.h.

◆ DestinationsHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::DestinationsHasBeenSet ( ) const
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 251 of file SendRawEmailRequest.h.

◆ DumpBodyToUrl()

void Aws::SES::Model::SendRawEmailRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ FromArnHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::FromArnHasBeenSet ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 457 of file SendRawEmailRequest.h.

◆ GetConfigurationSetName()

const Aws::String& Aws::SES::Model::SendRawEmailRequest::GetConfigurationSetName ( ) const
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 957 of file SendRawEmailRequest.h.

◆ GetDestinations()

const Aws::Vector<Aws::String>& Aws::SES::Model::SendRawEmailRequest::GetDestinations ( ) const
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 245 of file SendRawEmailRequest.h.

◆ GetFromArn()

const Aws::String& Aws::SES::Model::SendRawEmailRequest::GetFromArn ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 442 of file SendRawEmailRequest.h.

◆ GetRawMessage()

const RawMessage& Aws::SES::Model::SendRawEmailRequest::GetRawMessage ( ) const
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 316 of file SendRawEmailRequest.h.

◆ GetReturnPathArn()

const Aws::String& Aws::SES::Model::SendRawEmailRequest::GetReturnPathArn ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 739 of file SendRawEmailRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::SES::Model::SendRawEmailRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 39 of file SendRawEmailRequest.h.

◆ GetSource()

const Aws::String& Aws::SES::Model::SendRawEmailRequest::GetSource ( ) const
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 70 of file SendRawEmailRequest.h.

◆ GetSourceArn()

const Aws::String& Aws::SES::Model::SendRawEmailRequest::GetSourceArn ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 569 of file SendRawEmailRequest.h.

◆ GetTags()

const Aws::Vector<MessageTag>& Aws::SES::Model::SendRawEmailRequest::GetTags ( ) const
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 901 of file SendRawEmailRequest.h.

◆ RawMessageHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::RawMessageHasBeenSet ( ) const
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 338 of file SendRawEmailRequest.h.

◆ ReturnPathArnHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::ReturnPathArnHasBeenSet ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 761 of file SendRawEmailRequest.h.

◆ SerializePayload()

Aws::String Aws::SES::Model::SendRawEmailRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetConfigurationSetName() [1/3]

void Aws::SES::Model::SendRawEmailRequest::SetConfigurationSetName ( Aws::String &&  value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 975 of file SendRawEmailRequest.h.

◆ SetConfigurationSetName() [2/3]

void Aws::SES::Model::SendRawEmailRequest::SetConfigurationSetName ( const Aws::String value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 969 of file SendRawEmailRequest.h.

◆ SetConfigurationSetName() [3/3]

void Aws::SES::Model::SendRawEmailRequest::SetConfigurationSetName ( const char *  value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 981 of file SendRawEmailRequest.h.

◆ SetDestinations() [1/2]

void Aws::SES::Model::SendRawEmailRequest::SetDestinations ( Aws::Vector< Aws::String > &&  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 263 of file SendRawEmailRequest.h.

◆ SetDestinations() [2/2]

void Aws::SES::Model::SendRawEmailRequest::SetDestinations ( const Aws::Vector< Aws::String > &  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 257 of file SendRawEmailRequest.h.

◆ SetFromArn() [1/3]

void Aws::SES::Model::SendRawEmailRequest::SetFromArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 487 of file SendRawEmailRequest.h.

◆ SetFromArn() [2/3]

void Aws::SES::Model::SendRawEmailRequest::SetFromArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 472 of file SendRawEmailRequest.h.

◆ SetFromArn() [3/3]

void Aws::SES::Model::SendRawEmailRequest::SetFromArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 502 of file SendRawEmailRequest.h.

◆ SetRawMessage() [1/2]

void Aws::SES::Model::SendRawEmailRequest::SetRawMessage ( const RawMessage value)
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 360 of file SendRawEmailRequest.h.

◆ SetRawMessage() [2/2]

void Aws::SES::Model::SendRawEmailRequest::SetRawMessage ( RawMessage &&  value)
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 382 of file SendRawEmailRequest.h.

◆ SetReturnPathArn() [1/3]

void Aws::SES::Model::SendRawEmailRequest::SetReturnPathArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 805 of file SendRawEmailRequest.h.

◆ SetReturnPathArn() [2/3]

void Aws::SES::Model::SendRawEmailRequest::SetReturnPathArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 783 of file SendRawEmailRequest.h.

◆ SetReturnPathArn() [3/3]

void Aws::SES::Model::SendRawEmailRequest::SetReturnPathArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 827 of file SendRawEmailRequest.h.

◆ SetSource() [1/3]

void Aws::SES::Model::SendRawEmailRequest::SetSource ( Aws::String &&  value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 142 of file SendRawEmailRequest.h.

◆ SetSource() [2/3]

void Aws::SES::Model::SendRawEmailRequest::SetSource ( const Aws::String value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 118 of file SendRawEmailRequest.h.

◆ SetSource() [3/3]

void Aws::SES::Model::SendRawEmailRequest::SetSource ( const char *  value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 166 of file SendRawEmailRequest.h.

◆ SetSourceArn() [1/3]

void Aws::SES::Model::SendRawEmailRequest::SetSourceArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 632 of file SendRawEmailRequest.h.

◆ SetSourceArn() [2/3]

void Aws::SES::Model::SendRawEmailRequest::SetSourceArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 611 of file SendRawEmailRequest.h.

◆ SetSourceArn() [3/3]

void Aws::SES::Model::SendRawEmailRequest::SetSourceArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 653 of file SendRawEmailRequest.h.

◆ SetTags() [1/2]

void Aws::SES::Model::SendRawEmailRequest::SetTags ( Aws::Vector< MessageTag > &&  value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 922 of file SendRawEmailRequest.h.

◆ SetTags() [2/2]

void Aws::SES::Model::SendRawEmailRequest::SetTags ( const Aws::Vector< MessageTag > &  value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 915 of file SendRawEmailRequest.h.

◆ SourceArnHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::SourceArnHasBeenSet ( ) const
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 590 of file SendRawEmailRequest.h.

◆ SourceHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::SourceHasBeenSet ( ) const
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 94 of file SendRawEmailRequest.h.

◆ TagsHasBeenSet()

bool Aws::SES::Model::SendRawEmailRequest::TagsHasBeenSet ( ) const
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 908 of file SendRawEmailRequest.h.

◆ WithConfigurationSetName() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithConfigurationSetName ( Aws::String &&  value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 993 of file SendRawEmailRequest.h.

◆ WithConfigurationSetName() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithConfigurationSetName ( const Aws::String value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 987 of file SendRawEmailRequest.h.

◆ WithConfigurationSetName() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithConfigurationSetName ( const char *  value)
inline

The name of the configuration set to use when you send an email using SendRawEmail.

Definition at line 999 of file SendRawEmailRequest.h.

◆ WithDestinations() [1/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithDestinations ( Aws::Vector< Aws::String > &&  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 275 of file SendRawEmailRequest.h.

◆ WithDestinations() [2/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithDestinations ( const Aws::Vector< Aws::String > &  value)
inline

A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.

Definition at line 269 of file SendRawEmailRequest.h.

◆ WithFromArn() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithFromArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 532 of file SendRawEmailRequest.h.

◆ WithFromArn() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithFromArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 517 of file SendRawEmailRequest.h.

◆ WithFromArn() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithFromArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular "From" address in the header of the raw email.

Instead of using this parameter, you can use the X-header X-SES-FROM-ARN in the raw message of the email. If you use both the FromArn parameter and the corresponding X-header, Amazon SES uses the value of the FromArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 547 of file SendRawEmailRequest.h.

◆ WithRawMessage() [1/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithRawMessage ( const RawMessage value)
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 404 of file SendRawEmailRequest.h.

◆ WithRawMessage() [2/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithRawMessage ( RawMessage &&  value)
inline

The raw email message itself. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by a blank line.

  • All of the required header fields must be present in the message.

  • Each part of a multipart MIME message must be formatted properly.

  • Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see Unsupported Attachment Types in the Amazon SES Developer Guide.

  • The entire message must be base64-encoded.

  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see Sending Raw Email in the Amazon SES Developer Guide.

  • Per RFC 5321, the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.

Definition at line 426 of file SendRawEmailRequest.h.

◆ WithReturnPathArn() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithReturnPathArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 871 of file SendRawEmailRequest.h.

◆ WithReturnPathArn() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithReturnPathArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 849 of file SendRawEmailRequest.h.

◆ WithReturnPathArn() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithReturnPathArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ReturnPath parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om, then you would specify the ReturnPathArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the ReturnPath to be feedb.nosp@m.ack@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-RETURN-PATH-ARN in the raw message of the email. If you use both the ReturnPathArn parameter and the corresponding X-header, Amazon SES uses the value of the ReturnPathArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 893 of file SendRawEmailRequest.h.

◆ WithSource() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSource ( Aws::String &&  value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 214 of file SendRawEmailRequest.h.

◆ WithSource() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSource ( const Aws::String value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 190 of file SendRawEmailRequest.h.

◆ WithSource() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSource ( const char *  value)
inline

The identity's email address. If you do not provide a value for this parameter, you must specify a "From" address in the raw text of the message. (You can also specify both.)

Amazon SES does not support the SMTPUTF8 extension, as described inRFC6531. For this reason, the local part of a source email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492. The sender name (also known as the friendly name) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in RFC 2047. MIME encoded-word syntax uses the following form: =?charset?encoding?encoded-text?=.

If you specify the Source parameter and have feedback forwarding enabled, then bounces 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.

Definition at line 238 of file SendRawEmailRequest.h.

◆ WithSourceArn() [1/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSourceArn ( Aws::String &&  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 695 of file SendRawEmailRequest.h.

◆ WithSourceArn() [2/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSourceArn ( const Aws::String value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 674 of file SendRawEmailRequest.h.

◆ WithSourceArn() [3/3]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithSourceArn ( const char *  value)
inline

This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the Source parameter.

For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to send from user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om, then you would specify the SourceArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the Source to be user@.nosp@m.exam.nosp@m.ple.c.nosp@m.om.

Instead of using this parameter, you can use the X-header X-SES-SOURCE-ARN in the raw message of the email. If you use both the SourceArn parameter and the corresponding X-header, Amazon SES uses the value of the SourceArn parameter.

For information about when to use this parameter, see the description of SendRawEmail in this guide, or see the Amazon SES Developer Guide.

Definition at line 716 of file SendRawEmailRequest.h.

◆ WithTags() [1/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithTags ( Aws::Vector< MessageTag > &&  value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 936 of file SendRawEmailRequest.h.

◆ WithTags() [2/2]

SendRawEmailRequest& Aws::SES::Model::SendRawEmailRequest::WithTags ( const Aws::Vector< MessageTag > &  value)
inline

A list of tags, in the form of name/value pairs, to apply to an email that you send using SendRawEmail. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

Definition at line 929 of file SendRawEmailRequest.h.


The documentation for this class was generated from the following file: