you have to configure smtp settings in php.ini file. If you place your file in the webserver then it is probably already configured.if you are using it in ur coimputer configure the php.ini file as:[mail function]; For Win32 only.SMTP = smtp.yourisp.com
crazynp
Junior Poster in Training
58 posts since Jan 2007
Reputation Points: 10
Solved Threads: 2
If you are using WAMP then goto config files and then goto php.ini file and edit it with above given hints. It worked for me.
crazynp
Junior Poster in Training
58 posts since Jan 2007
Reputation Points: 10
Solved Threads: 2
then no poblem just edit php.ini
crazynp
Junior Poster in Training
58 posts since Jan 2007
Reputation Points: 10
Solved Threads: 2
crazynp
Junior Poster in Training
58 posts since Jan 2007
Reputation Points: 10
Solved Threads: 2
As i said i put blueyonder stmp and my gmail account there.... the server runs fine, but when i send the email i dont receive it in my gmail account.
You dont need to put the email address in php.ini. Changing the smtp server may work fine. just try to telnet your smtp server on port 25 or 26 and if it is connected then there is no problem. You may also want to debug the code,. Can you post the code here?
crazynp
Junior Poster in Training
58 posts since Jan 2007
Reputation Points: 10
Solved Threads: 2