FW: Move of mailserver

FW: Move of mailserver

am 19.07.2007 13:30:00 von Gustav Wiberg

=20

-----Original Message-----
From: Gustav Wiberg [mailto:gustav@hmn.se]=20
Sent: Wednesday, July 18, 2007 1:08 PM
To: 'Stut'
Cc: ''php windows''
Subject: RE: [PHP-WIN] Move of mailserver

Hi!

No made changes seems to be made if I just resstart IISAdmin-service and we=
bpublishing-service etc..



I've changed my php.ini which resides in c:\Program\PHP\php.ini

But I still get localhost on smtp
http://hmn.se/phpinfo.php

Why is that?



The part of php.ini which is about mail-function:

[mail function]
; For Win32 only.
smtp =3D mail.hmn
smtp_port =3D 25
sendmail_from =3D HMN Webserver


The PHP is running on Windows 2003 Server.


Best regards
/Gustav Wiberg


-----Original Message-----
From: Stut [mailto:stuttle@gmail.com]=20
Sent: Wednesday, July 18, 2007 12:03 PM
To: Gustav Wiberg
Cc: ''php windows''
Subject: Re: [PHP-WIN] Move of mailserver

Gustav Wiberg wrote:
> Php.ini - Changes of smpt-settings in this file - DO I HAVE TO restart wh=
ole server?

Just the web server software, not the machine.

-Stut

--=20
http://stut.net/

No virus found in this outgoing message.
Checked by AVG Free Edition.=20
Version: 7.5.476 / Virus Database: 269.10.8/906 - Release Date: 2007-07-17 =
18:30
=20

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


No virus found in this outgoing message.
Checked by AVG Free Edition.=20
Version: 7.5.476 / Virus Database: 269.10.9/907 - Release Date: 2007-07-18 =
15:30
=20

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

Re: Move of mailserver

am 19.07.2007 18:26:51 von Niel Archer

Hi

Use phpinfo() to check that you are using the php.ini from the directory
you think you are, and not from C:\Windows or some other path with
higher priority..

> The part of php.ini which is about mail-function:
>
> [mail function]
> ; For Win32 only.
> smtp = mail.hmn
> smtp_port = 25
> sendmail_from = HMN Webserver

Windows doesn't like that format for the from field. Use php@hmnr only
without the name in front.
--
Niel Archer

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