DVNotificationMail class

Available extensions

Constructors

DVNotificationMail()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isConfigured → bool
Whether a message sent now has somewhere to go: a registered provider, or a preview capturing mail. Something that would otherwise report sending a message asks this first, rather than learning from a throw after it already promised the person a mail.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(DVMailMessage message) → Future<void>
sendTemplate(DVMailTemplate template, {required DVMailAddress from, required List<DVMailAddress> to, LocaleTag? locale, Map<String, String> args = const <String, String>{}, DVMailPriority priority = DVMailPriority.normal, Map<String, String> headers = const <String, String>{}}) → Future<void>

Available on DVNotificationMail, provided by the DVMailTemplating extension

Sends template to to, rendered in locale (the current locale when null) with args interpolated the way a page's strings are.
sendTemplateTo(DVMailTemplate template, {required DVMailAddress from, required Map<DVMailAddress, LocaleTag> recipients, Map<String, String> args = const <String, String>{}, DVMailPriority priority = DVMailPriority.normal, Map<String, String> headers = const <String, String>{}}) → Future<void>

Available on DVNotificationMail, provided by the DVMailTemplating extension

Sends template to recipients who read different languages: one message per locale, addressed to everyone in it, rather than one per recipient or one for everyone.
toString() → String
A string representation of this object.
inherited
useProvider(DVMailProvider provider) → void

Operators

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