PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
You have change your SMTP server in PHP.ini. I'm sure there are some servers where you live that you can use. Your ISP for an example. But you can try upload the script to a webserver that supports PHP and run it from there. That will do it.
Yes you can run you're mail functions locally by changing the SMTP settings in PHP.ini. If no SMTP is set then PHP got nothing to use to send the mail.
This is my settings. smtp.online.no is the SMTP server to my ISP provider. And I use that. Find the SMTP server of your ISP provider and write it where i have written mine.
[mail function]
; For Win32 only.
SMTP = smtp.online.no ; for Win32 only
; For Win32 only.
sendmail_from = Zeceer ; for Win32 only