Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image to email signature #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 33 additions & 9 deletions src/pages/api/sendEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,39 @@ export default async function handler(req, res) {
const mailHtml = `
<html>
<body>
<p>Heyy Participant,</p>
<p>I appreciate your participation in the previous test and would like to invite you to the Hard Level Test.</p>
<p>You can access it through this link: <a href="https://game.iedcmec.in/level2">Click Here</a></p>
<p>The test is available until 29th October, 12 p.m.</p>
<p>Please feel free to contact our support team at <a href="mailto:[email protected]">[email protected]</a> if you have any questions or encounter issues.</p>
<p>Thank you for your participation, and good luck!</p>
<br/>
<p>Best regards,</p>
<p><b>IEDC MEC</b></p>
<p>Heyy Participant,</p>
<p>
We appreciate your participation in the previous test and would like to
invite you to the Hard Level Test.
</p>
<p>
You can access it through this link:
<a href="https://game.iedcmec.in/level2">Click Here</a>
</p>
<p>The test is available until 29th October, 12 p.m.</p>
<p>
Please feel free to contact our support team at
<a href="mailto:[email protected]">[email protected]</a> if you have any
questions or encounter issues.
</p>
<p>Thank you for your participation, and good luck!</p>
<br />
<p>Best regards,</p>
<div
style="
height: 20px;
width: 85px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
"
>
<img
height="100px"
src="https://avatars.githubusercontent.com/u/60802781?s=400&u=8695e97712e3738590b0749da3bf61a4a99b6eb7"
/>
</div>
</body>
</html>
`;
Expand Down