Skip to content

Instantly share code, notes, and snippets.

@SynnaxCrab
Created May 28, 2012 05:31
Show Gist options
  • Save SynnaxCrab/2817452 to your computer and use it in GitHub Desktop.
Save SynnaxCrab/2817452 to your computer and use it in GitHub Desktop.
Pony Mail Header
Date: Mon, 28 May 2012 13:25:34 +0800
From: [email protected]
To: [email protected]
message-id: <[email protected]}
Subject: Offers.com US - Stackable and Deals alert - 2012-05-28
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_4fc30c4e94700_713d840632e1";
charset=UTF-8
Content-Transfer-Encoding: 7bit
----==_mimepart_4fc30c4e94700_713d840632e1
Date: Mon, 28 May 2012 13:25:34 +0800
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-ID: <[email protected]>
<html>
*** here is the body ***
</html>
=
----==_mimepart_4fc30c4e94700_713d840632e1
Date: Mon, 28 May 2012 13:25:34 +0800
Mime-Version: 1.0
Content-Type: text/csv;
charset=UTF-8;
filename=alert.csv
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=alert.csv
Content-ID: <[email protected]>
Company,Category,Offer ID,Offer,Start Date,End Date
ESET,Antivirus,635921,15% off ESET Smart Security 2-5 licenses,2012-04-01,2012-07-09
*** here is the csv attachment content ***
Tog Shop,Women's Clothing,604121,Free Shipping on orders over $50,2012-03-15,2012-05-28
Woman Within,Women's Clothing,628935,20% off $60+ order,2012-04-01,2012-07-01
----==_mimepart_4fc30c4e94700_713d840632e1--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment