Mail class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
bcc (String email )
→ Mail
bccMany (List <String > emails )
→ Mail
cc (String email )
→ Mail
ccMany (List <String > emails )
→ Mail
connect ({required MailProvider provider , required String host , required int port , required String username , required String password , required String fromAddress , String ? fromName , String ? replyTo , bool useSSL = false , bool useTLS = true , bool allowInsecure = true , bool ignoreBadCertificate = true })
→ Mail
Connects this Mail instance directly to a specific SMTP server before sending.
Bypasses global static configuration and strictly disables silent fallback to .env.
html (String html )
→ Mail
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queue ()
→ Future <void >
replyTo (String email )
→ Mail
sendMail ()
→ Future <void >
subject (String subject )
→ Mail
text (String text )
→ Mail
to (String email )
→ Mail
toMany (List <String > emails )
→ Mail
toString ()
→ String
A string representation of this object.
inherited
Static Methods
setup ({required MailProvider provider , required String host , required int port , required String username , required String password , required String fromAddress , String fromName = 'Flint Dart' , String ? replyTo , bool useSSL = false , bool useTLS = true })
→ void