Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 9th, 2010 | Syntax: None | Size: 0.22 KB | Hits: 18 | Expires: Never
Copy text to clipboard
  1. if(!$error)
  2. {
  3. $mail = mail(WEBMASTER_EMAIL, $subject, $message,
  4.      "From: ".$name." <".$email.">\r\n"
  5.     ."Reply-To: ".$name."<".$email.">\r\n"
  6.     ."X-Mailer: PHP/" . phpversion());
  7.  
  8. if($mail)
  9. {
  10. echo 'OK';
  11. }