You need to specify your ISP's SMTP server in your PHP.INI file. Edit the [mail function] section and set the following two variables:
SMTP=smtp-server.myisp.net
sendmail_from=fred@myisp.net
Then call the mail function:
mail("joe@foo.com", "Subject", "Line 1\nLine 2\nLine 3");
It's pretty easy.
Dave
===========================================
http://badblue.com
Free small footprint web server for Windows
P2P file-sharing, PHP, wireless apps & more