Skip to content

Commit

Permalink
chore: debugging sending email
Browse files Browse the repository at this point in the history
  • Loading branch information
dahal committed May 19, 2024
1 parent 50756d5 commit ab35858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GOOGLE_CLIENT_SECRET="xxxxxxxxxx"

# SMTP
EMAIL_FROM="'Captable, Inc.' <[email protected]>"
EMAIL_SERVER=smtp://captable:password@127.0.0.1:2500
EMAIL_SERVER=smtp://captable:password@localhost:1025

# Uploads
UPLOAD_ENDPOINT="http://127.0.0.1:9002"
Expand Down
2 changes: 2 additions & 0 deletions src/jobs/auth-verification-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export const sendAuthVerificationEmail = async (

const confirmLink = `${baseUrl}/verify-email/${token}`;

console.log("Sending email to ", email, "with link ", confirmLink);

const html = await render(
AccountVerificationEmail({
verifyLink: confirmLink,
Expand Down

0 comments on commit ab35858

Please sign in to comment.