SmtpConfig class

Constructors

SmtpConfig({required String server, required int port, required String username, required String password, required String fromEmail, bool secure = false, List<RecipientConfig> defaultRecipients = const []})
const

Properties

defaultRecipients → List<RecipientConfig>
A list of default recipients to display as chips in the UI.
final
fromEmail → String
The email address that will appear in the "From" field.
final
hashCode → int
The hash code for this object.
no setterinherited
password → String
The password for SMTP authentication.
final
port → int
The SMTP server port (e.g., 587 or 465).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secure → bool
Whether to use a secure connection (SSL/TLS).
final
server → String
The SMTP server host address (e.g., 'smtp.gmail.com').
final
username → String
The username for SMTP authentication.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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