EmailController class

Implemented types

Constructors

EmailController()

Properties

config ↔ ConfigParams
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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
open(String correlationId) → Future
Creates the SmtpServer. [...]
renderTemplate(dynamic value, ConfigParams parameters, [String language = 'en']) → String
sendMessage(String correlationId, EmailMessageV1 message, ConfigParams parameters) → Future<void>
Send the message [...]
override
sendMessageToRecipient(String correlationId, EmailRecipientV1 recipient, EmailMessageV1 message, ConfigParams parameters) → Future<void>
Send the message to recipient [...]
override
sendMessageToRecipients(String correlationId, List<EmailRecipientV1> recipients, EmailMessageV1 message, ConfigParams parameters) → Future<void>
Send the message to recipients [...]
override
setReferences(IReferences references) → void
Set references to component. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited