Download the PHP package buzzingpixel/corbomite-mailer without Composer
On this page you can find all versions of the php package buzzingpixel/corbomite-mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package corbomite-mailer
Corbomite Mailer
Part of BuzzingPixel's Corbomite project.
Provides transaction email capabilities.
Usage
Queue
The Mailer makes use of the Corobomite Queue feature so be sure you have the queue running.
Webmaster From and Email environment variables
For deliverability, emails are ways sent from the the webmaster email. Be sure to set the following environment variables:
[email protected]
WEBMASTER_NAME="Some Name"
CORBOMITE_MAILER_ADAPTER_CLASS environment variable
To set what adapter the mailer uses, make sure to set the CORBOMITE_MAILER_ADAPTER_CLASS
environment variable to a fully qualified class name of an adapter. The built-in adapters are:
buzzingpixel\corbomitemailer\adapters\SendGridSendMailAdapter
buzzingpixel\corbomitemailer\adapters\MandrillMailSendMailAdapter
buzzingpixel\corbomitemailer\adapters\MailGunSendMailAdapter
buzzingpixel\corbomitemailer\adapters\PostMarkSendMailAdapter
You can also write your own adapter. It must implement buzzingpixel\corbomitemailer\interfaces\SendMailAdapterInterface
.
Built-in Adapter Environment variables
SendGridSendMailAdapter
To use the SendGridSendMailAdapter
, be sure to set the SENDGRID_API_KEY
environment variable.
MandrillMailSendMailAdapter
To use the MandrillMailSendMailAdapter
, be sure to set the MANDRILL_API_KEY
environment variable.
MailGunSendMailAdapter
To use the MailGunSendMailAdapter
, be sure to set the MAILGUN_API_KEY
and MAILGUN_DOMAIN
environment variables.
PostMarkSendMailAdapter
To use the PostMarkSendMailAdapter
, be sure to set the POSTMARK_SERVER_TOKEN
environment variable.
Sending email
License
Copyright 2019 BuzzingPixel, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
All versions of corbomite-mailer with dependencies
buzzingpixel/corbomite-db Version ^1.0
buzzingpixel/corbomite-di Version ^1.0
buzzingpixel/corbomite-queue Version ^1.0
html2text/html2text Version ^4.2
mailgun/mailgun-php Version ^2.8
mandrill/mandrill Version ^1.0
php-http/guzzle6-adapter Version ^1.1.1
sendgrid/sendgrid Version ^7.2
wildbit/postmark-php Version ^2.6