I am using the built in email in the library, whatever I am trying to do, it sends a bold string But instead of render tags, it is printing them what I have:
That is, the character for the character, why am I getting email tags not rendering?
From
:
$ Config ['protocol'] = ' Sendmail '; $ Config ['Mailpath'] = '/ usr / sbin / sendmail'; $ Config ['charset'] = 'iso-8859-1'; $ Config ['wordwrap'] = true; $ Config ['mailtype'] = 'html'; $ This- & gt; Email-> Start ($ config);
CodeIgniter email class default to sending text emails. Unless you specify that mail-type HTML ( $ config ['mailtype'] = 'html';
) your HTML will be sent as text.
Comments
Post a Comment