Re: mail() does not work. Help please...
| From: | Piotr Pluciennik | Date: | Wed, 28 Aug 2002 10:46:45 +0000 |
| Subject: | Re: mail() does not work. Help please... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15549@lists.php.net to get a copy of this message | ||
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 = your.address@your.domain
HTH
Piotr
--- Peter <peter_van_summeren@hotmail.com> 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