Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sendgrid and 2FA not working anymore #264

Open
kentmedom opened this issue Apr 24, 2019 · 3 comments
Open

Sendgrid and 2FA not working anymore #264

kentmedom opened this issue Apr 24, 2019 · 3 comments

Comments

@kentmedom
Copy link

From the 19. of April, it is no longer possible to connect to sendgrid with basic authentication, while also having 2FA at Sendgrid. SMTPpro only have basic authentication.

@calendarbudget
Copy link

I'm getting an error also:
When running self-test I get:
Exception message was: Unable to connect via TLS
If I try Custom SMTP and use the sendgrid smtp details, I keep getting:
Exception message was: Incorrect authentication data

@kentmedom
Copy link
Author

I have fixed my problem by disabling 2FA at Sendgrid, but that is not a solid solution.

@desaiuttam
Copy link

Hello @kentmedom

It's Simple to use with API key as below:
Login to sendgrid account

Go to https://app.sendgrid.com/settings/api_keys

"Generate API Key" - generate a new API key and copy paste to be used later

Code changes:
EMAIL_HOST_USER = 'apikey' (username should be this only)
EMAIL_HOST_PASSWORD = 'YOUR_API_KEY'

As in Admin You have to add the User name as 'apikey' and password as 'YOUR_API_KEYS'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants