Forgive me on the long-winded verbages below but I am REALLY frustrated! (Again, forgive me...)
I have read every conceivable ASP article on every possible ASP forum regarding everything needed to setup, install, and actually run a *working* mail server on the same old Dell machine that currently does a great job as my personal (home network) web server. It's a (old) Optiplex GX1 w/ 3/4-ton RAM (768MB) running Windows 2000 server (not Advanced) with every M$-specified hotfix, patch, update, etc. As I said it does fine as a web server, but try to get it to send out SMTP mail is currently harder and less productive than using my head as an axe to chop wood for the coming winter.
I have tried using the CDONTS (I registered and re-registered the cdonts.dll file) setup as well as the CDOSYS route and both tell me the emailing was successful but the remote internet-based email accounts (tried at least 3 different accounts: Yahoo, Netscape, Hotmail) receive no emails from my server (yes, I can send and forward from within Yahoo, Netscape, Hotmail, etc.).
For grins I'm posting both CDO[NTS and SYS] .asp files here:
<%
Dim objCDOMail
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "
[email protected]"
objCDOMail.To = "
[email protected]"
objCDOMail.Subject = "An email test"
objCDOMail.BodyFormat = 0
objCDOMail.Body = "This is a test and ONLY a test..." & vbcrlf
objCDOMail.Send
Set objCDOMail = Nothing
%>
This can only mean that your eMail was successful...
...and the CDOSYS file:
<%
Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")
Set objFields = objConfig.Fields
With objFields
.Item("http://schemas.microsoft.com/cdo/configuration/SendUsing")= 1
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")= "http://127.0.0.1"
.Item("http://schemas.microsoft.com/cdo/configuration/SMTPServerPort")= 25
.Update
End With
With objMail
Set .Configuration = objConfig
.To = "
[email protected]"
.From = "
[email protected]"
.Subject = "This is a test"
.textbody = "Please work, I have no more hair left..."
.Send
End With
%>
If you see this then the email must be successful...
For either one I get the expected '...successful...' message with no errors from my web server but no emails in the expected internet inboxes. Snooping around the web server I noticed there are several .EML files sitting in the \Inetpub\mailroot\Queue folder that appear to be my missing emails - why aren't they on Netscape.net and/or Yahoo.com?
At this point I have 2 general questions:
1. Is there some ASP code that will confirm my SMTP setup/install is correct? If not any ASP code then please, be VERY detailed on any other checks I should do;
2. The only denominator left unchecked thus far in my home network equation is a Belkin router that is configured to be stealthier than the Predator (check your stealthiness at Steve Gibson's Shields Up site @
https://www.grc.com/x/ne.dll?bh0bkyd2). I'm wondering if there are certain ports/other configs in need of change to fix this problem?