Page 1 of 2

IIS

Posted: Sun Jan 18, 2004 8:32 pm
by Straterra
You guys wouldn't happen to know if ISS is compatable with Win98SE, do ya?

Posted: Mon Jan 19, 2004 12:38 am
by kettle_drum
Im guessing you mean IIS, and if so yes. You should be able to find it on your win 98 CD.

Posted: Mon Jan 19, 2004 4:14 am
by twigletmac
I thought only PWS came with Windows 98?

Mac

Posted: Mon Jan 19, 2004 4:59 am
by JayBird
Yeah PWS only for win98SE.

Mark

Posted: Mon Jan 19, 2004 7:43 am
by Straterra
So..i will have to download it, correct?

Posted: Mon Jan 19, 2004 8:07 am
by twigletmac
You can't install IIS on Windows 98 at all AFAIK and that also seems to be what MS say:
Cannot Install IIS 5.0 on Windows 95, Windows 98, or Windows NT 4.0
You can install PWS from your Windows 98 disk, or you can forget about PWS and IIS and just use Apache.

Mac

Posted: Mon Jan 19, 2004 8:21 am
by Straterra
Well, I am using Apache..the whole reason I wanted to use IIS is because it has a built in mail server, right?

Posted: Mon Jan 19, 2004 9:04 am
by twigletmac
Err, not a very good one. Do you need your own mailserver? When I'm developing at home I can use my ISP's SMTP address to send mail via PHP.

Mac

Posted: Mon Jan 19, 2004 9:07 am
by Straterra
Yes, I do need my own mailserver. I downloaded one, PostCast, and I am installing it right now...How did you use your ISP's server?

Posted: Mon Jan 19, 2004 9:07 am
by twigletmac
I use the same SMTP address that I do when setting up an email account. It works fine.

Mac

Posted: Mon Jan 19, 2004 9:16 am
by Straterra
But, with my ISP, I have to log in to send and view email..how would I have PHP login?

Posted: Mon Jan 19, 2004 9:25 am
by twigletmac
There's two different types of servers that you connect to when you do your e-mail, there is the POP3 or IMAP server where your e-mail is stored, this normally requires you to login in to it so that you can see that e-mail. However, when you send an e-mail you do not use the POP3 or IMAP server, you use the SMTP server which, in the vast majority of cases for ISPs does not require authentication in the same way. If you want to send e-mail from PHP you only want to use the SMTP server and probably won't have to authenticate yourself (above and beyond being connected to your ISP's network).

Check your account settings for your e-mail, look for the SMTP server address (outgoing server). Put that in as the SMTP address in your php.ini and run a simple mail script to see if it works.

Mac

Posted: Mon Jan 19, 2004 9:32 am
by Straterra
I found that my ISP's email adress is smtp.earthlink.net..

I get this error when I try to send an email

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:\ftp\users\straterra\cgi-bin\mail.php on line 2

And I have these lines filled out in my php.ini

[mail function]
; For Win32 only.
SMTP=smtp.earthlink.net; for Win32 only

; For Win32 only.
sendmail_from=straterra@eckclan.sytes.net; for Win32 only


I wonder..why does it say localhost when I told it to connect to earthlink's smtp server?

Posted: Mon Jan 19, 2004 9:39 am
by twigletmac
Hmm, are you sure you're editing the right php.ini, that's the first thing to check if you are getting an error message that doesn't correspond to your php.ini settings. Do a quick check by running:

Code: Select all

<?php phpinfo(); ?>
and see where PHP thinks it's getting its config information from.

Mac

Posted: Mon Jan 19, 2004 9:43 am
by Straterra
I had to restart my webserver for the changes to take place. It says it sent correctly, now to check the email addy I sent the message to...


Whoo hoo! It worked! thanks! :)