'
// =============================================================================
// Brand Colors & Logo URLs
@@ -248,7 +248,7 @@ interface EmailTemplate {
function getMagicLinkTemplate(url: string, expiryMinutes: number = 15): EmailTemplate {
const content = `
${sectionTitle('Sign in to your account')}
- ${paragraph('Click the button below to securely sign in to the MOPC Platform.')}
+ ${paragraph('Click the button below to securely sign in to the MOPC Portal.')}
${infoBox(`This link expires in ${expiryMinutes} minutes`, 'warning')}
${ctaButton(url, 'Sign In to MOPC')}
@@ -257,10 +257,10 @@ function getMagicLinkTemplate(url: string, expiryMinutes: number = 15): EmailTem
`
return {
- subject: 'Sign in to MOPC Platform',
+ subject: 'Sign in to MOPC Portal',
html: getEmailWrapper(content),
text: `
-Sign in to MOPC Platform
+Sign in to MOPC Portal
=========================
Click the link below to sign in to your account:
@@ -298,7 +298,7 @@ function getGenericInvitationTemplate(
`
return {
- subject: "You're invited to join the MOPC Platform",
+ subject: "You're invited to join the MOPC Portal",
html: getEmailWrapper(content),
text: `
${greeting}
@@ -693,7 +693,7 @@ export async function sendTestEmail(toEmail: string): Promise {
try {
const content = `
${sectionTitle('Test Email')}
- ${paragraph('This is a test email from the MOPC Platform.')}
+ ${paragraph('This is a test email from the MOPC Portal.')}
${infoBox('If you received this, your email configuration is working correctly!', 'success')}
Sent at ${new Date().toISOString()}
@@ -704,8 +704,8 @@ export async function sendTestEmail(toEmail: string): Promise {
await transporter.sendMail({
from,
to: toEmail,
- subject: 'MOPC Platform - Test Email',
- text: 'This is a test email from the MOPC Platform. If you received this, your email configuration is working correctly.',
+ subject: 'MOPC Portal - Test Email',
+ text: 'This is a test email from the MOPC Portal. If you received this, your email configuration is working correctly.',
html: getEmailWrapper(content),
})
return true
@@ -806,7 +806,7 @@ function getNotificationEmailTemplate(