0

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 although 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

Quinton Pike
  • 3,823
  • 8
  • 31
  • 37

1 Answers1

3

"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.

Community
  • 1
  • 1
Charles
  • 50,943
  • 13
  • 104
  • 142
  • 1
    Charles, You have been very helpful today! I have downloaded swiftmailer via pear, and also downloaded the transport addon. I finally got a response!! It said I need to verify that email before I can send mail, I looked through the addon for a function to do so and I cannot find one. Any thoughts? – Quinton Pike Mar 14 '11 at 05:34
  • Check out the very last link in my post above -- it's a link to the documentation about verifying/authorizing/authenticating the sending address. – Charles Mar 14 '11 at 05:53