Download the PHP package zeus/email without Composer

On this page you can find all versions of the php package zeus/email. 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 email

Zeus Email - PHP SMTP Client

A lightweight and efficient email handling library for PHP, providing SMTP, IMAP, and POP3 support.

📥 Installation

Install the package via Composer:

or updated code

🔧 Configuration

Set up the SMTP authenticator:

📩 Sending an Email

Define your email class:

📤 Sending the Email

and extra features


📅 scheduleAt Method

The scheduleAt method allows you to schedule an email to be sent at a specific date and time in the future. It accepts a DateTime object that specifies when the email should be sent, allowing you to automate the sending process based on your requirements.

🔧 Usage

To use scheduleAt, call it within the email building process and pass a valid DateTime instance as an argument. This will queue the email to be sent at the specified date and time.

Example

In this example, the email will be scheduled to be sent on the last day of the current month. You can adjust the DateTime object to any valid date and time format.

Parameters

📅 Example of Scheduling

You can set the email to send on a specific date like this:

This will schedule the email to be sent on April 1st, 2025 at 9:00 AM.

📜 Notes


İşte setDelay metodunun tanıtımını içeren README formatında yazılmış metin:


setDelay Method

The setDelay method allows you to delay the sending of an email by a specific amount of time. This method accepts a Delay object that lets you add hours, minutes, and seconds to the email's send time, making it easy to schedule emails to be sent after a delay.

🔧 Usage

To use setDelay, simply call it within the email building process and pass a valid Delay object as an argument. You can chain methods like addHour(), addMinute(), or addSecond() to specify the delay duration.

Example

of for debugging with the dd method

In this example, the email will be delayed for 1 hour and 15 minutes before being sent. You can adjust the delay time by chaining additional addHour(), addMinute(), or addSecond() methods to customize the delay duration.

Parameters

📅 Example of Setting a Delay

This will delay the email by 2 hours and 30 minutes before sending it.


📤 BulkReceiver Class

The BulkReceiver class is designed to make it easy to send an email to multiple recipients at once. It allows you to add multiple email addresses and manage them as a group. This is particularly useful when sending bulk emails such as newsletters, notifications, or promotional content.

🔧 Usage

To use the BulkReceiver class, you need to create an instance of it and add each recipient with the addReceiver() method. You can optionally specify a name for each recipient.

Example

📧 BulkReceiver object

📅 Example with Custom Names

📜 Notes


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.

👤 Author


All versions of email with dependencies

PHP Build Version
Package Version
Requires ext-sockets Version *
ext-fileinfo Version *
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 zeus/email contains the following files

Loading the files please wait ...