Interface CfnIdentity.IMailFromAttributesProperty
A list of attributes that are associated with a MAIL FROM domain.
Namespace: Amazon.CDK.AWS.PinpointEmail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IMailFromAttributesProperty
Syntax (vb)
Public Interface 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
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. |
Properties
BehaviorOnMxFailure
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
virtual string BehaviorOnMxFailure { get; }
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.
virtual string MailFromDomain { get; }
Property Value
System.String