MarketingMailable class abstract

Base class for marketing emails

Inheritance

Constructors

MarketingMailable({required List<String> recipients})

Properties

attachments List<MailAttachment>
List of attachments (optional)
no setterinherited
bcc List<String>
List of BCC recipients
no setterinherited
cc List<String>
List of CC recipients
no setterinherited
from String?
Sender email address (optional - uses default if null)
no setteroverride
fromName String?
Sender name (optional)
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
priority MailPriority
Email priority (optional)
no setteroverride
recipients List<String>
final
replyTo String?
Reply-to address (optional)
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String
The email subject line
no setterinherited
to List<String>
List of primary recipients
no setteroverride

Methods

build() FlintWidget
Build the email content using Flint UI widgets
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preview() Future<void>
Preview the email in browser
inherited
queue() Future<void>
Queue the email for background sending
inherited
send() Future<void>
Send the email immediately
inherited
toHtml() String
Get HTML content for testing or other purposes
inherited
toJson() Map<String, dynamic>
Get JSON representation
inherited
toString() String
A string representation of this object.
inherited
toText() String
Get plain text content
inherited
validate() → void
Validate that required fields are present
inherited

Operators

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