Re: [PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Ross McKay
Tom Chubb wrote: >I have read somewhere before about creating a message id with the date&time >and a random number. Something like this: '<' . date('U') . '.' . rand() . '.php@' . $_SERVER['SERVER_NAME'] . '>' >Still I think I'm going to be ending up down the phpmailer route! It's the easiest

[PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Al
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 d

Re: [PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
2008/9/12 Ross McKay <[EMAIL PROTECTED]> > On Fri, 12 Sep 2008 11:55:03 +0100, 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. [

[PHP] Re: Email - Best practice/advice please

2008-09-12 Thread Ross McKay
On Fri, 12 Sep 2008 11:55:03 +0100, 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. [...] If you don't end up using PHPMailer, make sur