Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTunde Adegoroye
20,597 PointsPHPMailer not working with SendGrid
I am using phpmailer's SMTP seems to not be working with SendGrid and wanted to know if anyone could tell me how they got theirs working if they used send grid thanks :)
2 Answers
Jeff Busch
19,287 PointsHi Tunde,
You should be able to enter ping sendgrid.com at the command prompt and get the IP address. I got 198.37.144.73. There are also add-ons for most browsers that will give you that information plus more that I wouldn't know what to do with.
Jeff
Chris Shaw
26,676 PointsHi Tunde,
SendGrid have some information about which ports on their website, see the following link. https://sendgrid.com/docs/User_Guide/smtp_ports.html
Tunde Adegoroye
20,597 PointsI've read this before and the info is alright the issue is that i think my isp which is hosting my site has blocked the ports that i need to use
Chris Shaw
26,676 PointsIf you're unsure about this you can use a tool like the Open Port Check Tool which automatically fills your IP address but you can replace it with any IP, simply enter the port and it will tell you.
Tunde Adegoroye
20,597 PointsMy theory was right these ports are closed by my isp thanks for your help
Tunde Adegoroye
20,597 PointsTunde Adegoroye
20,597 PointsIts not the ip address i think the site hosting my website has blocked a port that i need to use