Skip to content

Instantly share code, notes, and snippets.

@mglaman
Created November 22, 2016 04:49
Show Gist options
  • Save mglaman/87064fc88ae5f3964e2c45850a2bf7ac to your computer and use it in GitHub Desktop.
Save mglaman/87064fc88ae5f3964e2c45850a2bf7ac to your computer and use it in GitHub Desktop.
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8; format=flowed; delsp=yes
Date: Tue, 22 Nov 2016 04:18:45 +0000
From: [email protected]
MIME-Version: 1.0
Message-ID: <[email protected]>
Received: from [127.0.0.1] by mailhog.example (MailHog)
id [email protected]; Tue, 22 Nov 2016 04:18:45 +0000
Return-Path: <[email protected]>,<[email protected]>
Sender: [email protected]
Subject: Order #3 confirmed
To: [email protected]
X-Mailer: Drupal
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'swiftmailer' -->
<!-- FILE NAME SUGGESTIONS:
* swiftmailer--commerce-order--receipt.html.twig
* swiftmailer--commerce-order.html.twig
x swiftmailer.html.twig
x swiftmailer.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/swiftmailer/templates/swiftmailer.=
html.twig' -->
<html>
<head>
<style type=3D"text/css">
table tr td {
font-family: Arial;
font-size: 12px;
}
</style>
</head>
<body>
<div>
<table width=3D"800px" cellpadding=3D"0" cellspacing=3D"0">
<tr>
<td>
<div style=3D"padding: 0px 0px 0px 0px;">
=20
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'commerce_order' -->
<!-- FILE NAME SUGGESTIONS:
* commerce-order--3--receipt.html.twig
* commerce-order--3.html.twig
* commerce-order--default--receipt.html.twig
* commerce-order--default.html.twig
x commerce-order--receipt.html.twig
* commerce-order.html.twig
* commerce-order.html.twig
-->
<!-- BEGIN OUTPUT from 'modules/contrib/commerce/modules/order/templates/co=
mmerce-order--receipt.html.twig' -->
<table style=3D"margin: 15px auto 0 auto; max-width: 768px; font-family: =
arial">
<tbody>
<tr>
<td>
<table style=3D"margin-left: auto; margin-right: auto; max-width: 768=
px; text-align: center;">
<tbody>
<tr>
<td>
<a href=3D"http://commerce2x.platform/" style=3D"color: #0e69b=
e; text-decoration: none; font-weight: bold; margin-top: 15px;">Demo sto=
re</a>
</td>
</tr>
</tbody>
</table>
<table style=3D"text-align: center; min-width: 450px; margin: 5px a=
uto 0 auto; border: 1px solid #cccccc; border-radius: 5px; padding: 40px=
30px 30px 30px;">
<tbody>
<tr>
<td style=3D"font-size: 30px; padding-bottom: 30px">Order Confirm=
ation</td>
</tr>
<tr>
<td style=3D"font-weight: bold; padding-top:15px; padding-bott=
om: 15px; text-align: left; border-top: 1px solid #cccccc; border-bottom=
: 1px solid #cccccc">Order #3 details:</td>
</tr>
<tr>
<td>
<table style=3D"padding-top: 15px; padding-bottom:15px; width=
: 100%">
<tbody style=3D"text-align: left;">
<tr>
<td>
1 x
</td>
<td>
<span>Commerce Guys Hoodie - Black, Medium</span>
<span style=3D"float: right;">$89.50</span>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table style=3D"width: 100%; padding-top:15px; padding-bottom=
: 15px; text-align: left; border-top: 1px solid #cccccc; border-bottom: =
1px solid #cccccc">
<tbody>
<tr>
<td style=3D"padding-top: 5px; font-weight: bold;">
Billing Details
</td>
</tr>
<tr>
<td>
=20
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<p style=3D"font-size: 24px; padding-top: 15px; padding-botto=
m: 5px;">
Order Total: $89.50
</p>
</td>
</tr>
<tr>
<td>
<small>Thank you for your order!</small>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END OUTPUT from 'modules/contrib/commerce/modules/order/templates/co=
mmerce-order--receipt.html.twig' -->
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
<!-- END OUTPUT from 'modules/contrib/swiftmailer/templates/swiftmailer.ht=
ml.twig' -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment