Skip to content

Instantly share code, notes, and snippets.

@ziemekpr0
Created May 15, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ziemekpr0/05434fa97bd8abb2fe052f6511935032 to your computer and use it in GitHub Desktop.
Save ziemekpr0/05434fa97bd8abb2fe052f6511935032 to your computer and use it in GitHub Desktop.
Konfiguracja CodeIgniter do wysyłania email ze skrzynki gmail
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// Aby to zadzialalo nalezy włączyć Zezwalanie mniej bezpiecznym aplikacjom na dostęp do konta
$config = array(
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
'smtp_port' => '465',
'smtp_user' => 'adres-skrzynki@gmail.com',
'smtp_pass' => 'haslo-do-skrzynki'
);
/* End of file email.php */
/* Location: ./application/config/email.php */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment