Sendgrid API Key SMTP Authentication

I use sendgrid for SMTP and now they are mandating use of API Key instead of username & password. they plan on rejecting all auth with username/password on Jan 13,2021.

Any of you know how to use API Key instead of username/password in nextcloud?

Here is the note from Sendgrid

On January 13th, 2021 we will no longer accept basic authentication with username and password, and we will be requiring 2FA to login to your account. If you attempt to authenticate your API requests or SMTP configuration with username and password for any of your users after that date, your requests will be rejected.

Nextcloud version : 20.0.3
Operating system and version : Ubuntu 20.04 (snap)

1 Like


Nextcloud can send with API Keys. You should create a new API Keys in Sendgrid, and then add the user “apikey” as account name and your api key in the password field.

Kind regards