Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

chris-mackie/mailgun-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mailgun-ci

Codeigniter Mailgun Library

Required

  • Codigniter 3
  • Mailgun PHP library

Installation

  • After installing the mailgun PHP library, simply put the Mail.php file in your codeigniter library folder.

Usage

$this->load->library('mail');

$data = array(
'from' => 'Name <[email protected]>',
'to' => 'Name <[email protected]>',
'subject' => 'Subject',
'text' => 'Plain text email',
'template' => 'location/to/template-view-file',
'template_variables' => array(),
'tags' => array()
);

$this->mail->send(null,$data);

About

Codeigniter Mailgun Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages