diff options
| author | Joe Carstairs <me@joeac.net> | 2026-01-24 10:09:47 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-01-24 10:09:47 +0000 |
| commit | 3e14e8acbecea6ba5d9b98d5bb41c4cad8d9b865 (patch) | |
| tree | a2ae39c8b4bc5e9cdd40edf87be36a50d3b3dbaf /website/src/actions/sendmail.ts | |
| parent | 9c7ed56823a4ba02d9e70f3a9dc4f00c9987add3 (diff) | |
adds OTP emails to SentEmails table
Diffstat (limited to 'website/src/actions/sendmail.ts')
| -rw-r--r-- | website/src/actions/sendmail.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/website/src/actions/sendmail.ts b/website/src/actions/sendmail.ts index 06bd08a..bc3a2fa 100644 --- a/website/src/actions/sendmail.ts +++ b/website/src/actions/sendmail.ts @@ -75,6 +75,7 @@ async function sendmail({ subject: `joeac.net: ${name} left a message`, text: `${name} <${email}> sent you a message:\n\n\n${message}`, }); + await db .insert(SentEmails) .values({ messageId: info.messageId, sentAt: Date.now() }); |
