In a script I want to use the mail-function of PHP. In the phpinfo-file the address it says "admin@server". In php.ini I can't find this e-mailaddress.
Where can I change this setting?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the adress admin@server is the local server address. this has nothing to do with the mail sender from php. you need to set the configuration in the php.ini like written in http://php.benscom.com/manual/en/ref.mail.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In a script I want to use the mail-function of PHP. In the phpinfo-file the address it says "admin@server". In php.ini I can't find this e-mailaddress.
Where can I change this setting?
the adress admin@server is the local server address. this has nothing to do with the mail sender from php. you need to set the configuration in the php.ini like written in
http://php.benscom.com/manual/en/ref.mail.php
imho, php relies on sendmail.
sendmail is provided on *nix platform - if you're trying to use it on windows (r), it won't work ;)
May be via cygwin ?
http://www.cygwin.com/
http://pigtail.net/LRP/cygwin-exim.html