Sending email via Node.js using nodemailer is not working
问题 I've set up a basic NodeJS server (using the nodemailer module) locally ( http://localhost:8080 ) just so that I can test whether the server can actually send out emails. If I understand the SMTP option correctly (please correct me if I'm wrong), I can either try to send out an email from my server to someone's email account directly , or I can send the email, still using Node.js, but via an actual email account (in this case my personal Gmail account), i.e using SMTP. This option requires me