SMTP Error: data not accepted. Using Amazon SES

Once you've installed phpList... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

SMTP Error: data not accepted. Using Amazon SES

Postby bankcircle » 11:01am, Tue 31 Mar, 2015

Hi,

I get the following error

Error sending email to ***@***.com SMTP Error: data not accepted.

Although the test mail are being sent OK but via cron this error is shown.

I've integerated Amazon SES which resulted in this error. I've production access with bounce processing mail being the verified email.

Code: Select all
# if you want to use amazon SES
define("PHPMAILER",0);
define("PHPMAILERHOST",'email-smtp.us-west-2.amazonaws.com');
define('USE_AMAZONSES',1);
define('AWS_ACCESSKEYID','*********');
define('AWS_SECRETKEY','***************');
define('AWS_POSTURL','https://email.us-west-2.amazonaws.com/');

## you can set this to send out via a different SMTP port
define('PHPMAILERPORT',587);

# to use SSL/TLS when sending set this value
# it can either be "ssl" or "tls", nothing else
define("PHPMAILER_SECURE",'tls');


I've different instance running the phplist using same credentials but having lesser number of subscribers, is running absolutely fine with same settings.
bankcircle
phpList newbie
 
Posts: 4
Joined: 7:29am, Tue 31 Mar, 2015
Location: India

Re: SMTP Error: data not accepted. Using Amazon SES

Postby danwaterloo » 12:20pm, Tue 31 Mar, 2015

Hello!
I'm assuming that you have the lastest version of phpList (3.0.12)?

I'd look for the differences between the two installs...
are they both on the same ip address?

There are two ways to send through Amazon, an api (the 'post url'), and via smtp (the phpmailerhost).

Amazon also throttles your sending, you might want to look into your batch sizes and periods.

Dan
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: SMTP Error: data not accepted. Using Amazon SES

Postby bankcircle » 12:57pm, Tue 31 Mar, 2015

Hi,

Yes I'm using the same config for both the installs running on same IP on the phplist version 3.0.12 .

X-Priority: 3
X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/)
X-phpList-version: 3.0.12


My sending limits are 14/ sec. I have used a throttle in phplist of 2 sec just to check.

I'm sending using the smtp services of amazon. The mails are rejected from the very 1st outgoing email.

For test purpose, i changed the database name with the one working perfect & the mailers strted to flow.

Pls suggest.
bankcircle
phpList newbie
 
Posts: 4
Joined: 7:29am, Tue 31 Mar, 2015
Location: India

Re: SMTP Error: data not accepted. Using Amazon SES

Postby danwaterloo » 1:47pm, Tue 31 Mar, 2015

i don't think you need all those settings

Code: Select all
 # if you want to use amazon SES
    define("PHPMAILER",0);
    define("PHPMAILERHOST",'email-smtp.us-west-2.amazonaws.com');
    define('USE_AMAZONSES',1);
    define('AWS_ACCESSKEYID','*********');
    define('AWS_SECRETKEY','***************');
    define('AWS_POSTURL','https://email.us-west-2.amazonaws.com/');

    ## you can set this to send out via a different SMTP port
    define('PHPMAILERPORT',587);

    # to use SSL/TLS when sending set this value
    # it can either be "ssl" or "tls", nothing else
    define("PHPMAILER_SECURE",'tls');


this is most likely the subset:

Code: Select all
    # if you want to use amazon SES
    define("PHPMAILERHOST",'email-smtp.us-west-2.amazonaws.com');
    define('USE_AMAZONSES',1);
   $phpmailer_smtpuser = 'youramazonusername';
   $phpmailer_smtppassword = 'youramazonpassword';
    ## you can set this to send out via a different SMTP port
    define('PHPMAILERPORT',587);
    # to use SSL/TLS when sending set this value
    # it can either be "ssl" or "tls", nothing else
    define("PHPMAILER_SECURE",'tls');
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

Re: SMTP Error: data not accepted. Using Amazon SES

Postby bankcircle » 2:02pm, Tue 31 Mar, 2015

Hi,

The error remains the same either ways SMTP or API.
bankcircle
phpList newbie
 
Posts: 4
Joined: 7:29am, Tue 31 Mar, 2015
Location: India

Re: SMTP Error: data not accepted. Using Amazon SES

Postby bankcircle » 2:25pm, Tue 31 Mar, 2015

Hi,

Still getting the processing info through AmazonSES

Subject: Maillist Processing info
Message-ID: <******@us-west-2.amazonses.com>
X-Priority: 3
X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/)
X-phpList-version: 3.0.12
X-MessageID: systemmessage
bankcircle
phpList newbie
 
Posts: 4
Joined: 7:29am, Tue 31 Mar, 2015
Location: India


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 1 guest