Assumes you have the Google App Engine Python SDK installed.
- Create an app on Google App Engine (https://appengine.google.com/start/createapp?)
- Clone GAE Bulk Mailer
git@github.com:pizzapanther/GAE-Bulk-Mailer.git your-app-id
- Create your configuration files
cd your-app-id
cp app.yaml.example app.yaml
cp queue.yaml.example queue.yaml
cp cron.yaml.example cron.yaml
touch local_settings.py
- Insert your app ID into app.yaml.
- Tweak queue.yaml depending on your send rate limits.
- Tweak your local_settings.py. Some settings you may wish to add:
SUPER_ADMINS = ('your_address@gmail.com',)
STAFF_USERS = ('staff_user@gmail.com',)
STAFF_DOMAINS = ('gmail-app-domain.com',)
ALLOWED_HOSTS = ('your-app-id.appspot.com', '1.your-app-id.appspot.com')
DEFAULT_FROM_EMAIL = 'from_address@example.com'
BASE_URL = 'https://your-app-id.appspot.com'
REPORT_BOUNCE_URL = 'https://example.com/bounce_reporting_url'
REPORT_UNSUBSCRIBE_URL = 'https://example.com/unsubscribe_reporting_url'
REPORT_PAYLOAD = {'key': 'abcdefgh123456'}
EMAILER = 'bulkmail.mailers.amazon' #Or 'bulkmail.mailers.gae'
MAIL_SEND_RATE = 85
MAIL_SEND_INTERVAL = 'seconds'
AWS_KEY_ID = 'abcdefgh123456' #Needed for AWS Mailer only
AWS_SECRET_KEY = 'abcdefgh123456'
- Upload your app:
cd ..; appcfg.py update your-app-id
- Go to https://your-app-id.appspot.com/api/apikey/ to create an API Key.
- Implement the bounce and unsubscribe hooks you provided. See the Web Hooks Documentation for more info.
- API Details
- Bulkmailer.py (API implemented in Python)
- Web Hooks
- Templating
- Tracking
- Mailer Backends