View Single Post
  #1  
Old 08-17-2006, 02:56 PM
SLANG SLANG is offline
OSP Starters
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SLANG is on a distinguished road
Unhappy email from header

Hi there,

I am wondering if there is any way to set FROM header so that the email address does not show...
I am doing this:

$headers = "To: $to \n";
$headers .= 'From: TEST<test@test.com>' . "\n";
$headers .= "Content-type: text/html\r\n";

if (mail($to, $subject, $msg, $headers)) {
return true;
} else {
return false;
}

however, even though when received the sender says TEST, when opened it still says TEST <test@test.com>

I just want it to say TEST only
Can it be done?
Answr.... -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - email from header
View Single Post
  #1  
Old 08-17-2006, 02:56 PM
SLANG SLANG is offline
OSP Starters
 
Join Date: Jun 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SLANG is on a distinguished road
Unhappy email from header

Hi there,

I am wondering if there is any way to set FROM header so that the email address does not show...
I am doing this:

$headers = "To: $to \n";
$headers .= 'From: TEST<test@test.com>' . "\n";
$headers .= "Content-type: text/html\r\n";

if (mail($to, $subject, $msg, $headers)) {
return true;
} else {
return false;
}

however, even though when received the sender says TEST, when opened it still says TEST <test@test.com>

I just want it to say TEST only
Can it be done?
Answr.... -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote