Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SendGrid SMTP API

I am using SendGrid and PHP (CakePHP). My server does not have SMTP enabled. Do I need smtp on my server to use SendGrid's SMTP API?

like image 365
cdub Avatar asked Feb 20 '23 05:02

cdub


1 Answers

Disclaimer: I work at SendGrid.

Our SMTP API example recommends using the Swift_SmtpTransport library, which makes low-level socket connections to end systems. When configured with our example, Swift connects to our systems to deliver your message, and won't require an SMTP service on your end.

Edit, Jun 20 2014 for new link: https://sendgrid.com/docs/Code_Examples/php.html

like image 199
iandouglas Avatar answered Feb 26 '23 21:02

iandouglas