Re: [PHP] How to override header info in mail()

2002-11-30 Thread Paul Nicholson
ll" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Saturday, November 30, 2002 1:46 PM > Subject: Re: [PHP] How to override header info in mail() > > > Hey, > > The correct way of doing that is: > > if (!mail($to, $subject, $

Re: [PHP] How to override header info in mail()

2002-11-30 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, The correct way of doing that is: if (!mail($to, $subject, $body, "From: ". $from ."\r\nContent-type". $contentType)) {..} HTH! ~Paul On Saturday 30 November 2002 12:58 pm, Phil Powell wrote: > I am using this line: > > if (!mail($to, $subject,