Mengirim Email dengan CodeIgniter Series 1

Sending mail in codeigniter is easy . dapoxetine prices uk dapoxetine online fast shipping online pharmacy australia discount dapoxetine cheap dapoxetine 30 prices in canada dapoxetine Codeigniter has build in class on mail. You can easily configure it. Today we will see how to send mail . Latter tutorial we will see how to send mail in smtp.

Create a file email.php in D:\xampp\htdocs\CodeIgniter\ci_series_1\application\controllers
Write this code inside the email.phpNow point your browser like this to call the email controller

<?php

/**
* SENDS EMAIL WITH GMAIL
*/
class Email extends Controller
{
	function __construct()
	{
		parent::Controller();
	}
	
	function index() 
	{	
		$this->load->library('email');
		$this->email->set_newline("\r\n");
		
		$this->email->from('learneverydaytutorials@gmail.com', 'Arifur Rahman');
		$this->email->to('arifur.aiub@gmail.com');		
		$this->email->subject('This is an email test');		
		$this->email->message('It is working. Great!');
		
		
		if($this->email->send())
		{
			echo 'Your email was sent, successfully.';
		}
		
		else
		{
			show_error($this->email->print_debugger());
		}
	}
}

?>

no rx deltasone canadian prednisone buy deltasone without a script online pharmacies deltasone deltasone generic no prescription generic of deltasone

http://smartwebsource.net/learneveryday/demos/CI/ci_series_1/index.php/email
And you will get successful message.
mail send successful message 6 days ago – cheapest place to buy estrace cream – where the the canadian pharmacy online : : estrace spain ->> dwayne’s friendly pharmacy – we are the 
See in our mail box that our mail is gone.
send mail in codeigniter

For more details on mail see http://codeigniter.com/user_guide/libraries/email.html

buy fluoxetine . get a free discount now. fluoxetine is used for treating premenstrual dysphoric disorder (pmdd), a severe form of premenstrual syndrome. Download

.

.

Leave a Comment.