Public feed #893640

Mine

public text v1 · immutable
Raw Edit
·published 2008-02-06 09:16 UTC
rendered paste body
<?php

//create short variable names
$fromName=$_POST['fromName'];
$toName=$_POST['toName'];
$fromEmail=$_POST['fromEmail'];
$toEmail=$_POST['toEmail'];

$fromName=trim($fromName);
$fromEmail=trim($fromEmail);
$toName=trim($toName);
$toEmail=trim($toEmail);

$subject="Play the QUize";

//$message="Hi ".$toName."\n\n Play the quize at "."<a //href='www.google.com'>Quiz!!</a>"."\n\nBye ".$fromName;

$message="Hi";
//modify the next line with your own email address
$toaddress=$toEmail;


mail($toaddress,$subject,$message,"From: $fromName <$fromEmail>") or die("Unable to send");

echo "&response=1&";
	
?>