Hi,

you said that you don't have a provider, so I suppose that you do not have
any smtp server you could use...

You have two options, register with some provider so that you could use
their SMTP server (smtp server sends mail).

Or, install your own mail server...

Cheers,
Alex

----- Original Message -----
From: "Piotr Pluciennik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 12:46 PM
Subject: Re: [PHP-WIN] mail() does not work. Help please...


> 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
>
>




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to