Tuesday, July 3, 2012

Email in a RESTful API

There are many Email providers that provide a restful web API. The cost is usually starting from $0.10 per thousand emails.

Mailgun, Sendgrid, Amazon AWS, ...

Compare them!

Curl it easily using Mailgun

curl --user api:key https://api.mailgun.net/v2/farfaraway.uk/messages \     
     -F from='Shrek <cuteogre@farfaraway.uk>' \
     -F to='Fiona <princess@farfaraway.uk>' \
     -F subject='Status update' \
     -F text='The cat is off the hook'

No comments:

Post a Comment