I am able to enter text into a textarea, save it to the database and send that text in an email later using the following line: $message= stripslashes($this->settings[message_text']); I want to be able to enter HTML into the textarea and send it to the email. Simple <br> <a href> etc. How should I change this line to output as HTML? Thanks for your time!!!
This line does not send any emails. What does $message contain after pulling it from the database? Is the HTML stripped our before entering or after pulling it? You have to change the content-type headers in the actual function that sends the mail. This line of code does not help.
Right now the database is preserving the html that I enter in the textarea, if that helps. Here's an example straight from the database: A cool search engine is<br><a href=\"http://google.com\">Google!</a>