weeks
0
0
days
0
0
hours
0
0
minutes
0
0
seconds
0
0
Sign up for updates
  • Facebook Page
  • Twitter
  • LinkedIn Profile
  • Contact via mail
'; $body .= "His email address is: ".$_POST['email'].'
'; $to = 'youremail@gmail.com'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $sendmail = mail($to, $subject, $body, $headers); if ($sendmail) $message = 'You have been subscribed successfully'; elseif (!$message) $message = 'An error has been encountered. Please try again.'; } elseif ($_POST) $message = 'Please enter a valid email address and make sure all the fields are completed correctly'; ?>