\n"; if ($sender_name == ""){ $emsg .= "Please enter your name
\n"; $send = false; } if ($sender_mail == "" || $s_emailvalid == 1){ $emsg .= "Please enter your valid email address
\n"; $send = false; } if ($friend_mail == "" || $f_emailvalid == 1){ $emsg .= "Please enter your friends valid email address
\n"; $send = false; } if($send){ $recipient = "$friend_mail"; $message .= "$sender_name wanted to share the following link with you:\n$link\n\n"; if($optional_message != ""){ $message .= "They added this message:\n$optional_message\n\n"; } $message .= "Send Page - © http://www.getupfresh.com/index.html"; $headers = "From: $sender_name <$sender_mail>\r\nReply-To: $sender_mail\r\n"; mail ($admin_mail,$recipient, $send_subject, $message, $headers); if($auto_responder == "yes"){ $recipient2 = "$sender_name <$sender_mail>"; $subject2 = "$thankyousubject"; $message2 = "$thankyoumessage\n\n$your_website\n$admin_mail\n\n» Note: This is an automated response, please do not reply to this\n\n"; $message2 .= "Send Page - © http://www.getupfresh.com/index.html"; $headers2 = "From: $your_website <$admin_email>\r\nReply-To: $admin_mail\r\n"; mail ($recipient2, $subject2, $message2, $headers2); } printthanks($sender_name,$friend_mail,$link); exit; } else if(!$send){ printpage($admin_mail,$sender_name,$sender_mail,$friend_mail,$emsg); } } else{ printpage("","","",""); } function printpage($sender_name,$sender_mail,$friend_mail,$errors){ include("config_somno_getupfresh.php"); global $link, $id, $js; ?> Send <? echo $link; ?> to a friend!


   
 
 

Thanks for sending getupfresh.com website address <? echo $link; ?> to a friend! Thank you for sending GetUpFresh.com website address
to a friend!

Close window