From($tmp_str_from); #Specify the from address
$m->To($tmp_str_to); #Specify the to address
// $m->Attach($tmp_file_tmpname); #Specify the file location if any
$m->Subject($tmp_str_subject); #Specify the subj address
$m->Content_type("text/plain"); #type
// $m->Content_type("html/text"); #type
$m->Body($tmp_str_text); #set the body
$tmp_int_returnvalue = $m->Send(); #send the mail
$tmp_int_returnvalue = 1;
if($tmp_int_returnvalue == 1)
{
#Messaage has been Sucessfully Sent
$MM_Msg = "Your information has been sent successfully.";
}
else
{
#Message has not being sent
$MM_Msg = "An error has occured when sending your request. Please try again.";
}
}
?>