ReferenceError: nodemailer is not defined

hi
18 Replies
R E N
R E N15mo ago
Jochem
Jochem15mo ago
you'll have to import nodemailer from somewhere
R E N
R E N15mo ago
this one?
R E N
R E N15mo ago
I already installed it
R E N
R E N15mo ago
R E N
R E N15mo ago
hi I import it but it doesn't work but I didn't get any errors I didn't receive email
R E N
R E N15mo ago
R E N
R E N15mo ago
Jochem
Jochem15mo ago
I can't really help with a username/password issue for Gmail... Did you look at the link in the error?
R E N
R E N15mo ago
yes I did it all but it doesn't work
R E N
R E N15mo ago
I think I just need mail server
Jochem
Jochem15mo ago
do you have 2-factor on? (and if you don't, you should) iirc you need to set up a separate app password if you do
R E N
R E N15mo ago
yes I have and still not working
R E N
R E N15mo ago
R E N
R E N15mo ago
R E N
R E N15mo ago
I also using this
Jochem
Jochem15mo ago
iirc, those passwords have spaces in them for readability, that sometimes get copied along but aren't part of it? Otherwise I have no idea, sorry
R E N
R E N15mo ago
there's no spaces but thank you for helping me appreciated ❤️