Configure Phplist for amazon ses and fix issue with Email address is not verified

Email

Configure Phplist for amazon ses and fix issue with Email address is not verified

I have been trying to configure phplist with amazon ses as it sounds like a perfect solution and the lists that i am sending to are growing. I installed the development version of phplist 2.11.6 and added the config.php settings for amazon ses. But no joy, it did not work. So i had quite a bit of fiddling around until i found a solution.

I searced all over phplist forums and on different blogs. Also had to do quite a bit of fiddling with config settings. Thanks to Tutul at vimmaniac.com who provide self-hosted smtp solution for his tip in the email which helped solve the problem.

Here are the config settings that ended up working

$message_envelope = ‘must be amazon verified address here’;

# AWS SES Settings

define(‘PHPMAILER’,0);

define(‘AWS_ACCESSKEYID’,’sampleSNWGY202′);

define(‘AWS_SECRETKEY’,’sample83HqKNCaWQo0VUTt8Ly6h’);

define(‘AWS_POSTURL’,’https://email.us-east-1.amazonaws.com/’);;

 

# To use a SMTP please give your server hostname here, leave it blank to use the standard

define(“PHPMAILERHOST”,”);

# if you want to use smtp authentication when sending the email uncomment the following

$phpmailer_smtpuser = ‘sampleBTI473ANA’; #will look like this

$phpmailer_smtppassword = ‘sampler1ufwX1V6BYobknK3TnyjP+8W’; #will look like this

 

There should be no other config required.

This is the explanation of what my issue was.
I am running PHPList development version 2.11.6 on localhost, i have configured amazon SES in config file and connect via SMTP.  I get an error after sending – failed.  the sender is verified and i have production account also. 

My log file is below.

Events    del    page    date    campaign

144    del

processqueue    2011-12-23 12:46:19    Waiting for 3600 seconds before reloading

143    del

processqueue    2011-12-23 12:46:19    Finished this run

142    del

processqueue    2011-12-23 12:46:19    1 emails failed (will retry later)

141    del

processqueue    2011-12-23 12:46:19    Processed 1 out of 1 subscribers

140    del

processqueue    2011-12-23 12:46:19    Error sending message 4 to [email protected] ([email protected])

139    del

processqueue    2011-12-23 12:46:19    Error sending message 4 to [email protected] ([email protected])

138    del

processqueue    2011-12-23 12:46:19    Error sending email to [email protected] ([email protected])

137    del

processqueue    2011-12-23 12:46:19    Amazon SES status 400 HTTP/1.1 400 Bad Request x-amzn-RequestId: f5efcd1c-2d07-11e1-9d18-f3f4a2e7a3d4 Content-Type: text/xml Content-Length: 276 Date: Fri, 23 Dec 2011 01:46:42 GMT Sender MessageRejected Email address is not verified. f5efcd1c-2d07-11e1-9d18-f3f4a2e7a3d4

136    del

processqueue    2011-12-23 12:46:16    Processing batch of : 1

135    del

processqueue    2011-12-23 12:46:16    Found them: 1 to process

134    del

processqueue    2011-12-23 12:46:16    Looking for users

133    del

processqueue    2011-12-23 12:46:16    Processing message 4

132    del

processqueue    2011-12-23 12:46:16    It is safe to click your “stop” button now, report will be sent by email to [email protected]

131    del

processqueue    2011-12-23 12:46:16    Processing has started, 1 message(s) to process.

 

Related Posts

Landing Page Design

10 Easy Ways to Improve Your Landing Page

Improving your landing page design is the easiest way to boost the conversion rate of your online marketing campaigns and...
lines of codes

#1 in Sydney: Creativ Digital Becomes Clutch 2021 Leader in Magento Design and Development

In Australia, the web design services market size amounts to $1.1 billion in 2021. Out of all the web developers...

Get me More Sales and Profits

Categories