AWS SDK for .NET Documentation
SendEmailRequest Class
AmazonAmazon.SimpleEmail.ModelSendEmailRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the SendEmail operation. Composes an email message based on input data, and then immediately queues the message for sending. 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.

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.

Declaration Syntax
C#
public class SendEmailRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SendEmailRequest()()()()
Initializes a new instance of the SendEmailRequest class

Destination
Gets and sets the property Destination.

The destination for this email, composed of To:, CC:, and BCC: fields.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Message
Gets and sets the property Message.

The message to be sent.


ReplyToAddresses
Gets and sets the property ReplyToAddresses.

The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.


ReturnPath
Gets and sets the property ReturnPath.

The email address to which bounce notifications are to be forwarded. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient's ISP; this message will then be forwarded to the email address specified by the

CopyC#
ReturnPath
parameter.


Source
Gets and sets the property 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:

CopyC#
=?charset?encoding?encoded-text?=
. For more information, see RFC 2047.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithDestination(Destination) Obsolete.
Sets the Destination property

WithMessage(Message) Obsolete.
Sets the Message property

WithReplyToAddresses(array<String>[]()[][]) Obsolete.
Sets the ReplyToAddresses property

WithReplyToAddresses(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the ReplyToAddresses property

WithReturnPath(String) Obsolete.
Sets the ReturnPath property

WithSource(String) Obsolete.
Sets the Source property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)