@@ -0,0 +1,1198 @@
+#!/usr/bin/env python%0A# -*- coding: utf-8 -*-%0Afrom __future__ import with_statement%0Aimport boto.ses,sys,time%0A%0A#aws configuration%0AAWS_KEY = ''%0AAWS_SECRET = ''%0AAWS_REGION = ''%0A%0A#Put an email address verified in SES console%0A#Set sender name to anything you want%0AVER_EMAIL  = 'SENDER_NAME %3CSENDER_EMAIL%3E'%0A%0A#emails per second%0A#by default, You can send 5 emails per second max or%0A#program fails to send emails.%0A#if your account has different limits, feel free to%0A#increase this value%0Aeps = 5%0A%0A%0Adef send_bulk_emails(listfile,mailfile):%0A  #establish connection with SES%0A  conn = boto.ses.connect_to_region(AWS_REGION,%0A                  aws_access_key_id=AWS_KEY,%0A              aws_secret_access_key=AWS_SECRET)%0A  delay = 1.0/eps%0A  #Read email data%0A  with open(mailfile) as f: subject, body = f.read().split('%5Cn%5Cn')%0A  with open(listfile,'r') as f:%0A    maillist = f.read().split('%5Cn')%5B:-1%5D%0A    for e in maillist:%0A    %0A      #send to each recipient%0A      conn.send_email(VER_EMAIL, subject, body, e)%0A      time.sleep(delay)%0A      print %22sent to %25s%22%25e%0A    print %22finished%22%0A%0Aif __name__ == %22__main__%22:%0A  try:%0A    send_bulk_emails(sys.argv%5B1%5D,sys.argv%5B2%5D)%0A  except Exception, e: print %22Exception Ocurred:%5Cn%25s%22%25e%0A

Add script file