Skip to content

Instantly share code, notes, and snippets.

@NotMedic
Created March 10, 2022 20:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NotMedic/6e027bb3dc9f512b68e69de08a20be7d to your computer and use it in GitHub Desktop.
Save NotMedic/6e027bb3dc9f512b68e69de08a20be7d to your computer and use it in GitHub Desktop.
Azure password reset email.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- from msonlineservicesteam@microsoftonline.com -->
<!-- This is the new email template for SSPR which aligns well with the email that are sent out from IW portal -->
<!-- To make use this template, you will need to add a new page to the EmailTemplates directory that has this page as the master page.
The new page must specify the following placeholders:
- SubjectPlaceholder - The email subject
- HeaderPlaceholder - The header of the e-mail document
- BodyPlaceholder - The body of the e-mail document
-->
<!-- For dir and lang attributes you will need to define them at the individual tables as well. Otherwise some email clients do not render the email properly -->
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head id="Head1"><title>
domain.com account email verification code
</title><meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<!-- Template B O365 -->
<style>
table td {border-collapse:collapse;margin:0;padding:0;}
</style>
</head>
<body dir="ltr" lang="en">
<table width="100%" cellpadding="0" cellspacing="0" border="0" dir="ltr" lang="en">
<tr>
<td valign="top" width="50%"></td>
<td valign="top">
<!-- Email Header -->
<table width="640" cellpadding="0" cellspacing="0" border="0" dir="ltr" lang="en" style="border-left:1px solid #e3e3e3;border-right: 1px solid #e3e3e3;">
<tr style="background-color: #0072C6;">
<td width="1" style="background:#0072C6; border-top:1px solid #e3e3e3;"></td>
<td width="24" style="border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;">&#160;</td>
<td width="310" valign="middle" style="border-top:1px solid #e3e3e3; border-bottom:1px solid #e3e3e3;padding:12px 0;">
<h1 style="line-height:20pt;font-family:Segoe UI Light; font-size:18pt; color:#ffffff; font-weight:normal;">
<span id="HeaderPlaceholder_UserVerificationEmailHeader" style="color:#FFFFFF;">Verify your email address</span>
</h1>
</td>
<td width="24" style="border-top: 1px solid #e3e3e3;border-bottom: 1px solid #e3e3e3;">&#160;</td>
</tr>
</table>
<!-- Email Content -->
<table width="640" cellpadding="0" cellspacing="0" border="0" dir="ltr" lang="en">
<tr>
<td width="1" style="background:#e3e3e3;"></td>
<td width="24">&#160;</td>
<td id="PageBody" width="640" valign="top" colspan="2" style="border-bottom:1px solid #e3e3e3; padding:10px 0 20px;">
<table cellpadding="0" cellspacing="0" border="0" >
<tr>
<td width="630" style="font-size:10pt; line-height:13pt; color:#000;">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="" dir="ltr" lang="en">
<tr>
<td>
<div style="font-family:'Segoe UI', Tahoma, sans-serif; font-size:14px; color:#333;">
<span id="BodyPlaceholder_UserVerificationEmailBodySentence1">Thanks for verifying your user@domain.com account!</span>
</div>
<br/>
<div style="font-family:'Segoe UI', Tahoma, sans-serif; font-size:14px; color:#333; font-weight: bold">
<span id="BodyPlaceholder_UserVerificationEmailBodySentence2">Your code is: 000000</span>
</div>
<br/>
<br/>
<div style="font-family:'Segoe UI', Tahoma, sans-serif; font-size:14px; color:#333;">
Sincerely,
</div>
<div style="font-family:'Segoe UI', Tahoma, sans-serif; font-size:14px; font-style:italic; color:#333;">
domain.com
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="1">&#160;</td>
<td width="1"></td>
<td width="1">&#160;</td>
<td width="1" valign="top"></td>
<td width="29">&#160;</td>
<td width="1" style="background:#e3e3e3;"></td>
</tr>
<tr >
<td width="1" style="background:#e3e3e3; border-bottom:1px solid #e3e3e3;"></td>
<td width="24" style="border-bottom:1px solid #e3e3e3;">&#160;</td>
<td id="PageFooterContainer" width="585" valign="top" colspan="6" style="border-bottom:1px solid #e3e3e3; padding:20px 0;">
<table id="PageFooter" cellpadding="0" cellspacing="0" border="0" width="585">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" dir="ltr" lang="en" style="margin-right:30px;">
<tr>
<td>
<p style="font-family:'Segoe UI', Tahoma, sans-serif; margin:0px 0px 0px 5px; color:#666; font-size:10px;">
<span id="ContactInfo">
Microsoft Corporation
|
One Microsoft Way Redmond, WA 98052-6399
<br/><br/>
</span>
This message was sent from an unmonitored email address. Please do not reply to this message.
<span id="PrivacyAndLegalLinks" style="color:#0072c6;">
<br/><br/>
<a href="https://privacy.microsoft.com/en-US/privacystatement" id="PrivacyLinkAnchor">
Privacy
</a>
|
<a href="https://www.microsoft.com/en-US/servicesagreement/" id="LegalLinkAnchor">
Legal
</a>
</span>
</p>
</td>
</tr>
</table>
</td>
<td style="padding:0; text-align:right;">
<img id="CompanyLogo" src="https://passwordreset.microsoftonline.com/images/1_MSLogo.png" />
</td>
</tr>
</table>
</td>
<td width="29" style="border-bottom:1px solid #e3e3e3;">&#160;</td>
<td width="1" style="background:#e3e3e3; border-bottom:1px solid #e3e3e3;"></td>
</tr>
</table>
</td>
<td valign="top" width="50%"></td>
</tr>
</table>
<img src='https://mucp.api.account.microsoft.com/m/v2/v?d=SNIP' width='1' height='1' tabindex='-1' aria-hidden='true' alt='' /></body>
</html><!-- cV: fkgG61JO60aKM7bD.4.1.1.4 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment