Download the PHP package schema31/php-ci-mailer without Composer

On this page you can find all versions of the php package schema31/php-ci-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 php-ci-mailer

php-ci-mailer

======

Packagist

Mailer for CodeIgniter.

Install

You can install the library using composer:

How to use

Configurations

Here the list of all configuration attributes supported:

Preference Default Value Options Description
useragent CodeIgniter None The “user agent”.
protocol mail mail sendmail smtp The mail sending protocol.
mailpath /usr/sbin/sendmail None The server path to Sendmail.
smtp_host No Default None SMTP Server Address.
smtp_user No Default None SMTP Username.
smtp_pass No Default None SMTP Password.
smtp_port 25 None SMTP Port.
smtp_timeout 5 None SMTP Timeout (in seconds).
smtp_keepalive FALSE TRUE FALSE Persistent SMTP connections.
smtp_crypto No Default tls ssl SMTP Encryption.
wordwrap TRUE TRUE FALSE Word-wrap.
wrapchars 76 None Character count to wrap at.
mailtype text text html Type of mail.
charset $config['charset'] Character set (utf-8, iso-8859-1, etc.).
validate FALSE TRUE FALSE Whether to validate the email address.
priority 3 1 2 3 4 5 Email Priority. 1 = highest. 5 = lowest.
crlf \n “\r\n” “\n” “\r” Newline character.
newline \n “\r\n” “\n” “\r” Newline character.
bcc_batch_mode FALSE TRUE FALSE Enable BCC Batch Mode.
bcc_batch_size 200 None Number of emails in each BCC batch.
dsn FALSE TRUE FALSE Enable notify message from server.
from_email No Default None “From” e-mail address.
from_name No Default None “From” display name.
prefix_subject No Default None If you want to set a prefix for your subject

Internal configuration

You can use an array of configurations:

Configuration file

You can use the file named "cemail.php" in application/config folder and the library loads it automatically:

Adding recipients

You can add a single or multiple recipients (like the "to", "cc", "bcc" recipient) with:

Or

Or

Printing debbuger message

If you want to print debug message after the send of the email:

Sending an email


All versions of php-ci-mailer with dependencies

PHP Build Version
Package Version
No informations.
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 schema31/php-ci-mailer contains the following files

Loading the files please wait ....