How to send email notifification in facebook for my app?
<p>Hi i am developing an application in facebook that is create -event in facebook .so whenever an user creates  an event in facebook I want the application to send an email to the app creator how can i do it?plz reply..
this the code for create event</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
  {
  //send email
  $email = $_REQUEST['email'] ;
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  mail("losers06.06@gmail.com", "$subject",
  $message, "From:" . $email);
  echo "Thank you for using our mail form";
  }
else
//if "email" is not filled out, display the form
  {
  echo "&lt;form method='post' action='mailform.php'&gt;
  Email: &lt;input name='email' type='text' /&gt;&lt;br /&gt;
  Subject: &lt;input name='subject' type='text' /&gt;&lt;br /&gt;
  Message:&lt;br /&gt;
  &lt;textarea name='message' rows='15' cols='40'&gt;
  &lt;/textarea&gt;&lt;br /&gt;
  &lt;input type='submit' /&gt;
  &lt;/form&gt;";
  }
?&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>i am trying to send emails to the above email id but its not getting delivered .it is shoeing the thank you message.plz help</p>
