Class CfnIdentity.MailFromAttributesProperty
A list of attributes that are associated with a MAIL FROM domain.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIdentity.MailFromAttributesProperty : CfnIdentity.IMailFromAttributesProperty
Syntax (vb)
Public Class CfnIdentity.MailFromAttributesProperty 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() | A list of attributes that are associated with a MAIL FROM domain. |
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()
A list of attributes that are associated with a MAIL FROM domain.
public MailFromAttributesProperty()
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"
};
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
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; }