EmailMessage class

Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.

Constructors

EmailMessage({String? body, String? feedbackForwardingAddress, String? fromAddress, RawEmail? rawEmail, List<String>? replyToAddresses, SimpleEmail? simpleEmail, Map<String, List<String>>? substitutions})

Properties

body String?
The body of the email message.
final
feedbackForwardingAddress String?
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
final
fromAddress String?
The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
final
hashCode int
The hash code for this object.
no setterinherited
rawEmail RawEmail?
The email message, represented as a raw MIME message.
final
replyToAddresses List<String>?
The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
simpleEmail SimpleEmail?
The email message, composed of a subject, a text part, and an HTML part.
final
substitutions Map<String, List<String>>?
The default message variables to use in the email message. You can override the default variables with individual address variables.
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