Download the PHP package milkyway-multimedia/ss-send-this without Composer

On this page you can find all versions of the php package milkyway-multimedia/ss-send-this. 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 ss-send-this

Send This (Email Transport)

Send This is another email transport/mailer for Silverstripe, but a bit more comprehensive in it can support different methods of delivery (transports) and has support for web hooks.

It is focused on sending email via API and SMTP, and supports the following methods of transport:

It also has logging and tracking support on the Silverstripe Side, and web hook handling if you are using Mandrill or Amazon SES (all configurable). It will also handle bounces if you are using the SMTP endpoint of Mandrill or Amazon SES if you prefer that route for some reason...

It is inspired by the Laravel Mail Transport by @taylorotwell, but uses the PHPMailer and HTTP/Guzzle libraries

In future hopefully it will integrate with a Silverstripe Queue Module, so you will be able to push mail off to a queue and make the whole process a little bit faster for the end user.

Install

Add the following to your composer.json file

Web Hook Events

To handle web hooks, events are fired. The namespace events currently being used are (not all web hooks use all these events)

You can use these web hooks to sync your application to the transactional email system.

Events pass four arguments when called: string $messageId, string|array $email, array $params, array $response, $log = null (log is only passed for internal events. For web hooks, you can find the log by message id)

You can subscribe to an event hook by calling

The second parameter is a callable, so it can be an anonymous function, a callable array, or if you pass an object, it will assume the web hook is mapped to a method with the same name on the object (see _config/listeners.yml for examples)

You will have to set up web hooks in Mandrill and Amazon SES separately

The following urls will collect web hooks:

Transports

By default, this module will use PHP Mail (as per the normal Silverstripe mailer, but implementing PHPMailer). To use the other setups, please read on.

  1. None: If no transport is specified, will use php mail() function
  2. SMTP: To use this transport, you must specify a host that you will send the email through
  3. Amazon SES: To use this transport, you must specify a key and an access secret
  4. Mandrill: To use this transport, you must specify a key

The following options are available for your YAML config.

License

Version

Contact

Milkyway Multimedia


All versions of ss-send-this with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
silverstripe/framework Version ~3.1
phpmailer/phpmailer Version ~5.2
guzzlehttp/guzzle Version ~4
milkyway-multimedia/ss-hashable Version dev-master
milkyway-multimedia/ss-mwm Version dev-master
milkyway-multimedia/ss-eventful Version dev-master
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 milkyway-multimedia/ss-send-this contains the following files

Loading the files please wait ....