mail_config_templates.json 1.47 KB
[
  {
    "providerId": "SENDGRID",
    "smtpProtocol": "SMTPS",
    "smtpHost": "smtp.sendgrid.net",
    "smtpPort": 465,
    "timeout": 10000,
    "enableTls": true,
    "tlsVersion": "TLSv1.2",
    "authorizationUri": null,
    "accessTokenUri": null,
    "scope": [
      ""
    ],
    "helpLink": null,
    "name": "SendGrid"
  },
  {
    "providerId": "GOOGLE",
    "smtpProtocol": "SMTPS",
    "smtpHost": "smtp.gmail.com",
    "smtpPort": 465,
    "timeout": 10000,
    "enableTls": true,
    "tlsVersion": "TLSv1.2",
    "authorizationUri": "https://accounts.google.com/o/oauth2/v2/auth?prompt=consent&access_type=offline",
    "accessTokenUri": "https://oauth2.googleapis.com/token",
    "scope": [
      "https://mail.google.com/"
    ],
    "helpLink": "https://support.google.com/googleapi/answer/6158849",
    "name": "Google"
  },
  {
    "providerId": "OFFICE_365",
    "smtpProtocol": "SMTP",
    "smtpHost": "smtp.office365.com",
    "smtpPort": 587,
    "timeout": 10000,
    "enableTls": true,
    "tlsVersion": "TLSv1.2",
    "authorizationUri": "https://login.microsoftonline.com/%s/oauth2/v2.0/authorize",
    "accessTokenUri": "https://login.microsoftonline.com/%s/oauth2/v2.0/token",
    "scope": [
      "https://outlook.office365.com/SMTP.Send",
      "offline_access",
      "openid"
    ],
    "helpLink": "https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth",
    "name": "Office 365"
  }
]