Jump to content

[SOLVED] i want to use [email protected]...


rsammy

Recommended Posts

this is a block of code from my actual code...

 

			if (!isset($error))
			{
				//print "Here";
				$headers = "";
				//$headers .= "From: $PHY_NAME<$PHY_EMAIL>\n";
				$headers .= "From: $PHY_NAME\n";
				$headers .= "X-Sender: <$PHY_EMAIL>\n";
				$headers .= "X-Mailer: PHP\n"; // mailer
				$headers .= "X-Priority: 1\n"; // Urgent message!
				$headers .= "Return-Path: <$varreturnpath>\n";  // Return path for errors

				$message = $PHY_NAME."*".$PHY_EMAIL." has sent a message to you through ABC's message center.  In order to get this message follow this link ".$varurlMC."\r\n\n     PLEASE DO NOT REPLY TO THIS EMAIL AS THIS IS AN UNATTENDED, AUTO GENERATED EMAIL.";
				mail($to, "New XYZ Mail From: ".$PHY_NAME, $message, $headers);

			}

 

how can i hide the senders email address from this or show something like this ... [email protected] instead of the senders email address to prevent any reply to this message?

Link to comment
https://forums.phpfreaks.com/topic/51556-solved-i-want-to-use-donotreplyxyzcom/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.