Posts Tagged with "programming"

Codeigniter – Sending Emails using Gmail’s SMTP Server

Saturday, February 19, 2011


Sending emails and attaching files along with them are super easy! Just create a file called email.php in the config folder of your application. This file will contain the details of your Gmail SMTP server. [php] $config[‘protocol’] = ‘smtp’; $config[‘smtp_host’] = ‘ssl://’; $config[‘smtp_port’] = ‘465’; $config[‘smtp_user’] = ‘’; $config[‘smtp_pass’] = ‘password’; $config[‘charset’] = ‘utf-8’; $config[‘newline’] […]

Continue reading...