Sometimes your host will set things so that you also make use of the 5th parameter (additional parameters). This is often to set flags, e.g. of 5th param:
-f name@example.com
See your host's FAQ's about using mail(). Almost every host I've used for shared hosting accounts insist on this. Otherwise users can jojob and send emails which look as though they come from fictitious or other people's addresses.
diafol
Keep Smiling
10,607 posts since Oct 2006
Reputation Points: 1,628
Solved Threads: 1,506
Skill Endorsements: 57