Hey guys
i was making one web sites.
in that, there is one page on which i have one form, so in that
i want two thing done on same data.
1) it should store in the database
2) that form data should also to be send on one email account.
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. ]
So is there any way that i can do two different action on same form data.
and what is there any other way to do the same.
btw i am using drupal-6.
thanks in advance.
Nitz.
EDIT:
I don't want my mails go as spam.
i am sending mail using this kind of code....
<form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST">
Name : <input type="text" readonly value= "me"><br>
EMail ID : <input type="text" id="email" name="mailfrom"><br>
Query : <textarea name="comments" id="comments" rows="5" cols="19"></textarea>
<input type="hidden" name="sendtoemail" value="[email protected]"><br>
<input type="submit" value="Thank You"></form>
now by this way my mails are not going as spam.
so now what i want is....
i want to send mails and also want to store information in database also.