MailServerSettings constructor
MailServerSettings({
- String mailFrom = 'ThingsBoard <sysadmin@localhost.localdomain>',
- SmtpProtocol smtpProtocol = SmtpProtocol.SMTP,
- String smtpHost = 'localhost',
- String smtpPort = '25',
- String timeout = '10000',
- bool? enableTls,
- String? tlsVersion,
- String? username,
- String? password,
- bool? enableProxy,
- String? proxyHost,
- String? proxyPort,
- String? proxyUser,
- String? proxyPassword,
- bool? enableOauth2,
- String? providerId,
- String? clientId,
- String? clientSecret,
- String? providerTenantId,
- String? authUri,
- String? tokenUri,
- List<
String> ? scope, - String? redirectUri,
- bool? tokenGenerated,
Implementation
MailServerSettings({
this.mailFrom = 'ThingsBoard <sysadmin@localhost.localdomain>',
this.smtpProtocol = SmtpProtocol.SMTP,
this.smtpHost = 'localhost',
this.smtpPort = '25',
this.timeout = '10000',
this.enableTls,
this.tlsVersion,
this.username,
this.password,
this.enableProxy,
this.proxyHost,
this.proxyPort,
this.proxyUser,
this.proxyPassword,
this.enableOauth2,
this.providerId,
this.clientId,
this.clientSecret,
this.providerTenantId,
this.authUri,
this.tokenUri,
this.scope,
this.redirectUri,
this.tokenGenerated,
});