Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 2.17 KB

README.md

File metadata and controls

64 lines (39 loc) · 2.17 KB

SEND_EMAIL - тренинговый проект по NODE.JS по отрпавке email

Оригинальное описание

Оригинальный репозиторий с github

Some git help

some Node.js help

markdown-cheatsheet-online

github mastering-markdown

Change setting on ypur account

  1. enter in google account

pic1

  1. set up 2-step verification

pic2

  1. generate app password

pic2 this password will be used as a login

accessibility text

  1. correct your mail setting
      let transporter = nodeMailer.createTransport({
          host: 'smtp.googlemail.com',
          port: 465,
          secure: true,
          auth: {
              user: '[email protected]',
              pass: 'your app password'
      });
  1. correct your sender name
      let mailOptions = {
          from: '"your-sender name" <[email protected]>', // sender address
          to: req.body.to, // list of receivers
          subject: req.body.subject, // Subject line
          text: req.body.body, // plain text body
          html: '<b>NodeJS Email Tutorial</b>' // html body