Skip to content

shobhit5923/trackk.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trackk.github.io

Terms and Conditions

To send the mails successfully follow the steps given below:

  • Admin must use a gmail account which had its permissions changed by using the link provided here. Give the require access.
  • Now use the same ID in med_mail to fill in the credentials (user and password).
   const transporter = nodemailer.createTransport({
      service: "gmail",
      auth: {
          user: "<admin@gmail.com>",
          pass: "<password>"
      }
  });
  • Next one must set the mail settings accordingly.
const mailOptions = {
     from: '"TITLE " admin@gmail.com', // sender address
     to: "sender1@gmail.com , ", // list of receivers 
     subject: "SUBJECT", // Subject line
     text: "ALERT", // plain text body
     html: "<b>MESSAGE</b>", // html body
 };
  • Save the code and you are good to go.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published