EmailAutoHandler constructor
EmailAutoHandler(
- String smtpHost,
- int smtpPort,
- String senderEmail,
- String senderName,
- String senderPassword,
- List<
String> recipients, { - String? senderUsername,
- bool enableSsl = false,
- bool sendHtml = true,
- bool printLogs = false,
- String? emailTitle,
- String? emailHeader,
- bool enableDeviceParameters = true,
- bool enableApplicationParameters = true,
- bool enableStackTrace = true,
- bool enableCustomParameters = true,
Implementation
EmailAutoHandler(
this.smtpHost,
this.smtpPort,
this.senderEmail,
this.senderName,
this.senderPassword,
this.recipients, {
this.senderUsername,
this.enableSsl = false,
this.sendHtml = true,
this.printLogs = false,
super.emailTitle,
super.emailHeader,
super.enableDeviceParameters = true,
super.enableApplicationParameters = true,
super.enableStackTrace = true,
super.enableCustomParameters = true,
}) : assert(recipients.isNotEmpty, "Recipients can't be null or empty");