Warning: Use of undefined constant wp_cumulus_widget - assumed 'wp_cumulus_widget' (this will throw an Error in a future version of PHP) in /home/blogoptimise/public_html/wp-content/plugins/wp-cumulus/wp-cumulus.php on line 375
Optimise Blog » tutorial
Warning: Use of undefined constant style - assumed 'style' (this will throw an Error in a future version of PHP) in /home/blogoptimise/public_html/wp-content/themes/optimblog/functions.php on line 522

Posts Tagged with "tutorial"

Codeigniter – Sending Emails using Gmail’s SMTP Server

Saturday, February 19, 2011

0 Comments

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://smtp.gmail.com’; $config[‘smtp_port’] = ‘465’; $config[‘smtp_user’] = ‘youremail@gmail.com’; $config[‘smtp_pass’] = ‘password’; $config[‘charset’] = ‘utf-8’; $config[‘newline’] […]

Continue reading...