innoraft / kabootr

An email marketking and newsletters solution by Innoraft.
0 stars 0 forks source link

Quick research to check if deeper itegration is requried with Amazon SES for mailing statistics. #11

Open sumeetpareek opened 10 years ago

sumeetpareek commented 10 years ago

As evident from the sendy snapshot below there are various kind of statistics that are available for a mailing campaign.

We need to do a quick research (not implementation, just getting to know) to figure if deeper integration with Amazon SES is required (beyond just using the drupal SMTP module, or drupal php sendmail() to talk to SES) for sending mails in a way such that we have statistics avaiable.

Or may be sendy is getting all these stats some other way?

screenshot_2013_09_24_001

This issue can be successfully closed after we have a rough quick document of how we would need our kabootr drupal talk with Amazon SES. This issue does not deal with the implementation.

Sendy's code can be looked upon from here - https://github.com/AamAadmiParty/mass-emailer-sendy/ and I am sending the unlocked code (sendy has 2 locked files) over email.

tkuldeep commented 10 years ago

As I understood..

tkuldeep commented 10 years ago

By Using Amazon SES API [As I thought, here I am very confuse, I think my basic concept about sending mail is not clear]

So my option will be to use AWS php sdk, it provides much more thing like guzzle. http://guzzlephp.org/ I dont know so much about guzzle. I have just read what is guzzle.

tkuldeep commented 10 years ago

Now I am studying sending mail through amazon ses via Query Interface.

tkuldeep commented 10 years ago

Yes.

@basantsharma @mukeshagarwal @sumeetpareek Baki App log jo khe.. :-D

tkuldeep commented 10 years ago

Pros of using API:

Now Please give comments here, so that it will help me lot.. :-D

tkuldeep commented 10 years ago
tkuldeep commented 10 years ago

Today:

Note: After configuration Amazon SNS service, we will charge some amount. http://aws.amazon.com/sns/pricing

tkuldeep commented 10 years ago
tkuldeep commented 10 years ago

For Amazon configuration, I have created four menu items.

Dev url: http://54.200.68.236/kabootr/docroot Clean url is not enabled. User and password are in mail.

tkuldeep commented 10 years ago

For configuring Amazon SNS, I have followed http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-sns-notifications.html.

But not receiving JSON data.

tkuldeep commented 10 years ago

@sumeetpareek For sending authenticated mail, we need DKIM enabled domains, so that our emails can not be spoofed by third party. Now I have verified two email address have domain of innoraft.com, there for you have got email form amazon ses. For adding CNAME record please go to link http://kabootr.dev/admin/config/services/amazon_ses/amazon_domain_dkim_setting and copy CNAME record of doamin innoraft.com, and paste in DNS setting of innoraft.com.

It is not necessary, to enable DKIM. Just for testing we can. According it should not effect any other thing.

Note: Sorry for late reply, I got stuck in git issues. Actually I have changed ssh key path and rename it on my local. SO not able to push on github.

tkuldeep commented 10 years ago

I have created sns topic in US-west-2 region sns-topic

also created subscriptions subscriptions

Now when I edit feedback configuration, I am not able to see these topic, The topic which are visible here, have been created by link given here red box 1.. ses_topic

Point number 2 says => Only SNS topic regions are supported in US-west-1 region. Kindly note : topic created from amazon SNS console have region US-west-2 in picture 1.

May be it is causing problem..

tkuldeep commented 10 years ago

@sumeetpareek