Search
 
SCRIPT & CODE EXAMPLE
 

PHP

codeigniter 3 send email smtp

//Codeigniter 3
  
$config = Array(
    'protocol' => 'smtp',
    'smtp_host' => 'ssl://smtp.googlemail.com',
    'smtp_port' => 465,
    'smtp_user' => 'xxx',
    'smtp_pass' => 'xxx',
    'mailtype'  => 'html', 
    'charset'   => 'iso-8859-1'
);
$this->load->library('email', $config);
$this->email->set_newline("
");

// Set to, from, message, etc.

$result = $this->email->send();
Comment

PREVIOUS NEXT
Code Example
Php :: Line : 83 -- syntax error, unexpected end of file php 
Php :: laravel validation mimes always fails 
Php :: alerta con php 
Php :: how to remove null values in array php 
Php :: how to make-migrations in laravel 
Php :: remove item from collection 
Php :: laravel collection find duplicates 
Php :: validate laravel 
Php :: php back to original site 
Php :: for each php 
Php :: how see the list all artisan in laravel 
Php :: php try catch 
Php :: validator and custom error laravel 8 
Php :: number_format reverse php 
Php :: Yii::app()-request-get yii1 
Php :: php array_filter 
Php :: Carbon Add Hours In Laravel 
Php :: laravel fixed character limit 
Php :: laravel migration folder 
Php :: transform text to lowercase and replace space with dash php 
Php :: how to create controller inside folder in laravel 
Php :: how to get last id in database codeigniter 4 
Php :: php session name 
Php :: php curl get response body 
Php :: laravel denny request by ip 
Php :: php calculate hours and minutes between two times 
Php :: php ternary operators 
Php :: Readonly Properties - PHP 8.1 
Php :: laravel pagination keep query string 
Php :: laravel find many 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =