Email: Replacing plain text with html
Posted: 31 Aug 2007, 17:31
In core/email_api.php around line 745
there's a line that says :
change the value for "true" and mail will be sent in html code.
You should replace all the "\n" for "<br/>".
You can also change font, color, etc, you should start the html tag in the strings_english.txt file, more specificaly in all the "$s_email_notification_title" vars.
The tags should be closed in email_api.php, in the line where it says:
for example:
That's it !
there's a line that says :
Code: Select all
$mail->IsHTML( false );You should replace all the "\n" for "<br/>".
You can also change font, color, etc, you should start the html tag in the strings_english.txt file, more specificaly in all the "$s_email_notification_title" vars.
The tags should be closed in email_api.php, in the line where it says:
Code: Select all
$t_message .= $t_email_separator1 . " \n\n";Code: Select all
$t_message .= $t_email_separator1 . " <br/><br/></font>";