https://github.com/mailjet/mailjet-apiv3-templating-samples
Mailjet API transactional templating samples
https://github.com/mailjet/mailjet-apiv3-templating-samples
Last synced: 2 months ago
JSON representation
Mailjet API transactional templating samples
- Host: GitHub
- URL: https://github.com/mailjet/mailjet-apiv3-templating-samples
- Owner: mailjet
- License: mit
- Created: 2016-03-04T10:44:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-02-28T13:08:13.000Z (over 4 years ago)
- Last Synced: 2026-03-27T23:41:58.932Z (3 months ago)
- Language: HTML
- Size: 9.63 MB
- Stars: 35
- Watchers: 9
- Forks: 24
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Mailjet API V3 templating samples
The samples leverage the Mailjet Templating language for Transactional Emailing.
## Documentation
[Full guide for Mailjet Transactional templating](http://dev.mailjet.com/guides/#transactional-templating)
The Mailjet templating language offers :
- [Data substitution](http://dev.mailjet.com/guides/#variables) with `{{ ... }}`
- [Conditional statements](http://dev.mailjet.com/guides/#conditional-statements): `if`, `else`, `elseif` and `endif`
- [Loop statements](http://dev.mailjet.com/guides/#loop-statements): `for in` and `endfor`
## List of samples
- [All in one transactional](all_in_one_transac/) : one template rules all your simple transactional messages. Make it easy to manage a single canvas for all your messages
- [Mailjet Air Electronic ticket](electronic_ticket/) : depending on the destination, the seat class and booking of a car to the airport, the layout changes and offers specific call to actions
- [Question / Answers / Comment notifications](question_answer/) : alerts for new question, comment and answer (Quandora like) with specific call to action depending on the alerts
- [Ecommerce purchase steps](ecommerce/) : one template to handle all the purchasing communication to the clients
- [White label](white_label/) : one template to handle multiple branding
- [RSS to email](rss_to_email/) : pull a RSS feed and send it by email (simple loop sample)
- [Product list](products_list/) : simple product list
- [Product list in zigzag](zigzag_loop/) : product list with alternative image side
- [Ecommerce receipt](ecommerce_receipt/) : list of product purchased and total price of purchase
More to come soon, so come back ;)