Skip to content

Instantly share code, notes, and snippets.

@EliW
Created April 20, 2021 13:27
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 EliW/80d677b8431e1e8f52138e454456853e to your computer and use it in GitHub Desktop.
Save EliW/80d677b8431e1e8f52138e454456853e to your computer and use it in GitHub Desktop.
p15 Sample Template
<table bgcolor="white" cellpadding="0" cellspacing="0" role="presentation" style="table-layout: fixed; vertical-align: top; min-width: 320px; max-width: 650px; border-spacing: 0; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: white; width: 100%; margin:auto;" valign="top" width="100%">
<tbody>
<tr style="vertical-align: top;" valign="top">
<td style="word-break: break-word; vertical-align: top;" valign="top">
<div style="min-width: 320px; max-width: 650px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; background-color: #ffffff;">
<div align="center" style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;">
<img align="center" alt="smarTours" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/smartours-tag.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 249px; display: block; margin-top: 20px;" title="smarTours" width="249"/>
</div>
<div style="margin-top: 10px; border-top: 3px dashed #BBBBBD; width: 100%;" valign="top" width="100%"></div>
<div style="color:#54565b; font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 16px; word-break: break-word; mso-line-height-alt: 22px; line-height:1.5; padding: 20px; padding-top: 12px; padding-bottom: 12px;">
<style>a { text-decoration: underline; color: #0975e1; }</style>
<!-- START CONTENT HERE -->
<p>
Dear {p15_primarybookingid.p15_clientid.firstname},
</p>
<p>
Thank you for choosing smarTours! This email confirms your reservation for {p15_primarybookingid.p15_tripdepartures_bookingsid.p15_tripid.p15_tripname}, starting on {ToString(p15_primarybookingid.sma_tourstartdate,"MMMM d, yyyy")}.
</p>
<p>
<strong>Your Credit has been Applied:</strong><br/>
Because you had credit from a previous booking that was suspended due to the COVID-19 pandemic, we have applied that credit to your new booking. If your credit was for more than the cost of your new trip, any balance will remain available on your account for future use with no expiration. You will be issued a new Credit Memo with any remaining credit and this will be sent separately. You can also find more <a href="https://smartours.com/covid-19-related-credits/" rel="noopener" style="text-decoration: underline; color: #0975e1;" target="_blank">details on how to use your credit</a>
on our website.
</p>
<p>
Attached you will find your invoice, which reflects the balance and remaining payment due date(s), if any.
</p>
<p>
<strong>Passport Information Reminder:</strong><br/>
Please note that your passport must be valid for at least 6 months after your trip's end date: {ToString(p15_primarybookingid.sma_tourenddate,"MMMM d, yyyy")}. Please review your passport expiration date. If needed, please renew your passport and submit the updated information with or prior to your final payment.
</p>
<p>
For any additional questions, please contact our customer service team at 800-337-7773 during business hours (M-F 9:00am-5:30pm ET).
</p>
<p>
We are excited to travel with you, and thank you again for choosing smarTours!
</p>
<p>
Warm Regards,<br/>
The smarTours Team
</p>
<!-- END OF EDITABLE CONTENT HERE -->
</div>
<div style="margin: 0; border-top: 3px dashed #BBBBBD; width: 100%;" valign="top" width="100%"></div>
<div align="center" style="color:#828387;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:1.5; padding:20px; padding-top: 5px; padding-bottom: 10px; font-size: 13px; mso-line-height-alt: 17px;">
<p align="center" style="text-align: center">
Plan your next adventure at <a href="https://smartours.com/" rel="noopener" style="text-decoration: underline; color: #0975e1;" target="_blank">smartours.com</a><br/>
Customer support available at 1-800-337-7773<br/>
Monday to Friday from 9:00am - 5:30pm ET
</p>
<p align="center" style="text-align: center">
<a href="https://www.facebook.com/smartours" rel="noopener" style="text-decoration: none;" target="_blank">
<img align="center" alt="Facebook" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/hs-facebook.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 40px;" title="smarTours" width="40"/>
</a>
&nbsp;
<a href="https://www.instagram.com/smartours" rel="noopener" style="text-decoration: none;" target="_blank">
<img align="center" alt="Instagram" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/hs-instagram.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 40px;" title="smarTours" width="40"/>
</a>
&nbsp;
<a href="https://twitter.com/smartours" rel="noopener" style="text-decoration: none;" target="_blank">
<img align="center" alt="Twitter" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/hs-twitter.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 40px;" title="smarTours" width="40"/>
</a>
&nbsp;
<a href="https://www.yelp.com/biz/smartours-new-york" rel="noopener" style="text-decoration: none;" target="_blank">
<img align="center" alt="Yelp" border="0" class="center autowidth" src="https://smartours.com/wp-content/uploads/2021/04/hs-yelp.png" style="text-decoration: none; -ms-interpolation-mode: bicubic; height: auto; border: 0; width: 100%; max-width: 40px;" title="smarTours" width="40"/>
</a>
</p>
<p align="center" style="text-align: center">
<em>smarTours® PO Box 619, Old Greenwich, CT 06870<br/>
You have received this email because you are a customer of smarTours.</em>
</p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment