[−][src]Struct rusoto_sesv2::SendEmailRequest
Represents a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide.
Fields
configuration_set_name: Option<String>
The name of the configuration set that you want to use when sending the email.
content: EmailContent
An object that contains the body of the message. You can send either a Simple message Raw message or a template Message.
destination: Option<Destination>
An object that contains the recipients of the email message.
A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmail
operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
feedback_forwarding_email_address: Option<String>
The address that you want bounce and complaint notifications to be sent to.
feedback_forwarding_email_address_identity_arn: Option<String>
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 FeedbackForwardingEmailAddress
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 feedback@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to be feedback@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
from_email_address: Option<String>
The email address that you want to use as the "From" address for the email. The address that you specify has to be verified.
from_email_address_identity_arn: Option<String>
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 FromEmailAddress
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 sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be sender@example.com.
For more information about sending authorization, see the Amazon SES Developer Guide.
For Raw emails, the FromEmailAddressIdentityArn
value overrides the X-SES-SOURCE-ARN and X-SES-FROM-ARN headers specified in raw email message content.
list_management_options: Option<ListManagementOptions>
An object used to specify a list or topic to which an email belongs, which will be used when a contact chooses to unsubscribe.
reply_to_addresses: Option<Vec<String>>
The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
Trait Implementations
impl Clone for SendEmailRequest
[src]
pub fn clone(&self) -> SendEmailRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SendEmailRequest
[src]
impl Default for SendEmailRequest
[src]
pub fn default() -> SendEmailRequest
[src]
impl PartialEq<SendEmailRequest> for SendEmailRequest
[src]
pub fn eq(&self, other: &SendEmailRequest) -> bool
[src]
pub fn ne(&self, other: &SendEmailRequest) -> bool
[src]
impl Serialize for SendEmailRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SendEmailRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SendEmailRequest
[src]
impl Send for SendEmailRequest
[src]
impl Sync for SendEmailRequest
[src]
impl Unpin for SendEmailRequest
[src]
impl UnwindSafe for SendEmailRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,