Page 1 of 1
how to use mail function of php in windows ...
Posted: Sun Jul 05, 2009 1:25 pm
by gomeshpriya
Hi Friends,
This is Gomesh . Recently i am started learning php.
can any one tell me how to use mail function on windows...
what change i have to do in my php.ini file .
Thanks in advance...
Regards
Gomesh
Re: how to use mail function of php in windows ...
Posted: Sun Jul 05, 2009 2:00 pm
by omniuni
Most things should be set. You may need to fix your SMTP server, but that should be about it, because mail() is just a sending function. The function itself, of course, should work the same way as always. Note that of course, PHP works best in a *nix environment.

Re: how to use mail function of php in windows ...
Posted: Sun Jul 05, 2009 2:02 pm
by SidewinderX
Just as an FYI (and heads up to anyone else) - if you have a Godaddy Windows shared hosting account, you will not be able to send mail using mail().
Re: how to use mail function of php in windows ...
Posted: Sun Jul 05, 2009 2:07 pm
by omniuni
Just as an FYI (and heads up to anyone else) - if you have a Godaddy Windows shared hosting account, you will not be able to send mail using mail().
GoDaddy does some very strange things with their setup. I strongly recommend another host. WebHostingBuzz and HostMonster have both served me well. They also will not do PHP5 and FrontPage extensions on Windows Hosting. Very weird. I do not see how these are exclusive. (Though eeeewww FrontPage anyway...)
Re: how to use mail function of php in windows ...
Posted: Mon Jul 06, 2009 10:07 am
by gomeshpriya
thanks for ur reply
Re: how to use mail function of php in windows ...
Posted: Mon Jul 06, 2009 10:45 am
by genconv
I strongly recommend another host. WebHostingBuzz and HostMonster have both served me well.
And I can recommend
H9 (HostNine) web hosting. There is no problem with mail function. All PHP functions are enabled and it's very fast.