AamAadmiParty / mass-emailer-sendy

A customized installation of http://sendy.co/ that shall be used by AAP to send out emails to a larger audience of subscribed supporters.
15 stars 7 forks source link

Campaign mail not going out even after 2 days of processing. #9

Open sumeetpareek opened 11 years ago

sumeetpareek commented 11 years ago

Here is the campaign in questions = http://messenger.aamaadmiparty.org/report?i=1&c=24

This is what the dashboard shows screenshot_2013_10_14_001

sumeetpareek commented 11 years ago

First thing I did was open the campaign and noticed that none of the mails (even the 78% sent in last two days) were opened. Which is obviously super weird. screenshot_2013_10_14_002

On the server side PHP process (the cron script sending the mails out?) was running for TOO long. screenshot_2013_10_14_003

The SENDY settings page showed only 4 mails reported as sent by AWS SES. Which I verified on AWS console too. screenshot_2013_10_14_004 screenshot_2013_10_14_005

This question on the sendy forums helped in looking at the direction of the from mail - https://sendy.co/forum/discussion/comment/1795

Basically if the from mail is a mail that that is not verified yet on the AWS SES then the below happens -

  1. sendy sends message to SES
  2. SES does not send the mail out (since from address is wrong)
  3. sendy tries to send same mail repeatedly for 1 full second.. then counts it in sent.

Which means that if we have a wrong from email address set, then for 1L mails sendy would be stuck for 1L seconds and still no mails would go out.

And this has been precisely the case with us. The from address was correct for until recently, but somebody seems to have changed it to a non-verified mail. See below. screenshot_2013_10_14_006 screenshot_2013_10_14_007

sumeetpareek commented 11 years ago

@ankurshrivastav I have shared the sendy admin account email / password with you on mail. The next steps you will need to take are -

  1. login as admin
  2. delete this campaign, details here - https://sendy.co/forum/discussion/1094/need-option-to-stop-or-pause-sending-emails/p1 I would suggest copying the content first so you can easily create it again
  3. goto the list of brand pages and press edit against AAP, which will take you here - http://messenger.aamaadmiparty.org/edit-brand?i=1
  4. change the FROM email address to one of the verified ones from the SES snapshot above
  5. recreate the campaign and use sendy as usual.
itsnav commented 8 years ago

that might not be the only reason why the emails aren't sent. cron jobs to execute the scheduled.php file in sendy installation directory is a must. or you'll have the same reaction. also double check the API access key and secret phrase from amazon aws. they keep changing the security settings. now you can setup IAM for it, but it is optional now (feb'16). Also it shows in amazon access key area if SES used it recently, so you can check it that way as well.