Greetings from Mailjet



Greetings from Mailjet

0 0


mailjetlondon

Slides for a quick London devs meet

On Github swooop / mailjetlondon

Greetings from Mailjet

Developer Evangelist / Beard - tsims@mailjet.com / @4thfloor_monkey

Who are Mailjet?

  • From the ground up email solution

  • Transactional Email

  • Newsletter campaigns

  • Analytics

  • A nice RESTful API

Why Mailjet?

  • Deliverabilty
  • One API for all the features
  • Price
  • Flexibility

Integrates with lots of cool stuff via:

(If you need it...)

Getting started with the API

Simple to add contacts

curl -X POST --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contact \
-H "Content-Type: application/json" \
-d '{"Email":"johnsmith@example.com"}'

Simple sending

						curl -X POST --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
    https://api.mailjet.com/v3/send/message \
    -F from= "Count Mailjet >count.mailjet@example.com>" \
    -F to=mr.mailjet@example.com \
    -F subject='Hello World!' \
    -F text='Greetings from Mailjet.'
					

Parse API

curl -X POST --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
        http://api.mailjet.com/v3/REST/parseroute \
        -d '{"URL":"http://your-domain/webhook"}' \
        -H "Content-Type: application/json"

- Emails are parsed and you can have all the fun

dev.mailjet.com

Free stuff for you!

MJLONDON2015

3 months free Bronze Premium

To the pub! No wait, beer!