Forum Moderators: coopster

Message Too Old, No Replies

Mail headers

         

daveginorge

7:02 am on Jul 8, 2008 (gmt 0)

10+ Year Member



Thread: [webmasterworld.com...]

As a newbie to PHP and my first time to "Webmasterworld" could someone please let me know if it is advisable to write all of the mail header as "NomikOS" has or can we rely on the "sendmail" setup on the 'nix server to handle that.

Thanks
Dave

[edited by: eelixduppy at 7:06 am (utc) on July 8, 2008]
[edit reason] moved [/edit]

eelixduppy

7:57 am on Jul 8, 2008 (gmt 0)



Hello and Welcome to WebmasterWorld! :)

Defining all the headers like that isn't necessary for most applications. What you HAVE to define, however, is the FROM header in order to send email; all the other headers you can leave to be automatically defined.