View Single Post
  #6 (permalink)  
Old 05-13-2008, 04:21 PM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,323
Credits: 0
Rep Power: 74
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
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.
But that sets the email address it's emailed from right? (So if anyone presses reply it will reply to that email) but the mailed-by in GMail is not the from field. I already set the from field as my email.

Where is the php.ini?

Quote:
Originally Posted by phpforfun View Post
Bump, Jordan, remember my problem? lol
What's that?

Last edited by TcM; 05-13-2008 at 04:24 PM.
Reply With Quote