MailException.fromSmtp constructor
MailException.fromSmtp(
- MailClient mailClient,
- SmtpException e, [
- StackTrace? s
Creates a new exception from the low level one
Implementation
MailException.fromSmtp(
MailClient mailClient,
SmtpException e, [
StackTrace? s,
]) : this(
mailClient,
'${e.smtpClient.logName}: ${e.message}',
stackTrace: s ?? e.stackTrace,
details: e.response,
);