Download the PHP package hitraa/openforge-mailer without Composer

On this page you can find all versions of the php package hitraa/openforge-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openforge-mailer

๐Ÿ“ง OpenForge Mailer - PHP SMTP Mailer

Latest Version PHP Version

A lightweight, dependency-free PHP SMTP Mailer with support for:


๐Ÿš€ Features


๐Ÿ“˜ Example Use Cases


๐Ÿ“ฆ Installation

Copy the Mailer.php file to your project.

Alternatively, if you're using Composer:


๐Ÿ“ Directory Structure


๐Ÿš€ Usage

1. Basic email


2. With attachments


3. With tracking pixel

Your endpoint should log or store open events using query params like ?message_id=...&email=...


4. SMTP read receipt (SMTP DSN) behavior

Enabling read receipts:

This adds NOTIFY=SUCCESS,FAILURE,DELAY in RCPT TO, and the recipient's mail server will notify (if supported).

Also adds optional headers:

Note: Behavior depends on recipient's server & client.


5. Fallback to PHP mail() if SMTP fails


6. With custom message id prefix


7. With multiple recipients


Parse RFC email formats

Supports:


๐Ÿž Debugging

Enable SMTP-level debug messages:

This will print the SMTP command flow.


๐Ÿ“‚ Example File


๐Ÿ” SMTP Security Options

Default port Option Description Mailer constant
587 tls Default (STARTTLS) Mailer::SECURE_TLS
465 ssl SSL connection Mailer::SECURE_SSL
587 starttls Explicit STARTTLS Mailer::SECURE_STARTTLS

๐Ÿ›ก License

Released under the MIT License


๐Ÿ‘จโ€๐Ÿ’ป Author

Made with โค๏ธ by Harshal Khairnar Founder, Hitraa Technologies ๐Ÿ“ง [email protected]


๐Ÿค Contributions

Feel free to fork and submit pull requests. All improvements are welcome!


โš ๏ธ Disclaimer

This library is designed for educational and production-ready purposes. Use responsibly when tracking user interactions.


All versions of openforge-mailer with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hitraa/openforge-mailer contains the following files

Loading the files please wait ....