There is a lot of detail to PHP Mail, the best thing to do in addition to the link sunnyverma has given you is to take a look at "Mail and Envelope Headers" and also do a Google on "connecting PHP sendmail to SMTP server" to bypass spam filters. Always note of course, that although you can easily inniatially pass the spam filters, if you are spamming they will lock you down just as quickly!!! Hope this helps! Andrew