Mail templates in html
Here are some common email templates in HTML:
Simple Email Template
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Email Template</title>
</head>
<body>
<h1>Subject: {{ subject }}</h1>
<p>Dear {{ name }},</p>
<p>{{ message }}</p>
<p>Best regards,</p>
<p>{{ senderName }}</p>
</body>
</html>
Confirmation Email Template
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Confirmation Email</title>
</head>
<body>
<h1>Subject: Confirmation: {{ subject }}</h1>
<p>Dear {{ name }},</p>
<p>Your account has been successfully created.</p>
<p>Your username is {{ username }} and your password is {{ password }}.</p>
<p>Click <a href="{{ confirmLink }}">here</a> to confirm your email address.</p>
<p>Best regards,</p>
<p>{{ senderName }}</p>
</body>
</html>
Password Reset Email Template
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Password Reset Email</title>
</head>
<body>
<h1>Subject: Password Reset: {{ subject }}</h1>
<p>Dear {{ name }},</p>
<p>You have requested to reset your password.</p>
<p>Click <a href="{{ resetLink }}">here</a> to reset your password.</p>
<p>If you did not request this password reset, please ignore this email.</p>
<p>Best regards,</p>
<p>{{ senderName }}</p>
</body>
</html>
Welcome Email Template
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Welcome Email</title>
</head>
<body>
<h1>Subject: Welcome to {{ company }}!</h1>
<p>Dear {{ name }},</p>
<p>Welcome to {{ company }}! We're thrilled to have you on board.</p>
<p>As a valued customer, you can expect:</p>
<ul>
<li>Exclusive offers and discounts</li>
<li>Early access to new products and services</li>
<li>Personalized support from our team</li>
</ul>
<p>Best regards,</p>
<p>{{ senderName }}</p>
</body>
</html>
Newsletter Email Template
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Newsletter Email</title>
</head>
<body>
<h1>Subject: {{ newsletterTitle }}</h1>
<p>Dear {{ name }},</p>
<p>Welcome to our latest newsletter!</p>
<p>Here are the latest updates from {{ company }}:</p>
<ul>
<li>{{ newsItem1 }}</li>
<li>{{ newsItem2 }}</li>
<li>{{ newsItem3 }}</li>
</ul>
<p>Best regards,</p>
<p>{{ senderName }}</p>
</body>
</html>
These are just a few examples of email templates in HTML. You can customize them to fit your specific needs and branding. Remember to replace the placeholders (e.g. {{ subject }}
, {{ name }}
, etc.) with actual values when sending the email.