MailServerSettings constructor

MailServerSettings({
  1. String mailFrom = 'ThingsBoard <sysadmin@localhost.localdomain>',
  2. SmtpProtocol smtpProtocol = SmtpProtocol.SMTP,
  3. String smtpHost = 'localhost',
  4. String smtpPort = '25',
  5. String timeout = '10000',
  6. bool? enableTls,
  7. String? tlsVersion,
  8. String? username,
  9. String? password,
  10. bool? enableProxy,
  11. String? proxyHost,
  12. String? proxyPort,
  13. String? proxyUser,
  14. String? proxyPassword,
  15. bool? enableOauth2,
  16. String? providerId,
  17. String? clientId,
  18. String? clientSecret,
  19. String? providerTenantId,
  20. String? authUri,
  21. String? tokenUri,
  22. List<String>? scope,
  23. String? redirectUri,
  24. 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,
});