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