Advertisement
Guest User

app/controllers/User.php

a guest
Jan 23rd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. <?php
  2. defined('BASEPATH') OR exit('No direct script access allowed');
  3.  
  4. class User extends CI_Controller {
  5. public function verify($email = '', $vcode = '') {
  6. $this->load->library('email');
  7.  
  8. $this->email->from('emailsaya@gmail.com', 'Your Name');
  9. $this->email->to('jirud@endrix.org');
  10. // $this->email->cc('another@another-example.com');
  11. // $this->email->bcc('them@their-example.com');
  12.  
  13. $this->email->subject('Email Test');
  14. $this->email->message('Testing the email class. <b>bold</b>');
  15.  
  16. $this->email->send();
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement