Download the PHP package descubraomundo/notifymehq-mail without Composer

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

Build Status

NotifyMeHQ Mail

An UNOFFICIAL Mail gateway for NotifyMeHQ as they "intentionally removed mail support" for NotifyMeHQ.

If you want to keep the default contract of NotifyMeHQ public function notify($to, $message); with both parameters as a string, the expected behavior is:

  1. The recipient of the email notificafion will not have his name on the recipients information, it will only be the email.
  2. The subject of the email will be the first 75 characters of the $message content, but all HTML tags will be removed.
  3. The body of the email, will be the content of the $message it self with all the HTML tags.
    • If the body of the email, is a HTML, it will automatically create a Plain text of it, formated just like the HTML, so it will reduce the SPAM score for that email.
    • If the body has no HTML, it will be sent as plain text.

Otherwise you can send the $message variable as an array with the desired configurations below.

Configuration

Here is the list of all available configurations that you can provide for you notifierFactory and for your notification.

Notifier

Configuration Required Description
host true Specify your SMTP Server Host.
port true Specify your SMTP Server Port, check with your host. Eg: 25 or 465 or 2525.
encryption true Specify your SMTP Server Encryption, check with your host. Eg: tls or ssl.
username true Specify your SMTP Server Username.
password true Specify your SMTP Server Password.
subject optional Specifies the subject line that is displayed in the recipients' mail client.
cc optional Specifies the addresses of recipients who will be copied in on the message.
bcc optional Specifies the addresses of recipients who the message will be blind-copied to. Other recipients will not be aware of these copies.
replyTo optional Specifies the address where replies are sent to.
from optional Specifies the sender address if you want to overwrite the value set on the configuration properties.
contentType optional Specifies the format of the message (usually text/plain or text/html).
date optional Specifies the unix time stamp date at which the message was sent.
returnPath optional Specifies where bounces should go (Swift Mailer reads this for other uses).
priority optional Specifies the email priority. Setting the priority will not change the way your email is sent It is purely an indicative setting for the recipient.

Notification

If you provide any of the configuration bellow, they will overwrite the default configuration provided for the notifierFactory.

Configuration Required Description
subject true Specifies the subject line that is displayed in the recipients' mail client.
body true Specifies the body of the email that the recipient will receive.
cc optional Specifies the addresses of recipients who will be copied in on the message.
bcc optional Specifies the addresses of recipients who the message will be blind-copied to. Other recipients will not be aware of these copies.
replyTo optional Specifies the address where replies are sent to.
from optional Specifies the sender address if you want to overwrite the value set on the configuration properties.
contentType optional Specifies the format of the message (usually text/plain or text/html).
id optional Identifies this message with a unique ID, usually containing the domain name and time generated.
date optional Specifies the unix time stamp date at which the message was sent.
returnPath optional Specifies where bounces should go (Swift Mailer reads this for other uses).
priority optional Specifies the email priority. Setting the priority will not change the way your email is sent It is purely an indicative setting for the recipient.

Advanced

body

For the body value you can provide both versions(HTML and plain text):

Or you can provide only one version, and we will detect automatically if is HTML or plain text and configure correctly:

OR

from, to, cc, bcc, replyTo

For all email recipients / sender configuration you can provide them in two variants:

Email and Name (As an array)

Email Only (As a string)

priority

This configuration takes an integer value between 1 and 5:

Example

Todo

License

NotifyMe is licensed under The MIT License (MIT).


All versions of notifymehq-mail with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
graham-campbell/manager Version ~2.0
swiftmailer/swiftmailer Version ~5.4
soundasleep/html2text Version ~0.2
illuminate/contracts Version ~5.0
illuminate/support Version ~5.0
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 descubraomundo/notifymehq-mail contains the following files

Loading the files please wait ...