开发者

PHP - EC2 Implementing SES - Help

开发者 https://www.devze.com 2023-02-17 02:31 出处:网络
Hey Guys. I have my servers setup via EC2. I had postfix setup but as usual the emails were going into the spam box. I signed up for Amazons SES, i see everyone saying its easy to implement althou开发

Hey Guys. I have my servers setup via EC2. I had postfix setup but as usual the emails were going into the spam box. I signed up for Amazons SES, i see everyone saying its easy to implement althou开发者_StackOverflow中文版gh I cannot seem to figure it out.

I downloaded the PHP SDK and put it in a inc folder. refrenced it in my script. and I cannot get any response what-so-ever from the script. Is there any demo scrips I can use?

Thanks


"Wow," I thought to myself. "This is just the night for questions for which SwiftMailer is a great answer! Why, I was just recommending it for someone on EC2 that may have needed SES earlier today! What luck, I can jus-- WAIT A MINUTE, this is the same guy!"

In all seriousness, though, I can't really recommend Amazon's SDK. It's not bad code, mind you, but the documentation for it is spread out all over the place.

This third-party Transport addon for SwiftMailer uses it's own implementation of the API calls, and just needs your AWS key and secret. Here's a blog post by the author showing how to use it to send mail out. This needs to happen after you authenticate the to/from email addresses for your testing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号