Hi Dean,
Thanks! This looks like just what I need. I'm not that concerned with Quota (Queue size) now as mine is set really high on Amazon, but others will need that in place, so - some type of throttling to slow down sending, or leave it wide-open and somehow cut the user off after they hit their Amazon SES Quota for the day?
This is just great, I will play around with that code, and turn on the logfile to see what I get out of it. It shouldn't be too hard to get this going, and that would really change my use of LMP making it
much more usable for sending via SES. I still might like some type of integration step-by-step guide, as to what else I change, is it just the SMTP information pointing to Amazon SES, and then read below
about turning off, or changing how bounce processing is currently setup...
A few questions about the code.
1.) At the top it says:
$allowedTopic = "arn:aws:sns:us-west-2:100885381234:SES_Complaints_and_Bounces";
//For security you can (should) validate the certificate, this does add an additional time demand on the system.
//NOTE: This also checks the origin of the certificate to ensure messages are signed by the AWS SNS SERVICE.
//Since the allowed topicArn is part of the validation data, this ensures that your request originated from
//the service, not somewhere else, and is from the topic you think it is, not something spoofed.
$verifyCertificate = true;
$sourceDomain = "sns.us-west-2.amazonaws.com";
I think something has to change here, as the $allowedTopic includes a sourceDomain in it? In other words, my source domain is really USA East, not West, so I either have to change this in both places above, or maybe you move sourceDomain up top and the allowedTopic variable is setup to include the proper sourceDomain in it? Also, I can look it up, but maybe you have the string for USA East handy?
2.) I'm not sure how this fits in with current/standard bounce processing? What would I do with LMP's current bounce processing if I setup to send via Amazon SES, just turn it off, and what is the best way to turn off the other Bounce Processing that I currently have setup?
Other then those two things, this is perfect and should allow me to send via SES - using LMP, something I've been wanting to do for some time now. I'll probably setup an alternate LMP installation to test this on.
Could you please provide us with an ETA on the next version of LMP? If you're able to crank out code like this in a few minutes, I suspect you must be ready with a new version of LMP???