EmailProviderSMTP constructor
EmailProviderSMTP({
- String? senderAddress,
- String? senderName,
- bool? tls,
- String? host,
- String? user,
- String? replyToAddress,
- SMTPNoAuth? none,
- SMTPPlainAuth? plain,
- SMTPXOAuth2Auth? xoauth2,
Implementation
factory EmailProviderSMTP({
$core.String? senderAddress,
$core.String? senderName,
$core.bool? tls,
$core.String? host,
$core.String? user,
$core.String? replyToAddress,
SMTPNoAuth? none,
SMTPPlainAuth? plain,
SMTPXOAuth2Auth? xoauth2,
}) {
final result = create();
if (senderAddress != null) result.senderAddress = senderAddress;
if (senderName != null) result.senderName = senderName;
if (tls != null) result.tls = tls;
if (host != null) result.host = host;
if (user != null) result.user = user;
if (replyToAddress != null) result.replyToAddress = replyToAddress;
if (none != null) result.none = none;
if (plain != null) result.plain = plain;
if (xoauth2 != null) result.xoauth2 = xoauth2;
return result;
}