AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmail.Model.IdentityMailFromDomainAttributes

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public class IdentityMailFromDomainAttributes

The IdentityMailFromDomainAttributes type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BehaviorOnMXFailure Amazon.SimpleEmail.BehaviorOnMXFailure

Gets and sets the property BehaviorOnMXFailure.

The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified error and does not send the email.

The custom MAIL FROM setup states that result in this behavior are Pending, Failed, and TemporaryFailure.

Public Property MailFromDomain System.String

Gets and sets the property MailFromDomain.

The custom MAIL FROM domain that the identity is configured to use.

Public Property MailFromDomainStatus Amazon.SimpleEmail.CustomMailFromStatus

Gets and sets the property MailFromDomainStatus.

The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone