Developer forum

Forum » CMS - Standard features » SendGrid API for SMTP

SendGrid API for SMTP

Andrejs Zavorotnijs
Reply

Hello,
We are using SendGrid API-key as connection-login in E-Mail Marketing,

The question is, if You have a plans to do same for SMTP, so forms and orders can be send thrue SendGrid via same API-key login?


Replies

 
Nicolai Pedersen
Reply

Hi Andrejs

Just change the SMTP settings under web & http to use the credentials from Sendgrid and their SMTP host.

The main difference is that web & http/mails is sending one mail at a time using SMTP protocol, whereas the email marketing is using the Sendgrid API to mass mail. But the service can be used in both ways.

BR Nicolai

 
Andrejs Zavorotnijs
Reply

Hello Nicolai, Thx for fast reply,

If we activate 2FA on SendGrid (witch they are pushing) then Username and Password in SMTP will not work, so we need to use API-key only, just like in email marketing, but in SMTP settings there is no API-key field, and adding the API-key in Username and/or Password field do not work.
 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply
This post has been marked as an answer

Hi Andrejs,

Did you try with "apikey" as username and the actual key as password?

https://sendgrid.com/docs/for-developers/sending-email/upgrade-your-authentication-method-to-api-keys/#upgrade-to-api-keys-for-your-smtp-integration

/Morten

Votes for this answer: 1
 
Andrejs Zavorotnijs
Reply

Hello Morten, thx for reply

And thank you for fast solution. 

It is works.

 

You must be logged in to post in the forum