If you are using a Windows version of PHP, the mail facility is pre-compiled. All you need to do is set the PHP.INI directives below. [mail function] ; For Win32 only. SMTP = server@xxxxxxxxxx smtp_port = 25 ; For Win32 only. sendmail_from = my_email@xxxxxxxxxx Regards, Neil -----Original Message----- From: Alejandro G. [mailto:agarrammone@xxxxxxxxxxxxxxx] Sent: 30 May 2007 01:19 To: php-windows@xxxxxxxxxxxxx Subject: Configuring and send mails in winxp?? Hi Everybody! I need to configure the mail option in PHP because I want to use the function mail( ) with the smtp of my ISP. My machine is the server of an Intranet and the mail had to go to the Internet. This server is using Apache 2.x How can I configure php to do that?? I read the documentation and I write some code but the mail is sent but is going nowhere because I send to another mail direction (mine, obviously) and it never arrive. HELP!!! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php