Skip to content
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

Not able to send verification emails in development #250

Open
kuttim opened this issue Feb 19, 2021 · 9 comments
Open

Not able to send verification emails in development #250

kuttim opened this issue Feb 19, 2021 · 9 comments
Labels

Comments

@kuttim
Copy link

kuttim commented Feb 19, 2021

When I log in to account, go to settings and press resend verification it seems to be hanging on console side and Parser being undefined, am I doing something wrong?
Here's a error log:

(RUN) @app/worker: [worker(worker-412045df0ac99677b2)] ERROR: Failed task 13 (send_email) with error Cannot read property 'Parser' of undefined (2.18ms):
(RUN) @app/worker:   TypeError: Cannot read property 'Parser' of undefined
@benjie
Copy link
Member

benjie commented Feb 22, 2021

I'm not able to reproduce this.

Screenshot_20210222_110313

@benjie
Copy link
Member

benjie commented Feb 22, 2021

Maybe it's a dependency issue. Try using yarn to install the versions in the lockfile.

@kuttim
Copy link
Author

kuttim commented Feb 22, 2021

Will try to re-install modules with yarn and updating this.

@kuttim
Copy link
Author

kuttim commented Feb 22, 2021

I recloned the repository on master branch used yarn to install the modules but same issue occurs, what version of node are you running?

@benjie
Copy link
Member

benjie commented Feb 22, 2021

Node v14.11 running Graphile Starter from the main branch.

@ryanblakeley
Copy link

i'm not getting the same error as OP re: TypeError: Cannot read property 'Parser' of undefined ; but cloning the repo and running without any changes, the send_email task does seem to fail. i'm using node v14.18. everything else seems to be working otherwise.

image

@benjie
Copy link
Member

benjie commented Mar 7, 2022

Presumably that means there's an issue between you and ethereal.email, perhaps a firewall or similar?

@ryanblakeley
Copy link

it looks like other people are seeing the same or a similar issue nodemailer/nodemailer#1096 (comment)

i hadn't heard of ethereal, but i like the idea. i can send an email to my ethereal address from macOS mail, gmail in the browser, and from a random production web app. even though their service status site is not available, it appears to work with those email senders. maybe it's an issue with nodemailer or something about running it locally.

@benjie
Copy link
Member

benjie commented Mar 7, 2022

Feel free to switch it out for an alternative nodemailer transport, I believe they have a test one that could be suitable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants