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
how to use mail function of php in windows ...
Moderator: General Moderators
-
gomeshpriya
- Forum Newbie
- Posts: 2
- Joined: Sun Jul 05, 2009 1:15 pm
Re: how to use mail function of php in windows ...
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. 
-
SidewinderX
- Forum Contributor
- Posts: 407
- Joined: Fri Jul 16, 2004 9:04 pm
- Location: NY
Re: how to use mail function of php in windows ...
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 ...
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...)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().
-
gomeshpriya
- Forum Newbie
- Posts: 2
- Joined: Sun Jul 05, 2009 1:15 pm
Re: how to use mail function of php in windows ...
thanks for ur reply
Re: how to use mail function of php in windows ...
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.I strongly recommend another host. WebHostingBuzz and HostMonster have both served me well.