2008/9/12 Stut <stuttle@xxxxxxxxx> > On 12 Sep 2008, at 11:55, Tom Chubb wrote: > >> I have generally been using the PHP mail function for sending emails from >> contact forms on websites, but have recently had problems with a lot of >> mails being delivered to junk/spam folders. >> I've tried loads of different headers, etc and almost every contact form >> on >> sites I've done is different. >> I think it's time I started standardising and using an SMTP class to send >> and wanted some advice from people. >> I'm looking at the Pear Mail package and wondering whether that would be >> ok, >> or should I just start rolling out phpmailer on all sites, in case I start >> to put mailing lists, etc. in the future. >> Basically, what do most of you do for contact/enquiry form emails? >> > > http://stut.net/blog/2008/06/18/sending-email/ > > -Stut > > -- > http://stut.net/ > Thanks -Stut, Very informative and I guessed what the first line would be before I clicked the link... If you're using PHP you want PHPMailer <http://phpmailer.sf.net/>. :)