Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mailrelay Bundle Laravel Package

arrogance/mailrelay-bundle

View on GitHub
Deep Wiki
Context7

MailrelayBundle - 1.0@dev - Build Status Packagist Packagist

A bundle to send, track and manage emails sent with Mailrelay.com.

Attention: This bundle is under a high development, wiki and instructions may be incomplete or inexistent yet. Use it under your very own discretion and responsibility.

How to Install

Use composer to install the bundle:

$ composer require arrogance/mailrelay-bundle ^1.0

Load the bundle in AppKernel.php:

    $bundles = array(
        // ...
        new Arrogance\MailrelayBundle\ArroganceMailrelayBundle(),
    );

Configure

Add in parameters.yml file:

    mailrelay_apikey: YourAPIKey
    mailrelay_access_point: yourUser.ip-zone.com

and/or config.yml:

arrogance_mailrelay:
    api_key: "%mailrelay_apikey%"
    access_point: "%mailrelay_access_point%"

Quick Start

Send Email

use Arrogance\MailrelayBundle\Email;
// ...
$client = $this->get('arrogance_mailrelay.client');

$email = new Email\Email();
$email->addEmail('[email protected]', 'Your recipìent')
    ->addEmail('[email protected]')
    ->setSubject('Email de prueba desde la API')
    ->setHtml($this->get('twig')->render('@YourBundle/Default/email.html.twig', array()))
    ->setFromId(1)
    ->setReplyId(1)
    ->setReportId(1)
    ->setPackageId(6);

// Mailrelay response
$response = $client->sendMail($email);

View full documentation

License

The MIT License (MIT)

Copyright (c) 2016 Manuel Raya [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator