title: Can i set two different kind of actions on one form?
body: <p>Hey guys<br>i was making one web sites.<br> in that, there is one page on which i have one form, so in that<br>i want two thing done on same data.<br><br>1) it should store in the database <br> 2) that form data should also to be send on one email account.</p>
  
  <p>i know i can do this if i use "mail" function of php and on that same php file, i can store that. but i don't want my mail goes to spam [ if i use mail function then my mails are going as spam in users email. ]</p>
  
  <p>So is there any way that i can do two different action on same form data.<br>
  and what is there any other way to do the same.</p>
  
  <p>btw i am using drupal-6.</p>
  
  <p>thanks in advance.
  <hr>
  Nitz.</p>
  
  <p><br><br>
  <b>EDIT:</b><br>I don't want my mails go as spam. <br> i am sending mail using this kind of code....</p>
  
  <pre><code>&lt;form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST"&gt;
  Name : &lt;input type="text" readonly value= "me"&gt;&lt;br&gt;
  EMail ID : &lt;input type="text" id="email" name="mailfrom"&gt;&lt;br&gt;
  Query : &lt;textarea name="comments" id="comments" rows="5" cols="19"&gt;&lt;/textarea&gt;
  &lt;input type="hidden" name="sendtoemail" value="admin@example.com"&gt;&lt;br&gt;
  &lt;input type="submit" value="Thank You"&gt;&lt;/form&gt;
  </code></pre>
  
  <p>now by this way my mails are not going as spam.<br>so now what i want is....<br>i want to send mails and also want to store information in database also.<br></p>