“;
echo “
“;
$act++;
if ($act == $columns){
$act = 0;
echo “
“;
}
}
}
echo “
“;
}
}
?>
Please choose a postcard!
Choose a Postcard
Choose a Postcard
Choose a Postcard
\r\n”;
$replay = “Reply-To: $sendersemail\r\n”;
$params = “MIME-Version: 1.0\r\n”;
$params .= “Content-type: text/plain; charset=iso-8859-1\r\n”;
$mailtext = “Dear $recipientsname\r\n\r\n”
. “You have just received a virtual postcard from $sendersname !\r\n\r\n”
. “$message\r\n\r\n”
. “You can pick up your postcard at the following web address:\r\n”
. “$postcardURL”.”?show=$filename\r\n\r\n”
. “We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself!\r\n\r\n”
. “Regards,\r\n”
. “Openmind Foundation\r\n”
. $postcardURL;
// Send email
@mail($_POST[’email’],”You’ve received a postcard”,$mailtext,$from.$replay.$params);
?>
Your postcard was sent succesfuly!