An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![alt text](http://cdn.appstorm.net/web.appstorm.net/files/2012/02/mailjet_logo_200x200.png "Mailjet")

# 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 ;)