$headers = "From: \"Thomas Le\" <[EMAIL PROTECTED]>\nMailed-by:
whatever\n";
mail('[EMAIL PROTECTED]', 'test', 'test', $headers);
NOTE:
The RFC says use \r\n between headers.
gmail is broken and will puke if you do.
Complaint to gmail, please.
On Sat, December 22, 2007 10:27 pm, Thomas Le wrote:
Paul Aviles wrote:
> Hello, I am having problems with this code below. The system is a FC1
> server
> and it is supposed to send an email collecting some information of a
> computer. The problem I am having is with the "<" and ">" characters. When
> the $header variable is created, it does not work
May I suggest that you use PHP's mail() function and avoid the problem
altogether.
The format is much the same as the one you are using.
Alberto Brea
[EMAIL PROTECTED]
-Original Message-
From: "Paul Aviles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Mon, 20 Dec 2004 20:00:22 -0500
3 matches
Mail list logo