HostFast services are trusted by more than 110,000 users WorldWide.
SITE VERIFIED:
SITE VERIFIED:
SITE VERIFIED:
PHP sends mail from 'nobody', how can I change it?
Print
26
Setting a proper 'From' address is important so that replies, bounces, etc go back to an appropriate address rather than the 'nobody' account on our web servers.
The last two parameters to mail(), which are optional, are "additional_headers" and "additional_parameters". They can both be used to ensure a properly set 'From' address.