I set up a website on a VPC through my home connection. I got IIS7, PHP and mysql working great.
The issue I am having is getting SMTP working.
I know my ISP is blocking port 25, so in the PHP.ini file I changed the port to 35.
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 35
; For Win32 only.
sendmail_from = mailer@sbytes.info
I also changed it to port 35 in the IIS manager. Most of the other options there are pretty much default. I turned off the windows firewall and opened port 35 on my router even though I don't think these last 2 should be necessary.
The problem is the mail keeps getting stuck in the Queue folder.
If I open up one of the queued messages it looks as follows:
Received: from SERVER2008 ([127.0.0.1]) by sbytes.info with Microsoft SMTPSVC(7.5.7600.16385);
Sat, 6 Feb 2010 12:23:58 -0500
Date: Sat, 06 Feb 2010 12:23:58 -0500
From: mailer@sbytes.info
Subject: test message
To: MyEMAIL@gmail.com
Return-Path: mailer@sbytes.info
Message-ID: <SERVER2008kUfsH1nWM00000005@sbytes.info>
X-OriginalArrivalTime: 06 Feb 2010 17:23:58.0900 (UTC) FILETIME=[2AFE9F40:01CAA751]
test message
Anyone have any ideas what I am doing wrong or things to try? It seems like its getting to the SMTP server but no further then that.
Question
RAINMAN
I set up a website on a VPC through my home connection. I got IIS7, PHP and mysql working great.
The issue I am having is getting SMTP working.
I know my ISP is blocking port 25, so in the PHP.ini file I changed the port to 35.
I also changed it to port 35 in the IIS manager. Most of the other options there are pretty much default. I turned off the windows firewall and opened port 35 on my router even though I don't think these last 2 should be necessary.
The problem is the mail keeps getting stuck in the Queue folder.
If I open up one of the queued messages it looks as follows:
Anyone have any ideas what I am doing wrong or things to try? It seems like its getting to the SMTP server but no further then that.
Link to comment
https://www.neowin.net/forum/topic/873098-iis7-and-smtp-email-issues/Share on other sites
8 answers to this question
Recommended Posts