EmailController class

Implemented types

Constructors

EmailController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close(String? correlationId) Future
Closes the SmtpServer and frees used resources.
configure(ConfigParams config) → void
Configures component by passing configuration parameters.
getCommandSet() → CommandSet
Gets a command set.
getLanguageTemplate(dynamic value, [String language = 'en']) String?
isOpen() bool
Сhecks if SmtpServer is open
makeRecipientParameters(EmailRecipientV1 recipient, ConfigParams? parameters) → ConfigParams
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String? correlationId) Future
Creates the SmtpServer.
renderTemplate(dynamic value, ConfigParams parameters, [String? language]) String?
sendMessage(String? correlationId, EmailMessageV1 message, ConfigParams parameters) Future
Send the message
override
sendMessageToRecipient(String? correlationId, EmailRecipientV1? recipient, EmailMessageV1 message, ConfigParams? parameters) Future
Send the message to recipient
override
sendMessageToRecipients(String? correlationId, List<EmailRecipientV1> recipients, EmailMessageV1 message, ConfigParams parameters) Future
Send the message to recipients
override
setReferences(IReferences references) → void
Set references to component.
toString() String
A string representation of this object.
inherited

Operators

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