I have relaying turned on, also SMTP Authentication.  When I'm testing I
turn the Authentication off.  I have no way in the ArgoSoft mail server of
specifying accepted ip's for relaying.

Email still does not work.

I have tried what you said about the logging.  I can comment out the
error_log=syslog line, uncomment the line to write it to a file, restart
IIS, says logging is turned off, no file is created.

It's like IIS is caching this php.ini file, changes I make don't show up
when I do phpinfo().

Rad...

> -----Original Message-----
> From: Stephen Edmonds [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 06, 2003 12:22 PM
> To: [EMAIL PROTECTED]
> Cc: PHP Windows Helplist
> Subject: Re: [PHP-WIN] mail() function not working
>
>
> To fix your mail server:
>
> You need to enable mail relaying on your mail server. HOWEVER, it is VERY
> VERY important that ONLY the IP address of 127.0.0.1 is allowed to relay
> mail. If any IP can use the mail relay service, then anyone can use your
> mail server to send out spam annomously. Once that is done, you should be
> able to send email without any problems. If you continue to have
> a problem,
> check your mail server logs as that will show the connection from php
> attempting to send the email.
>
> As for your logging problem, have you set a file path for logging to? Look
> for
> '; Log errors to specified file.
>  ; error_log = '
> and put in a valid file name/directory where you want your logs
> made. (e.g.:
> C:\Webserver\PHP\errors.txt - the full path is needed! ). Then, make sure
> you have made the errors.txt file in the directory where the setting is
> pointing. Remember also to remove the ; from infront of error_log =,
> otherwise the line won't be processed!
>
> Stephen
>
> ----- Original Message -----
> From: "Rad Craig" <[EMAIL PROTECTED]>
> To: "PHP Windows" <[EMAIL PROTECTED]>
> Sent: Monday, January 06, 2003 5:38 PM
> Subject: [PHP-WIN] mail() function not working
>
>
> > I have a new PHP install on Win2k.  Everything has worked except the
> mail()
> > function.  Nothing shows up in my event log.
> >
> > I have a mail server installed on the same machine.  I have the
> > SMTP=localhost set in my php.ini file.  The mail server works fine, has
> been
> > for many months.
> >
> > I have logging turned on in php.ini, but when I run phpinfo()
> it says it's
> > turned off.  The path to the php.ini file returned from phpinfo() is the
> > same one I'm editing.
> >
> > After any change to the .ini file I always restart IIS.
> >
> > Can someone point me in the right direction PLEASE.
> > ================================
> > Rad Craig
> >
> >
> >
> > --
> > 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
>
>



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

Reply via email to