Hello Piotr, Thanks for your reaction. What must I fill in "your.smpt.server"? Where is my smpt-server? At this moment I hava no idea. I can get my address with ipconfig /all. So, I can fill in the sendmail_from address (although I do not want to receive e-mails at that address)Or must I take here some other address?. I am really sorry. I have no idea. You must tell me exactly. with friendly greetings, Peter
Piotr Pluciennik wrote: > 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