Interface CfnMailManagerRuleSet.IRelayActionProperty
The action relays the email via SMTP to another specific SMTP server.
Namespace: Amazon.CDK.AWS.SES
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRelayActionProperty
Syntax (vb)
Public Interface IRelayActionProperty
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.SES;
var relayActionProperty = new RelayActionProperty {
Relay = "relay",
// the properties below are optional
ActionFailurePolicy = "actionFailurePolicy",
MailFrom = "mailFrom"
};
Synopsis
Properties
ActionFailurePolicy | A policy that states what to do in the case of failure. |
MailFrom | This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server. |
Relay | The identifier of the relay resource to be used when relaying an email. |
Properties
ActionFailurePolicy
A policy that states what to do in the case of failure.
virtual string ActionFailurePolicy { get; }
Property Value
System.String
Remarks
The action will fail if there are configuration errors. For example, the specified relay has been deleted.
MailFrom
This action specifies whether to preserve or replace original mail from address while relaying received emails to a destination server.
virtual string MailFrom { get; }
Property Value
System.String
Remarks
Relay
The identifier of the relay resource to be used when relaying an email.
string Relay { get; }
Property Value
System.String