We do all of the hard work of parsing headers & content and structuring emails as simple JSON documents, and deliver them to your web app over a standard HTTP POST. Never mess with MIME parsing again. We even automatically detect and encode attachments for you.
{
"From": "your-customer@domain.com",
"To": "xyz123+ahoy@reply.yourapp.com",
"MailboxHash": "ahoy",
"MessageID": "22c74902-a0c1-4511-804f2-341342852c90",
"Subject": "This is an inbound message",
"Tag": "",
"TextBody": "[ASCII]",
"HtmlBody": "[HTML(encoded)]",
"Headers": [
{
"Name": "MIME-Version",
"Value": "1.0"
},
{
"Name": "Date",
"Value": "Thu, 24 Mar 2011 15:59:30 -0400"
},
{
"Name": "Subject",
"Value": "Welcome to Postmark"
},
{
"Name": "From",
"Value": "user@email.com"
},
{
"Name": "To",
"Value": "451d9b70cf9364d6f9d51d870251569e+ahoy@inbound.staging.postmarkapp.com"
},
{
"Name": "Content-Type",
"Value": "multipart\/mixed"
},
{
"Name": "X-Spam-Status",
"Value": "No"
},
{
"Name": "X-Spam-Score",
"Value": "-0.8"
},
{
"Name": "X-Spam-Tests",
"Value": "DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW"
},
{
"Name": "Received-SPF",
"Value": "Pass (sender SPF authorized) identity=mailfrom; client-ip=209.85.160.42; helo=mail-pw0-f42.google.com; envelope-from=support@postmarkapp.com; receiver=451d9b70cf9364d23ff6f9d51d870251569e+ahoy@inbound.postmarkapp.com"
}
],
"Attachments": [
{
"Content": "[BASE64]",
"ContentType": image\/png",
"Name": "myimage.png"
},
{
"Content": "[BASE64]",
"ContentType": "application\/msword",
"Name": "mypaper.doc"
}
],
"Cc": "",
"ReplyTo": ""
}
Postmark is already built and battle tested to handle the toughest emails you can throw at it, so we extended that power to process inbound emails as well. Postmark Inbound built on the same infrastructure that you rely on for outbound email, so it is redundant, reliable and scalable.
Start parsing in minutes. Use our beautiful visual interface and be ready to receive emails in minutes. Or if you're comfortable at a command line, you can set up inbound mailboxes via our simple API. If you're not sure where to start, check out our friendly documentation and code examples.
Just like Postmark Outbound, you only pay for emails as you need them with our simple credit system. Just pay $1.50 per 1000 credits (volume pricing available), Postmark inbound costs one credit per inbound message parsed and delivered to your web app. New accounts get 1000 free credits to start right away.
We’re already well known for building and running solid products like our hosted version control service Beanstalk at Wildbit. Beanstalk relies on Postmark every day, including Postmark Inbound which allows our customer to add comments to commit notifications with a quick email reply.
Sign up now and get 1,000 credits for free!