So, you should have an access to smtp server. Then in php.ini set lines as below according to address of your server and your mailbox...
[mail function] SMTP = your.smtp.server sendmail_from = [EMAIL PROTECTED] HTH Piotr --- Peter <[EMAIL PROTECTED]> wrote: > My mail() does not work. Apache server tells me that > no connection could > be made. (I have: windows XP, Apache, PHP4, MySQL)I > do not have a > provider. I just have a bare ADSL line (which I > could hire for a bargain). > 1. what must I do in the ini-files? (send_mail etc.) > 2. this is my small text which does not work: > $my_mail = "<my_email_address>" > mail ($my_mail, "No need for reply -- PHP test!", > "hi Peter\nLine 2\n"); > 3. I have a XP-firewall. > As all the other programs work well (several > messengers work fine: AOL, > MSN) what did I do wrong, forget etc. > Can anyone help me? > with friendly greetings, > Peter > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php