ViewMailable class abstract
Represents an email built from an HTML view template (.flint.html)
Constructors
Properties
-
attachments
→ List<
MailAttachment> -
Optional attachments
no setter
-
bcc
→ List<
String> -
Optional BCC recipients
no setter
-
cc
→ List<
String> -
Optional CC recipients
no setter
-
data
→ Map<
String, dynamic> -
Data for interpolation inside the template
no setter
- from → String?
-
Optional sender email and name
no setter
- fromName → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority → MailPriority
-
Priority (default: normal)
no setter
- replyTo → String?
-
Optional reply-to email
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String
-
The email subject line
no setter
-
to
→ List<
String> -
The recipients
no setter
- view → String
-
Path to the view file, e.g.
mail/views/welcome.flint.htmlno setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queue(
) → Future< void> - Queue the mail for later
-
send(
) → Future< void> - Send immediately
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Validate required data
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited