Merge branch 'paritosh-main1' of http://git.wdipl.com/Mayank.Mishra/MinglarBackendNestJS into mayankSprint2
This commit is contained in:
@@ -10,13 +10,16 @@ export async function resendOtpEmail(
|
||||
// messageId: string
|
||||
}> {
|
||||
|
||||
const subject = "New OTP from Minglar Team";
|
||||
const subject = "Your Minglar Verification Code";
|
||||
|
||||
const htmlContent = `
|
||||
<p>Dear ${role},</p>
|
||||
<p>Your new OTP is: <strong>${otp}</strong></p>
|
||||
<p>This code will be valid for the next 5 minutes.</p>
|
||||
<p>Warm regards,<br/>Minglar Team</p>
|
||||
<p>Hi ${role},</p>
|
||||
<p>Here's your verification code to get started:</p>
|
||||
<p><strong>${otp}</strong></p>
|
||||
<p>This code is valid for the next 5 minutes.</p>
|
||||
<p>Once verified, you can continue setting up your Minglar account. If you didn't request this, you can safely ignore this email.</p>
|
||||
<p>Need help? Reach out to us at info@minglargroup.com.</p>
|
||||
<p>Warm regards,<br/>Team Minglar</p>
|
||||
`;
|
||||
|
||||
try {
|
||||
@@ -37,3 +40,5 @@ export async function resendOtpEmail(
|
||||
throw new ApiError(500, "Failed to send OTP to host via email.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -11,13 +11,14 @@ export async function sendEmailToAM(
|
||||
// messageId: string
|
||||
}> {
|
||||
|
||||
const subject = `Host Application Re-Submited : ${hostCompanyName}`;
|
||||
const subject = `${hostCompanyName} Has Resubmitted Their Application`;
|
||||
|
||||
const htmlContent = `
|
||||
<p>Dear ${amName},</p>
|
||||
<p>Host ${hostCompanyName} with reference number: <strong>${hostRefNumber}</strong> has re-submited the application with implimented suggestions.</p>
|
||||
<p>Please review their appliaction and take the necessary action.</p>
|
||||
<p>Best regards,<br/>Minglar Team</p>
|
||||
<p>Hello ${amName},</p>
|
||||
<p>${hostCompanyName} has updated and re-submitted their application for your review.</p>
|
||||
<p>Reference number: <strong>${hostRefNumber}</strong></p>
|
||||
<p>Please log in to your dashboard to review the revised submission and proceed with the necessary action.</p>
|
||||
<p>Thank you,<br/>Minglar Team</p>
|
||||
`;
|
||||
|
||||
try {
|
||||
@@ -49,13 +50,14 @@ export async function sendEmailToMinglarAdmin(
|
||||
// messageId: string
|
||||
}> {
|
||||
|
||||
const subject = `New Host Application Recieved : ${hostCompanyName}`;
|
||||
const subject = "New Host Application Submitted for Review";
|
||||
|
||||
const htmlContent = `
|
||||
<p>Dear ${minglarAdminName},</p>
|
||||
<p>Host ${hostCompanyName} with reference number: <strong>${hostRefNumber}</strong> has submited their application.</p>
|
||||
<p>Please review their appliaction and take the necessary action.</p>
|
||||
<p>Best regards,<br/>Minglar Team</p>
|
||||
<p>Hi ${minglarAdminName},</p>
|
||||
<p>${hostCompanyName} has submitted their application and is awaiting your review.</p>
|
||||
<p>Reference number: <strong>${hostRefNumber}</strong></p>
|
||||
<p>Please log in to your dashboard to review the submission and take the necessary action.</p>
|
||||
<p>Thank you,<br/>Minglar Team</p>
|
||||
`;
|
||||
|
||||
try {
|
||||
@@ -87,13 +89,14 @@ export async function sendPQPEmailToAM(
|
||||
// messageId: string
|
||||
}> {
|
||||
|
||||
const subject = `New Pre-qualification Questionnaire from : ${hostCompanyName}`;
|
||||
const subject = "New Host Application Submitted for Review";
|
||||
|
||||
const htmlContent = `
|
||||
<p>Dear ${minglarAdminName},</p>
|
||||
<p>Host ${hostCompanyName} with reference number: <strong>${hostRefNumber}</strong> has submited their pre-qualification questionnaire.</p>
|
||||
<p>Please review their appliaction and take the necessary action.</p>
|
||||
<p>Best regards,<br/>Minglar Team</p>
|
||||
<p>Hi ${minglarAdminName},</p>
|
||||
<p>${hostCompanyName} has submitted the pre-qualification details and is awaiting your review.</p>
|
||||
<p>Reference number: <strong>${hostRefNumber}</strong></p>
|
||||
<p>Please log in to your dashboard to review the submission and take the necessary action.</p>
|
||||
<p>Thank you,<br/>Minglar Team</p>
|
||||
`;
|
||||
|
||||
try {
|
||||
@@ -114,3 +117,4 @@ export async function sendPQPEmailToAM(
|
||||
throw new ApiError(500, "Failed to send OTP to host via email.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,13 +13,13 @@ export async function sendOtpEmailForHost(
|
||||
const subject = "Your Minglar Verification Code";
|
||||
|
||||
const htmlContent = `
|
||||
<p>Hi there 👋</p>
|
||||
<p>Here’s your verification code to get started:</p>
|
||||
<p>Hi there,</p>
|
||||
<p>Here's your verification code to get started:</p>
|
||||
<p><strong>${otp}</strong></p>
|
||||
<p>This code is valid for the next 5 minutes.</p>
|
||||
<p>Once verified, you can continue setting up your Minglar account. If you didn’t request this, you can safely ignore this email.</p>
|
||||
<p>Once verified, you can continue setting up your Minglar account. If you didn't request this, you can safely ignore this email.</p>
|
||||
<p>Need help? Reach out to us at info@minglargroup.com.</p>
|
||||
<p>Warm regards,<br/><strong>Team Minglar</strong></p>
|
||||
<p>Warm regards,<br/>Team Minglar</p>
|
||||
`;
|
||||
|
||||
try {
|
||||
@@ -51,18 +51,19 @@ export async function sendWelcomeEmailToHost(
|
||||
const subject = "Get Started as a Minglar Host";
|
||||
|
||||
const htmlContent = `
|
||||
<p>Hi ${emailAddress}</p><br/>
|
||||
<p>We’re excited to have you join Minglar as a host. Welcome aboard! 🌟</p><br/>
|
||||
<p>To get started and bring your activities live, here’s what comes next:</p><br/>
|
||||
<p><strong>Your next steps:</strong></p><br/>
|
||||
<p>1. Complete your host profile</p><br/>
|
||||
<p>2. Complete the pre-qualification process for all your activities</p><br/>
|
||||
<p>3. Submit your activity details for review</p><br/>
|
||||
<p>4. Go live and start receiving bookings</p><br/>
|
||||
<p><strong>👉 Access your Host Portal:</strong></p><br/>
|
||||
<p>${config.HOST_LINK}</p><br/><br/>
|
||||
<p>If you need any support along the way, our team is always here to help. You can reach us anytime at info@minglargroup.com.</p><br/>
|
||||
<p>We’re looking forward to seeing your experiences come to life on Minglar.</p><br/>
|
||||
<p>Hi ${emailAddress},</p>
|
||||
<p>We're excited to have you join Minglar as a host. Welcome aboard!</p>
|
||||
<p>To get started and bring your activities live, here's what comes next:</p>
|
||||
<p><strong>Your next steps:</strong></p>
|
||||
<p>1. Complete your host profile</p>
|
||||
<p>2. Complete the pre-qualification process for all your activities</p>
|
||||
<p>3. Submit your activity details for review</p>
|
||||
<p>4. Go live and start receiving bookings</p>
|
||||
<p><strong>Access your Host Portal:</strong><br/>
|
||||
<a href="${config.HOST_LINK}" target="_blank">${config.HOST_LINK}</a>
|
||||
</p>
|
||||
<p>If you need any support along the way, our team is always here to help. You can reach us anytime at info@minglargroup.com.</p>
|
||||
<p>We're looking forward to seeing your experiences come to life on Minglar.</p>
|
||||
<p>Warm regards,<br/>Team Minglar</p>
|
||||
`;
|
||||
|
||||
@@ -84,3 +85,4 @@ export async function sendWelcomeEmailToHost(
|
||||
throw new ApiError(500, "Failed to send OTP to host via email.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user