<?php
$Name  = "gilisoft";             //senders name
$email = "support@gilisoft.com"; //senders e-mail adress

if( isset($_GET['id']) )
{ 
 //$page = intval( $_GET['id'] );
 $productname = $_GET['id'];     //recipient
 //print_r($recipient); 
}

if( isset($_GET['eml']) )
{ 
 //$page = intval( $_GET['eml'] );
 $recipient = $_GET['eml'];     //recipient
 //print_r($recipient); 
}

if( isset($_GET['usr']) )
{ 
 //$page = intval( $_GET['usr'] );
 $username = $_GET['usr'];  //recipient
 //print_r($username); 
}

if( isset($_GET['pwd']) )
{ 
 //$page = intval( $_GET['pwd'] );
 $password = $_GET['pwd'];  //recipient
 //print_r($password); 
}


$mail_body = "Thank you for using ".$productname.".\r\nYour user account of this software is:"."\r\nUser Name:".$username."\r\nPassword:".$password."\r\nPlease don't forget your password!\r\nGilisoft provides you with the best software services by the most advanced techniques. \r\nThe registered and unregistered users are welcome to send E-mail to us. "; 
//print_r($mail_body); 

//mail body
$subject = "Your Password of ".$productname;       //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields
mail($recipient, $subject, $mail_body, $header); //mail command :)


?> 











