ashik-gmail-sender
v1.0.0
Published
A simple and easy-to-use Node.js package to send emails through Gmail using Nodemailer. Send emails securely with Gmail's SMTP server, including text and HTML emails.
Maintainers
Readme
Email Sender Package
A simple email sender using Nodemailer to send emails through Gmail.
Install
npm install ashik-gmail-senderusage
const sendEmail = require('ashik-gmail-sender');
or
import sendEmail from 'ashik-gmail-sender';
sendEmail({
user: '[email protected]', // your Gmail email
pass: 'your-email-password', // your Gmail password or OAuth2 token
to: '[email protected]',
subject: 'Hello from my package',
text: 'This is a test email sent using my NPM package!',
});