-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMTP issue - nothing in the console? How to debug further? #1574
Comments
Please add logs to this function here to figure out what might be going on - https://github.com/boxyhq/saas-starter-kit/blob/main/lib/email/sendEmail.ts#L22. We'll push a change to include more details in the logs. |
@shuther You need to signup first before logging in via magic link. |
While debugging the issue, I discovered another "problem"; maybe I am missing an env to get proper debug statements? I am using for now: |
If we go back to the SMTP issue above (I reverted the changes in the DB), the email is sent (no sure what changed), however I am still stuck in this process when I click on the link:
On Chrome I have:
And I still have nothing in the server console; I just see a bunch of:
thank you for your help. |
I setup .env with fake SMTP settings from mailtrap. If I try to sign-in using an email such as test@example.com, I am getting the error message:
Something went wrong while sending the email. Please try again later.
However, there is nothing in the console to investigate further.
Is there a parameter I could use to get more logs about the issue? That would help a lot.
The text was updated successfully, but these errors were encountered: