yes id tried putting "From: $Name <$Email>" on that part
but then the output shows "BLANK" 

To: [EMAIL PROTECTED]
From:               <-----------------Blank
Subject: Hello
Message:
  Testing

-----Original Message-----
From: Federico Sevilla III [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 6:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [plug] appending


On Tue, Jan 21, 2003 at 04:27:12PM +0800, Aris  Santillan wrote:
> $from       = "Somebody";
> $message = " Hello";
> $subject = "Testing";
> 
> mail($recipient, $subject, $message, "From: $from"); 

...

> To: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED] <--------------------- the domain name was appended to 
>the "Somebody" 

Postfix will really do that. If Postfix on your site doesn't, the MTA on
email.com will probably add an @email.com. The trick is to put a valid
address, eg: "Somebody <[EMAIL PROTECTED]>".

 --> Jijo

-- 
Federico Sevilla III  : http://jijo.free.net.ph      : When we speak of free
Network Administrator : The Leather Collection, Inc. : software we refer to
GnuPG Key ID          : 0x93B746BE                   : freedom, not price.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to