Class CfnIdentity.MailFromAttributesProperty
A list of attributes that are associated with a MAIL FROM domain.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.AWS.PinpointEmail.dll
Syntax (csharp)
public class MailFromAttributesProperty : Object, CfnIdentity.IMailFromAttributesProperty
Syntax (vb)
Public Class MailFromAttributesProperty
Inherits Object
Implements CfnIdentity.IMailFromAttributesProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PinpointEmail;
var mailFromAttributesProperty = new MailFromAttributesProperty {
BehaviorOnMxFailure = "behaviorOnMxFailure",
MailFromDomain = "mailFromDomain"
};
Synopsis
Constructors
MailFromAttributesProperty() |
Properties
BehaviorOnMxFailure | The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain. |
MailFromDomain | The name of a domain that an email identity uses as a custom MAIL FROM domain. |
Constructors
MailFromAttributesProperty()
public MailFromAttributesProperty()
Properties
BehaviorOnMxFailure
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
public string BehaviorOnMxFailure { get; set; }
Property Value
System.String
Remarks
When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending
, Failed
, and TemporaryFailure
states.
MailFromDomain
The name of a domain that an email identity uses as a custom MAIL FROM domain.
public string MailFromDomain { get; set; }
Property Value
System.String