2012-09-18 04:22 阅读 41

Sendgrid和PHP 5.2.6

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.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    douge7771 douge7771 2012-09-18 15:34

    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.

    点赞 评论 复制链接分享