If you have installed postfix in your Ubuntu server from digital ocean and trying to configure Sendgrid SMTP then here are the instructions – Sendgrip SMTP with postfix
Looks like ports 25, 587 and 465 are blocked by Digital ocean. So make sure to use port 2525. I wasted a whole day trying to figure out what’s wrong. But turns out that 2525 is the only port supported by Sendgrid and allowed by Digital Ocean.
I was actually using PhpMailer and trying to configure SMTP with that but It did not work So I installed postfix to investigate the issue from scratch and found that all I had to do was change the port to 2525.
So If you had an issue configuring Sendgrid SMTP with a Digital Ocean server then use port 2525 and It should work!
Latest posts by Ranjith kumar (see all)
- Curved button using Flutter | Can it be done with Flutter? | Custom shapes Flutter | Custom painter - September 21, 2022
- Dynamic Island using Flutter | iPhone 14 Pro | Can it be done with Flutter? - September 14, 2022
- Best practices of scraping website data for beginners (Updated 2022) - September 12, 2022