bg

Dewmail

Dewmail 30 sec Quick Start Guide

In less than 30 seconds your API can be processing customer emails with Dewmail.

  1. First, create the following MX records for your domain example.com
    TYPESUBDOMAINMAILSERVER HOSTPREFTTL
    MXapiin1.dewmail.org.10300
    MXapiin2.dewmail.org.20300
  2. Send an email from any client--for example, consider the following message.
    To: foo+bar@api.example.com
    Subject: Dewmail | An email parsing microservice for HTTP APIs
    Body: Visit our website at http://dewmail.org/
  3. That's it!

Dewmail will receive and parse your email generating the following JSON request

{
   "body": "Visit our website at http://dewmail.org/",
   "from": "client@example.org",
   "links": [ "http://dewmail.org/" ],
   "sender-IP": "12.34.56.78",
   "spf": "Pass",
   "subject": "Dewmail | An email parsing microservice for HTTP APIs",
   "time": "2015-01-17T08:00:39Z",
   "to": "foo+bar@api.example.com"
}

which it will submit to http://api.example.com/foo/bar. Your API can then parse the message however you see fit.

Built with by Stephen Parker