Best way to send mail with PHP

Hi, I am making new social network script and I want to add mail function. I added simple PHP mailing function, but it often shows my messages as a spam. What is good, but simple PHP mailing class?

PHPMailer

Setup SPF rules too, your host should help with this

Downloaded it tomorow, but I have never used it before…

dtbaker said

PHPMailer

Setup SPF rules too, your host should help with this

+1

OR you can also use swift mailer

I’d agree with using swift mailer.

I coded mailing function with PHP and it seems to work fine now. I would research PHP mailer and swift mailer these days.