Possible Duplicate:
What is the best practice to send emails from PHP script?
I would like to setup an email application, which is the best method to use in sending emails through PHP and make sure that emails sent through the application is not considered SPAM?