Skip to content

SerdarSanri/Sendersuite-Laravel-Bundle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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('mert.hurturk@gmail.com', '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.

About

Sendersuite bundle for Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%