Giter Site home page Giter Site logo

viktor-kindrat / nodemailer Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 2.02 MB

Node js task. Program that sends mails to setted in file list of subscribers

Home Page: https://nodemailer-ghe1.onrender.com/

JavaScript 32.57% HTML 19.16% SCSS 48.26%
express nodejs nodemailer outlook smpt filereader-api mail

nodemailer's Introduction

Sender of Default Messages to List of Users

wakatime

Test the Project

You can test the project at: https://nodemailer-ghe1.onrender.com/. However, please do not send too many messages at once.

How to Use

Follow the steps below to use the project:

  1. Download this repository to your computer and extract it.
  2. Check if Node.js and npm are installed by running the following commands:
node -v
npm -v
  1. Create a text file named .env in the extracted folder and fill it as shown below:
S_MAIL = "Your email here"
S_PASS = "Your password here"
S_HOST = "SMTP hosting server address"
S_PORT = "Port to SMTP hosting server"

For Gmail, the SMTP server is smtp.gmail.com, and the port is 587. You can get this information from your mail service provider.

  1. Install the required modules using the following terminal commands:
npm i express
npm i body-parser
npm i nodemailer
npm i dotenv
npm i open
  1. Open the folder with the extracted repository in the terminal and run it using the following command:
node app
  1. Enter the required data in the inputs and upload a .txt file with the email addresses to the designated area.

Note: The file should be formatted as follows:

  1. Click "Send emails."
  2. Wait for the server's response.

nodemailer's People

Contributors

viktor-kindrat avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

hlr121

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.