Hello, Thank you dfasdfasdfasdf asdf asdf asdfas dfs Please, feelasdf asdf asdf
I am getting something like this in the email that arrives to my mailbox:
<p>Hello,</p> <p> </p> <p>Thank you dfasdfasdfasdf asdf asdf asdfas dfs</p> <p> </p> <p>Please, feel asdfads fad f</p>
So, I guess the HTML is not turned on for the wp_mail() function? How to turn it on, so the mail will arrive as it should and the
<br> tags are interpreted correctly?
I am using this to send my mail from functions.php when the submit button is pressed:
$headers = 'From: XXXXXX.com <firstname.lastname@example.org>' . "\r\n"; $subject = 'Registration from xxxxx.com' . "\r\n"; $message = $result_email_text; wp_mail($_POST['admin_email'], $subject, $message, $headers );