December 2013
Intermediate to advanced
306 pages
6h 26m
English
There might be times when you wish to send an attachment along with the e-mail, such as an invoice to a customer for a recent purchase or perhaps an image. The CodeIgniter Email library can easily be set to do just that.
You can send attachments with CodeIgniter Email by executing the following steps:
email.php at /path/to/codeigniter/application/controllers/.email.php:<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Email extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->library('email'); } public function index() { redirect('email/send_email'); ...Read now
Unlock full access