0

hi

i need help :lol:


how can i write a code (php) for "tell a friend" ?
i mean i want to tell a friend about a web page by sending an e-mail from the same page

thanx in advance

2
Contributors
2
Replies
4
Views
10 Years
Discussion Span
Last Post by DATABASE
0
If($Submit) {
	$headers .= "From: <YourDomain.com>\n";
	$headers .= "X-Sender: <contact@YourDomain.com>\n"; 
	$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
	$headers .= "Return-Path: <contact@YourDomain.com>\n";
	mail($recipient_email,"A message from $sender_name", "Hello $recipient_name,\nYour friend $sender_name, just found our website and thought you might be interested in it.\n\nPlease follow the link to view our site:\nhttp://www.YourDomain.com\n\nBest regards\n\YourDomain.com Support Team", $headers);

}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.