AcyMailing
Latest version
Search…
⌃K
Links

Set up Oauth 2.0

Recently Google and Microsoft changed their authentication method to send e-mails

Gmail

Create authorization credentials

  • Select the Web application application type.
  • Fill name field
  • Fill your redirect Url (Your redirect url is in your AcyMailing configuration)
  • Click on "create" button
  • Copy your Client id and your Client secret
  • Paste your Client id and your Client secret in your AcyMailing configuration
  • And then click on "please log in" button
When you click on "log in" button, you will be redirected :
  • Connect your Gmail account and authorize access to your mailbox
  • Authorize AcyMailing to use your Gmail account to send your emails

Outlook

Create authorization credentials

  • Sign in to the Azure portal
  • Go to App registration
  • Click on "Registration an application" button
  • Fill name field
  • Choose the account you want to permit (more details here)
  • Fill your redirect url (Your redirect url is in your AcyMailing configuration)
  • Click on "create" button
  • Click on "Certificates & secrets" button
  • Click on "New client secret" button
  • Add a description (it's optional)
  • And click on "add" button
  • Now, copy your secret id (it will not be visible afterwards)
  • Then, copy your client id
If you use Microsoft 365 account, please follow these steps to enable Oauth 2.0 :
  • go to Settings > Org Settings > Modern Authentication
  • in the Modern authentication flyout that appears, click to enable or disable Turn on modern authentication for Outlook 2013 for Windows and later (recommended)
  • In your AcyMailing configuration, fill client id and client secret
  • Moreover please choose a tenant :
    • Microsoft accounts : select this tenant, if your application accept only personal accounts
    • Any account type : select this tenant, if your application accept both accounts (personal and organisations accounts)
    • Organisation : select this tenant, if your application accept only organisations accounts
  • And then click on "please log in" button
When you click on "log in" button, you will be redirected :
  • Connect your Outlook account and authorize access to your mailbox
  • Authorize AcyMailing to use your Outlook account to send your emails