Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Multiple recipients

CC and BCCs
HTML or Plaintext email
$this->load->helper('form');
$this->load->view('email_form');
}
public function send_mail()
{
$from_email = "your@example.com";
$to_email = $this->input->post('email');
//Load email library
Email class has the following functions to simplify the job of sending emails e PowerPoint

Presentation
$this->load->library('email');
$this->email->from($from_email, 'Your Name');
$this->email->to($to_email); New Microsoft OfficSending email in CodeIgniter is much
easier. You also configure the preferences regarding email in CodeIgniter. CodeIgniter
provides following features for sending emails:
Multiple Protocols: Mail, Sendmail, and SMTP
TLS and SSL Encryption for SMTP
Attachments
Word wrapping
Priorities
BCC Batch Mode, enabling large email lists to be broken into small BCC batches.
Email Debugging tools

You might also like