Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 7, 2024. It is now read-only.

thpoul/mandrill-fuel

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandrill transactional email service - A FuelPHP wrapper.

Usage example

	Package::load('mandrill');

	$mandrill = new Mandrill();

	$params = array(
		'html' => '<p>Html goes here</p>',
		'text' => 'Text goes here',
		'subject' => 'My awesome subject',
		'from_email' => 'john@doe.com',
		'from_name' => 'John Doe',
		'preserve_recipients' => false,
		'url_strip_qs' => true,
		'track_opens' => true,
		'track_clicks' => true,
		'to' => array(
			array(
				'email' => 'tom@recipient.com',
				'name' => 'Tom Recipient'
			)
		)
	);

	$output = $mandrill->messages->send($params);
	## The $output will return an array
	Array
	(
		[0] => Array
			(
				[email] => tom@recipient.com
				[status] => sent # Status can be 'sent','rejected','invalid','queued'
			)

	)

About

Mandrill FuelPHP Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.