iAlpine.net
A journey of exploration and discovery

True Love! - Soja

July 22, 2011 01:11 by mihko

Thanks to my brother for sharing this video!


PHP mail funcion won't work if you do not add installation of SMTP server with IIS

August 23, 2009 19:29 by mihko


Lately I configured PHP to work on my server with IIS and I noticed that a standard PHP mail function does not appear to be sending any emails from the server. I found out that by default when installing IIS SMTP Server is not included with the installation of IIS and therefore emails cannot be send.

To get this working you need to additionally install SMTP Virtual Server. Installation can be found under:

Control panel -> Add Remove Programs -> Add Remove Windows Components -> Application Server -> IIS -> SMTP Service

Also you might need to configure in:

Computer Management Services and Applications -> IIS -> Default SMTP Virtual Server -> Properties -> Access:

Relay restrictions to grant your local IP address and 127.0.0.1 and make sure that under Connection control -> connection is set to "All except the list below".

Before as I had my PHP configured with Apache on Unix - FreeBSD OS by default Sendmail was set as SMTP Service and there was no need to configure this additionally.


IIS FTP Configuration - Failed to retrieve directory listing error in FTP Filezilla Client

April 13, 2009 19:08 by mihko


After I configured the FTP site in IIS on Windows Server 2003 and added permission to a new FTP user on my FTP directory I ran into the following problem with my FTP Filezilla Client when trying to establish a connection to FTP Server. Output error: Failed to retrieve directory listing.  In my case Filezilla Client normally established a connection but the client did not want to list my directories. After I checked all options in IIS I thought of seeing what is enabled in Windows Firewall. There I found a setting that solved my problem:

In Control Panel -> Windows Firewall -> Advanced tab click settings and check FTP Server to enable access.

That was it! My FTP connection then worked as expected :)





  

Sponsors


www.knetit.net

Kiva - loans that change lives


  

Job Board for Web Designers and Web Developers

The On Demand Global Workforce - oDesk

affiliate_link