Skip to content

iostreamdoth/NodeJSmailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(NodeJSMailer) Mailer client application for nodejs

NodeJSMailer provides basic functionalities to send emails. This project is useful to those who want to send an emails using a csv file.

csv columns-> firstname,lastname,email,company,jobtitle,sendmail

Basic useful feature list:

  • Send emails.
  • Use and csv file to send emails.
  • Add delays in in consecutive emails.
  • No need to store password and username, it's readline.
  • State whether a mail to be send to an email address by just setting a flag.

Pre requisties!

  • npm
  • nodejs

Node Modules required!

  • nodemailer
  • csv-load-sync
  • readline

clone this repository in to a directory.

$ git clone https://github.com/nishantsharmajecrc/NodeJSmailer.git
$ cd NodeJSmailer
$ npm install

To change the body of the mail modify these lines.

var body="Hi " + firstname + ",<br/><br/>";
body += "My name is Name of myself. What's up"
body += "I'm looking for someone who can sell something to someone through someone like me" 
body +=	"<br/><br/>I have 4+ years of work experience salesman." 
body += "<br/><br/>Attached is my resume. Please refer me if you come across any salesman."
body += "<br/><br/>Thanks,<br/>Name of myself";
body += "<br/>LinkedIn: Some link<br/> Cell: Some cell number"

also in email.js just add

from: 'Name Lastname <enter email here>', // sender address
// let the magic begin

to start the application.

//in Ubuntu
$ nodejs app.js 

// In other os
$ node app.js //in other OS's 

to start the application.

email id? enter emailid
password? enter password 
// let the magic begin

Hope this helps.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published