Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.63 KB

README.md

File metadata and controls

70 lines (46 loc) · 1.63 KB

NOTE: This is a demonstration of an email service built using Nuxt.js version 2 and Nodemailer. Please note that client-side validations are not applied in this demo. All validations are performed on the server-side using Nodemailer's built-in validation functions.

Getting Started

  1. Clone the repository:
git clone https://github.com/vahid-bagheri/nuxt2-nodemailer-email-service.git
  1. Install dependencies:
cd nuxt2-nodemailer-email-service
yarn install
  1. Create a .env file in the root directory and add your SMTP server details:
SMTP_SERVICE=gmail
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your-email@gmail.com
SMTP_PASSWORD=your-password
  1. Start the development server:
yarn dev
  1. Access the application at http://localhost:3000.

Usage

To use the email sending service, navigate to the / route. You will be presented with a form to fill out the email details:

Email Form

Fill out the required fields and click the "Send Email" button. The email will be sent using Nodemailer.

Contributing

If you want to contribute to this project, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch:
git checkout -b my-feature-branch
  1. Make your changes and commit them:
git add .
git commit -m "Add my feature"
  1. Push your branch to your fork:
git push -u origin my-feature-branch
  1. Create a pull request on the original repository.

Thank you for your interest in contributing to this project!