Skip to content

Instantly share code, notes, and snippets.

@ryanchin
Created May 22, 2012 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanchin/2765790 to your computer and use it in GitHub Desktop.
Save ryanchin/2765790 to your computer and use it in GitHub Desktop.
Not Sending via Sendgrid
Sent mail to test@example.com (976ms)
Date: Mon, 21 May 2012 17:46:03 -0700
From: Foo <info@Foo.com>
To: Test <test@example.com>
Message-ID: <4fbae1cd97173_147836a9bc5679f@MININT-4LBRRLS.mail>
Subject: Welcome to Foo, Test!
Mime-Version: 1.0
Content-Type: multipart/alternative
Content-Transfer-Encoding: 7bit
----==_mimepart_4fbae1cd25508_147836a9bc5641f
Date: Mon, 21 May 2012 17:46:05 -0800
Mime-Version: 1.0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Content-ID: <4fbae1cd73332_147836a9bc56544@MININT-4LBRRLS.mail>
Welcome to Foo, Test!
-The Foo Team
----==_mimepart_4fbae1cd25508_147836a9bc5641f
Date: Mon, 21 May 2012 17:46:05 -0800
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Content-ID: <4fbae1cd819ad_147836a9bc5662d@MININT-4LBRRLS.mail>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="width: 100% !important; -webkit-text-size-adjust: none !important; background-color: #ffa500 !important; margin: 0; padding: 0;" bgcolor="#ffa500">
<center>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="backgroundTable" style="height: 100% !important; width: 100% !important; margin: 0; padding: 0;">
<tr>
<td align="center" valign="top">
<!-- // Begin Template Preheader \\ -->
<table border="0" cellpadding="10" cellspacing="0" width="600" id="templatePreheader" style="background-color: #ffa500;" bgcolor="#ffa500">
<tr>
<td valign="top" class="preheaderContent">
<!-- // Begin Module: Standard Preheader \\ -->
<table border="0" cellpadding="10" cellspacing="0" width="100%">
<tr>
<td valign="top">
<div mc:edit="std_preheader_content" style="color: #505050; font-family: Arial; font-size: 10px; line-height: 100%; text-align: left;" align="left">
</div>
</td>
<td valign="top" width="180">
<div mc:edit="std_preheader_links" style="color: #505050; font-family: Arial; font-size: 10px; line-height: 100%; text-align: left;" align="left">
</div>
</td>
</tr>
</table>
<!-- // End Module: Standard Preheader \\ -->
</td>
</tr>
</table>
<!-- // End Template Preheader \\ -->
<table border="0" cellpadding="0" cellspacing="0" width="600" id="templateContainer" style="background-color: #ffffff; border: 1px solid #dddddd;" bgcolor="#ffffff">
<tr>
<td align="center" valign="top">
<!-- // Begin Template Body \\ -->
</a>
-The Foo Team<br />
</span>
</div>
</td>
</tr>
</table>
<!-- // End Module: Standard Content \\ -->
</td>
</tr>
</table>
<!-- // End Template Body \\ -->
</td>
</tr>
<tr>
<td align="center" valign="top">
<!-- // Begin Template Footer \\ -->
<table border="0" cellpadding="10" cellspacing="0" width="600" id="templateFooter" style="background-color: #FDFDFD; border-top-width: 0;" bgcolor="#FDFDFD">
<tr>
<td valign="top" class="footerContent">
</td>
</tr>
</table>
<!-- // End Template Footer \\ -->
</td>
</tr>
</table>
<br>
</td>
</tr>
</table>
</center>
<style type="text/css">
body { width: 100% !important; }
body { -webkit-text-size-adjust: none !important; }
body { margin: 0 !important; padding: 0 !important; }
img { border: none !important; font-size: 14px !important; font-weight: bold !important; height: auto !important; line-height: 100% !important; outline: none !important; text-decoration: none !important; text-transform: capitalize !important; }
#backgroundTable { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
body { background-color: #FAFAFA !important; }
.preheaderContent div a:visited { color: #336699 !important; font-weight: normal !important; text-decoration: underline !important; }
.headerContent a:visited { color: #336699 !important; font-weight: normal !important; text-decoration: underline !important; }
.bodyContent div a:visited { color: #336699 !important; font-weight: normal !important; text-decoration: underline !important; }
.footerContent div a:visited { color: #336699 !important; font-weight: normal !important; text-decoration: underline !important; }
body { background-color: #ffa500 !important; }
</style>
</body>
</html>
----==_mimepart_4fbae1cd25508_147836a9bc5641f--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment