Description: This is simple emailing application.
- Enter the email address you want to send email to.
- Enter the email subject
- Enter the email
- Attach a single file
- Click on the send button.
- NodeJS
- Express.js
- Nodemailer
- Googleapis
- Multer
- Clone the repo
- Install all the packages (run
npm install
on your terminal) - Create a .env file
- Set all the environment variables as seen in .env.example file
- Choose any port (e.g 3000)
- Register on Google Cloud Platform
- Create a project, and obtain your client ID and client secret.
- Go to the Google playground to generate your refresh token
- Run
npm run dev
on your terminal
- Sending email without attachment
- Sending email with multiple attachments (not more than 5).