DragoshDX Posted May 19, 2020 Share Posted May 19, 2020 (edited) Hello. Has anyone tried sending via Sendgrid with Prestashop? While I am able to perform sending email through Sendgrid from my local telnet client, with the very same settings and a domain authorized at Sendgrid, Prestashop still says: Expected response code 250 but got code "", with message "" When I try to send the test email from the emailing page. Has anyone managed to use sendgrid with Prestashop, and if so, how? Thank you, Dragos. Edited May 22, 2020 by DragoshDX (see edit history) Link to comment Share on other sites More sharing options...
luishuaymana Posted May 20, 2020 Share Posted May 20, 2020 You have to have the smtp configuration in SSL, the api keys with correct accesses, and some changes in the prestashop panel. It is a long configuration, I can help you and show you on video, but my language is Spanish. Excuse the translation. Link to comment Share on other sites More sharing options...
DragoshDX Posted May 20, 2020 Author Share Posted May 20, 2020 Hello. If you have a video I can look at I can understand a bit of spanish, it could help me. SSL you say? I always tried TLS... https://sendgrid.com/docs/API_Reference/SMTP_API/getting_started_smtp.html Based on this article, I converted my key to base64, and I was in fact able to send a telnet email from my local machine... ,so the service is in fact working. It's just not working from Prestashop, I will also try SSL. I have autenticated my domain in sendgrid with my hoster and it shows the domain as authenticated, yet still no luck. Sendgrid has not answered any support ticket for more than a week. I was also curious if anyone has gotten Prestashop to work with Sendgrid or if it just doesn't work. What do you mean changes in the prestashop panel? More than in the Advanced Parametesr > E-mail section? Thank you for your reply. Link to comment Share on other sites More sharing options...
luishuaymana Posted May 20, 2020 Share Posted May 20, 2020 (edited) I have more than 10 websites associated with emails with sendgrid of which I configure them all myself and I can assure you that it works perfectly with prestashop. the configuration is long but I will try to make a video in Spanish to help you with this topic. I just searched the net and there is nothing about this and I see that it is important and even on the official sengrid page it does not tell you anything for prestashop. only for other cms. if you confirm that you can understand Spanish. I will upload the video here and to my channel. PRESTADEMIAhttps://m.youtube.com/results?search_query=prestademia Edited May 20, 2020 by luishuaymana (see edit history) Link to comment Share on other sites More sharing options...
DragoshDX Posted May 22, 2020 Author Share Posted May 22, 2020 You are very correct that there is no documentation online for this... Eventually Sendgrid did answer. Turns out that first you need to authenticate the domain you're sending from. Sengdrid generates three keys that can be used to be added in the DNS record on your domain (hoster can help with that, or it can be done in cpanel). Once that is done, go to email in Prestashop and change to SMTP, in the form that appears after saving you can add the emailing subdomain that sendgrid gives you. Then smtp.sendgrid.com, then you add the username which is always apikey for these things, then you add your api key (no base64 like the telnet article says). I chose TLS and port 587. It then works. One thing to note is that the test email only works if the API key is there, because it's some highschool level JavaScript, prestashop style... grabbing all the data from that form and trying to send a test email. But it does work... If you do create a video with this info, it's probably more valuable in english, cause it took me a week to get it up and running :)). Thanks, Dragos. Link to comment Share on other sites More sharing options...
Ben Rich Posted March 16, 2021 Share Posted March 16, 2021 My working settings were slightly different. Mail domain name: example.com (not the subdomain sendgrid gave me, however that may still work) SMTP Server: smtp.sendgrid.net (not .com) SSL on port 465 Link to comment Share on other sites More sharing options...
maccio Posted November 19, 2021 Share Posted November 19, 2021 On 5/19/2020 at 2:41 PM, DragoshDX said: Hello. Has anyone tried sending via Sendgrid with Prestashop? While I am able to perform sending email through Sendgrid from my local telnet client, with the very same settings and a domain authorized at Sendgrid, Prestashop still says: Expected response code 250 but got code "", with message "" When I try to send the test email from the emailing page. Has anyone managed to use sendgrid with Prestashop, and if so, how? Thank you, Dragos. After a day of proper functioning I have the same error. Do you solved? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now