ReceiptRule class

Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.

Each receipt rule defines a set of email addresses or domains that it applies to. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.

For information about setting up receipt rules, see the Amazon SES Developer Guide.

Constructors

ReceiptRule({required String name, List<ReceiptAction>? actions, bool? enabled, List<String>? recipients, bool? scanEnabled, TlsPolicy? tlsPolicy})
ReceiptRule.fromXml(XmlElement elem)
factory

Properties

actions List<ReceiptAction>?
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
final
enabled bool?
If true, the receipt rule is active. The default value is false.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the receipt rule. The name must:
final
recipients List<String>?
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanEnabled bool?
If true, then messages that this receipt rule applies to are scanned for spam and viruses. The default value is false.
final
tlsPolicy TlsPolicy?
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to Require, Amazon SES will bounce emails that are not received over TLS. The default is Optional.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited