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

2008-09-12 Thread tedd
At 6:47 PM +0100 9/12/08, Stut wrote: Chain saws make excellent playthings for 4 year olds*. -Stut Believe it or not, but when I was first introduced to my grand father, he gave me a baby rattlesnake to play with. My mother was horrified when she found out some time later and took it away -

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

2008-09-12 Thread Stut
On 12 Sep 2008, at 18:00, tedd wrote: At 12:03 PM +0100 9/12/08, Stut wrote: 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

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

2008-09-12 Thread tedd
At 2:57 PM +0200 9/12/08, Per Jessen wrote: Richard Heyes wrote: I use here-doc plus exec(sendmail). Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For purely

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

2008-09-12 Thread tedd
At 12:03 PM +0100 9/12/08, Stut wrote: 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 diff

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

2008-09-12 Thread Richard Heyes
> In ? Yeah, I think I knew that, but for some > reason I haven't been using it. I don't think it works in safe-mode or > something like that. Or maybe it doesn't work in older (4.3,4.4) > versions? Dunno, it's been over 4 1/2 years since I used PHP4. -- Richard Heyes HTML5 Graphing for IE7,

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

2008-09-12 Thread Per Jessen
Richard Heyes wrote: >> I use exec(sendmail) because it allows >> me to set the Return-Path. > > mail() does too. > In ? Yeah, I think I knew that, but for some reason I haven't been using it. I don't think it works in safe-mode or something like that. Or maybe it doesn't work in older (4.3

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

2008-09-12 Thread Richard Heyes
> I use exec(sendmail) because it allows > me to set the Return-Path. mail() does too. -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-09-12 Thread Per Jessen
Richard Heyes wrote: >> I use here-doc plus exec(sendmail). > > Why? Using heredocs is probably habit, but it's also easy, and I like keeping the email template in the code. I use exec(sendmail) because it allows me to set the Return-Path. For purely internal stuff, I just as often use plain m

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

2008-09-12 Thread Richard Heyes
> I use here-doc plus exec(sendmail). Why? -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-09-12 Thread Per Jessen
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

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

2008-09-12 Thread Tom Chubb
2008/9/12 Stut <[EMAIL PROTECTED]> > 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 lo

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

2008-09-12 Thread Tom Chubb
2008/9/12 Aschwin Wesselius <[EMAIL PROTECTED]> > 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

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

2008-09-12 Thread Aschwin Wesselius
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 don

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

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

[PHP] Email - Best practice/advice please

2008-09-12 Thread Tom Chubb
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 t