I have an older version of PHP (5.2.6). SendGrid SMTP APIs require at least PHP 5.3
What other options do I have to mass sending emails (~1k) using SendGrid service?
Is the WebAPI sufficient for my case?
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The PHP 5.3 limitation doesn’t really have anything to do with SendGrid’s API, it’s just our official library only supports 5.3 and above. You could easily swap it out for any generic SMTP library.
For example, Swift Mailer supports PHP 5.2 and up.
And yes, the web API will be sufficient for your use case. It’s identical to the SMTP API, except that it’s over HTTP.