https://github.com/githubjakob/update-mandrill-templates
Script pushing Email Templates to your Mandrill Account
https://github.com/githubjakob/update-mandrill-templates
Last synced: about 1 year ago
JSON representation
Script pushing Email Templates to your Mandrill Account
- Host: GitHub
- URL: https://github.com/githubjakob/update-mandrill-templates
- Owner: githubjakob
- Created: 2017-03-30T13:38:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-30T13:42:08.000Z (about 9 years ago)
- Last Synced: 2025-02-16T20:28:22.988Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# update-mandrill-templates
Python script to update Mandrill Email Templates plus its metadata in your Mandrill Account according to local HTML files/metadata as CSV.
The script will push the HTML + the Metadata to the Mandrill API thereby updating (read: OVERWRITING) the Templates in your Account with the data you provide.
## Usage
The script uses the Mandrill template `slug` to identify templates. Make sure the name of the HTML files matches the `slug` of your template.
You need to specify in the script:
* the folder which contains the HTML of the Templates you want to update
* path of the CSV file which contains the metadata of the Templates (Format of the CSV should be: `slug,subject,from_email,from_name,label1,label2,label3,label4`)
* your Mandrill API key
Run with `python3 updateMandrillTemplates.py`.
## Credits
The script was written at eGym in Januar 2017.