Trying to send email using smtp-relay.gmail.com and Nodemailer. Error ssl3_get_record:wrong version number
问题 Trying to send email with G Suite smtp-relay using Nodemailer . const transporter = nodemailer.createTransport({ host: "smtp-relay.gmail.com", port: 587, secure: true, auth: { user: "username@mydomain.com", pass: "password" } }); const result = await transporter.sendMail({ from: `'"JOHN" <john@externaldomain.com>'`, to: "hello@mydomain.com", subject: "Hello", text: "Hello world!", }); This is what G Suite says about using TLS : Link1 Link2 This is what Nodemailer says: Link CONTINUE Basically