Re: mail() does not work. Help please...
| From: | Peter | Date: | Wed, 28 Aug 2002 10:58:24 +0000 |
| Subject: | Re: mail() does not work. Help please... | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15550@lists.php.net to get a copy of this message | ||
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 = 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