Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- defined('BASEPATH') OR exit('No direct script access allowed');
- class User extends CI_Controller {
- public function verify($email = '', $vcode = '') {
- $this->load->library('email');
- $this->email->from('emailsaya@gmail.com', 'Your Name');
- $this->email->to('jirud@endrix.org');
- // $this->email->cc('another@another-example.com');
- // $this->email->bcc('them@their-example.com');
- $this->email->subject('Email Test');
- $this->email->message('Testing the email class. <b>bold</b>');
- $this->email->send();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement