0

Hey Computer SCI Gal, Ma name is "Shame" and am in need of yo help! I 've been trying to write a PHP code that sends form data to any email (gmail, yahoo etc). So far, I've failed. If you can help me, Pliz be my guest and savior !!

5
Contributors
4
Replies
6
Views
7 Years
Discussion Span
Last Post by sarithak
0

Try this.. coz i've done thin in my project..
it works for me..

$to = "user@gmail.com";
	$sub = "Confirm Mail From LeLys";
	$header = "from: adminName<support@Domain.org>";
	
	$message = "confirm link \r\n";
	$message.= "click to activete your account";
	$message.= "http://www.domain.org/confirmation.php?key=$ccode";
	
	$sending = mail($to,$sub,$message,$header);
	
		if($sending)
			echo ("email comfirm");
		else
			echo("email not sent");
0

Try this.. coz i've done thin in my project..
it works for me..

$to = "user@gmail.com";
	$sub = "Confirm Mail From LeLys";
	$header = "from: adminName<support@Domain.org>";
	
	$message = "confirm link \r\n";
	$message.= "click to activete your account";
	$message.= "http://www.domain.org/confirmation.php?key=$ccode";
	
	$sending = mail($to,$sub,$message,$header);
	
		if($sending)
			echo ("email comfirm");
		else
			echo("email not sent");

Hi..


Plz send mail attachment code....i am fully confused with attachment code...

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.