Okay, I've been searching for this for 20 minutes now, but can't find what I need.
The mail() function in itself isn't giving me a problem at all. It's when I try to send HTML mail that I get a problem
.
Here's the mailing part of my code:
This is driving me nuts! Can someone tell me what's wrong?
The mail() function in itself isn't giving me a problem at all. It's when I try to send HTML mail that I get a problem
Here's the mailing part of my code:
| Code: |
| $to = "someone@myplace.net";
$subject = "Your weekly DDS newsletter"; $msg = $_POST['message']; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; mail($to, $subject, $msg, $headers); |
This is driving me nuts! Can someone tell me what's wrong?
