View Single Post
  #5 (permalink)  
Old 05-13-2008, 04:15 PM
phpforfun's Avatar   
phpforfun phpforfun is offline
Programming God
 
Join Date: Feb 2008
Posts: 742
Last Blog:
Programming "Just a ...
Rep Power: 8
phpforfun will become famous soon enoughphpforfun will become famous soon enough
Default Re: Mailing Question

Quote:
Originally Posted by John View Post
When using the mail function, the From header must be set. If you do not explicitly set it, it will use the server's default [prs.ionicware.com]. You can set it either by
PHP Code:
$headers 'From: webmaster@example.com' "\r\n";
mail($to$subject$message$headers); 
or by defining the the sendmail_from directive in your personal php.ini file.
Bump, Jordan, remember my problem? lol
__________________
Free Proxy || Reliable Hosting
Reply With Quote

Sponsored Links