HTML e-mails not sending in HTML |
[eluser]anndr0id[/eluser]
I haven't done much research on this, I searched the forums and found no similar problems. I wanted to ask in hopes that someone here has seen this before, or could give me a quick solution rather than me spending time testing/troubleshooting. I've created an email.php file in the config and added the following line: Code: $config['mailtype'] = 'HTML'; I then set up my mail script in the controller: Code: $this->email->from('[email protected]', 'Notification'); The e-mails are going out successfully, with all the content, however the e-mail I receive is in text and shows the HTML code. Strangely, I also tried converting it back to text and entering "\n" for line breaks, and the "n"'s show up in the e-mail, however the backslashes disappear. Any ideas as to what might be going on here? Possibly a missing config somewhere or maybe even an issue with the mail server? Any help is greatly appreciated. Thanks!
[eluser]pickupman[/eluser]
You could try using a carriage return "\r\n"; Code: $config['newline'] = '\r\n'; |
Welcome Guest, Not a member yet? Register Sign In |