feat: BCC team@valleyofthecommons.com on all registration/signup emails
Adds BCC to application confirmation, payment confirmation, and waitlist welcome emails for team visibility over signups. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
aaa11acefa
commit
9fdfb29893
|
|
@ -331,6 +331,7 @@ module.exports = async function handler(req, res) {
|
||||||
const info = await smtp.sendMail({
|
const info = await smtp.sendMail({
|
||||||
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
||||||
to: application.email,
|
to: application.email,
|
||||||
|
bcc: 'team@valleyofthecommons.com',
|
||||||
subject: confirmEmail.subject,
|
subject: confirmEmail.subject,
|
||||||
html: confirmEmail.html,
|
html: confirmEmail.html,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -210,6 +210,7 @@ async function handleWebhook(req, res) {
|
||||||
const info = await smtp.sendMail({
|
const info = await smtp.sendMail({
|
||||||
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
||||||
to: application.email,
|
to: application.email,
|
||||||
|
bcc: 'team@valleyofthecommons.com',
|
||||||
subject: confirmEmail.subject,
|
subject: confirmEmail.subject,
|
||||||
html: confirmEmail.html,
|
html: confirmEmail.html,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -199,6 +199,7 @@ module.exports = async function handler(req, res) {
|
||||||
const info = await smtp.sendMail({
|
const info = await smtp.sendMail({
|
||||||
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
from: process.env.EMAIL_FROM || 'Valley of the Commons <contact@valleyofthecommons.com>',
|
||||||
to: signup.email,
|
to: signup.email,
|
||||||
|
bcc: 'team@valleyofthecommons.com',
|
||||||
subject: email.subject,
|
subject: email.subject,
|
||||||
html: email.html,
|
html: email.html,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue