Coder Social home page Coder Social logo

sendersuite-laravel-bundle's Introduction

SenderSuite Bundle, by Mert Hurturk

SenderSuite bundle lets you to send transactional emails from your Laravel application through your SenderSuite account easily.

In order to use this bundle, you need to have a SenderSuite account, which you can create one here: http://sendersuite.com/#signup

To get a SenderSuite connection instance:

$ssApi = IoC::resolve('sendersuite');

By default SenderSuite bundle uses production connection configuration setup on bundle configuration. You can create as many connection configurations as you like and use any of your SenderSuite connection configurations by passing the configuration to sendEmail method. Here is an example:

$ssApi = IoC::resolve('sendersuite');
$ssApi->sendEmail('[email protected]', 'Subject', 'HTML Body', 'Text Body');

Error Handling

sendEmail method returns true if email is successfully sent, otherwise returns false and fires sendersuite.email.error with three parameters:

  • An array containing the parameters passed to sendEmail method
  • Configuration array
  • Exception object

However, if you pass invalid configuration key to sendEmail method, it throws an exception.

SenderSuite, by Octeth

SenderSuite is a transactional email delivery gateway for both websites and applications.

sendersuite-laravel-bundle's People

Contributors

merthurturk avatar

Watchers

Serdar SANRI avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.