Forum Moderators: coopster
I'm trying to send a html email using php (and it think qmail)
Here is the code i have so far:
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
send_mail($row["UserID"], $subject, $message, $headers);
Why does this not work?
Here are the headers i get in my email client:
Return-path: <root@server1.domain1.com>
Delivered-To: 1-owner@domain1.com
Received: (qmail 15148 invoked by uid 48); 7 Aug 2004 15:14:01 -0000
Date: 7 Aug 2004 15:14:01 -0000
Message-ID: <20040807151401.15147.qmail@server1.domain1.com>
To: owner@domain1.com
From: webmaster@domain2.com
[edited by: ergophobe at 3:21 pm (utc) on Aug. 7, 2004]
[edit reason] generalize urls as per TOS [/edit]