I can not send HTML email with email class

#2
[eluser]density5[/eluser]
[quote author="Alenazi" date="1249966175"]I tried to send html email with email class but it did not work. The email was received as plain text with html tags not interpreted

My code looks like this
Code:
$config['protocol'] = 'smtp';
        $config['mailtpye'] = 'html';
        $config['smtp_host'] = 'smtp.al3gari.com';
        $config['smtp_user'] = '[email protected]';
        $config['smtp_pass'] = '******************';
        $config['smtp_port'] = '25';
        $config['newline'] = "\r\n";
        $this->CI->load->library('email',$config);
[/quote]

looks wrong -> $config['mailtpye'] = 'html';
Shoud it not be -> $config['mailtype'] = 'html';


Messages In This Thread
I can not send HTML email with email class - by El Forum - 08-10-2009, 05:49 PM
I can not send HTML email with email class - by El Forum - 09-29-2009, 12:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.