digi-sendzi: JavaScript SMTP Email Library

This Composer package automates account deletion in Laravel, providing a pre-built form and efficient process for developers.

digiSendziImg

CoreCore FeaturesFeatures

smtpIntegrationImg
SMTP Integration

digi-sendzi leverages the SMTP protocol for secure and reliable email delivery. It allows you to connect to your own SMTP server or use third-party providers.

multipartSupportImg
Multipart Support

Send both text and HTML formats in the same email to cater to different email clients and preferences. Easily include rich formatting and styling in your HTML content.

attachmentsImg
Attachments

Attach files like PDFs, images, or text documents to your emails for comprehensive communication. This enables sending complex or detailed information efficiently.

InstallationInstallation andand UsageUsage

oneImg
Installation and Usage

Install digi-sendzi using npm: `npm install digi-sendzi`

twoImg
Basic Example

Create a new transporter instance with your SMTP server credentials, configure email options, and send an email using the sendMail method.

threeImg
Error Handling

digi-sendzi provides error handling. Catch errors using a.catch() block to manage issues like missing fields or SMTP connection failures.

installationImg

APIAPI Reference:Reference: createTransportcreateTransport

Purpose

Creates a new Transporter instance with specified SMTP server configurations.

Options

An object with properties like `host`, `port`, and `auth` for user credentials.

Example

Create a new transporter for `smtp.example.com`on port 587 with authentication credentials.

sendMailImg

APIAPI Reference:Reference: Transporter.sendMailTransporter.sendMail

Purpose

Sends an email with the specified option.

Options

An object with properties like `from`, `to`, `subject`, `text`, `html`, and `attachments`.

Example

Send an email with plain text, HTML content, and a text attachment.

 DevelopmentDevelopment

developOneImg
Testing

Digi-sendzi includes unit tests to ensure code quality and stability.

developTwoImg
Contributing

Contribute to the development of digi-sendzi by reporting issues, suggesting improvements, and submitting pull requests.

developThreeImg
Code Style

Follow the provided code style guidelines and standards for consistent code quality.

developmentImg.png

LicenseLicense andand AuthorAuthor

licenseandAuthorImg

NextNext StepsSteps

key

Explore

Learn more about digi-sendzi's features and functionalities by visiting the GitHub repository and NPM package page.

key

Integrate

Integrate digi-sendzi into your JavaScript projects for reliable and efficient email sending capabilities.

key

Contribute

Contribute Join the digi-sendzi community and contribute to its development.