completionId: cgen-2c97998216a74b5cb5cd1de6a5e8068a
cgen-2c97998216a74b5cb5cd1de6a5e8068a
This commit is contained in:
parent
fd7baef1d4
commit
5eacaea047
1 changed files with 6 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ export const emailService = {
|
||||||
`If you didn't request this, contact us at ${verifySupportEmail}.`,
|
`If you didn't request this, contact us at ${verifySupportEmail}.`,
|
||||||
].join("\n");
|
].join("\n");
|
||||||
|
|
||||||
await transporter.sendMail({
|
const result = await transporter.sendMail({
|
||||||
from: fromEmail,
|
from: fromEmail,
|
||||||
to,
|
to,
|
||||||
subject,
|
subject,
|
||||||
|
|
@ -113,6 +113,11 @@ export const emailService = {
|
||||||
"X-Entity-Ref-ID": verificationUrl.slice(-24),
|
"X-Entity-Ref-ID": verificationUrl.slice(-24),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
console.log("[EmailService] Verification email sent successfully:", {
|
||||||
|
to,
|
||||||
|
messageId: result.messageId,
|
||||||
|
response: result.response,
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
async sendInviteEmail(params: {
|
async sendInviteEmail(params: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue