$bcc_list = getLineOfAddrs($bcc);
/* Encoding 8-bit characters and making from line */
- $subject = encodeHeader($subject);
+ $subject = stripslashes(encodeHeader($subject));
if ($from == "")
$from = "<$from_addr>";
else
- $from = encodeHeader($from) . " <$from_addr>";
+ $from = "\"" . encodeHeader($from) . "\" <$from_addr>";
/* This creates an RFC 822 date */
$date = date("D, j M Y H:i:s ", mktime()) . timezone();