Re: IIS, SMTP Server, and CDO

From: M. J. Kahn (mjkahn2002_at_yahoo.com)
Date: 06/10/04

  • Next message: Jeff Cochran: "Re: IIS, SMTP Server, and CDO"
    Date: Thu, 10 Jun 2004 08:19:38 -0700
    
    

    See below--

    >-----Original Message-----
    >On Wed, 9 Jun 2004 14:11:00 -0700, "M. J. Kahn"
    <mjkahn2002@yahoo.com>
    >wrote:
    >
    >>I have a Win2K server running IIS 5.0. The SMTP service
    is
    >>running. Exchange Server is *not* installed.
    >>
    >>I have an ASP page that uses CDONTS to create and send a
    >>NewMail object. When I load the page in a browser to
    send
    >>the message, I get no error messages, but the message
    >>doesn't get sent.
    >
    >Try:
    >
    >HOW TO: Test Windows 2000 IIS SMTP Services Manually
    >http://support.microsoft.com/default.aspx?scid=kb;en-
    us;286421

    Very helpful to be able to separately test the individual
    components of a message!

    I was getting a 550 problem with any recipients I tried. I
    changed the SMTP server's Relay Restrictions to allow all
    systems to relay. That solved the 550 problem, but
    messages are still getting hung up in the Queue folder.

    My test computer is at my home, on a Comcast (broadband
    cable) network. My computer doesn't have a DNS domain name-
    -only an IP address. Could that be causing a problem?

    Thanks--

    >>There are no relevant-looking messages in the system
    Event
    >>Log.
    >>
    >>The SMTPSVC log file (in c:\winnt\system32
    >>\logfiles\SMTPSVC1) does not change when I load the ASP
    >>page in the browser to send the message. (I think this
    may
    >>be a clue, but I don't know what it means.)
    >
    >It means SMTP is never getting a loggable event.
    >
    >>In c:\inetpub\mailroot\queue, there are a bunch of .eml
    >>files that contain the various test messages I've tried
    to
    >>send. When I stop and re-start the SMTP service, the
    >>timestamps of those files are updated, which leads me to
    >>believe that the SMTP service is trying valiantly to
    send
    >>those messages, but somehow can't.
    >
    >See:
    >
    >http://www.aspfaq.com/show.asp?id=2268

    This pointed me to an article that essentially said:

    - Load Win2K SP2 for a fix. (I'm using SP3.)
    - Check the SMTP smarthost. (Mine is empty.)
    - Check the FQDN. (I've tried both the machine name and
    localhost, with the same results. The Check DNS button
    says both are fine.)

    >
    >Jeff
    >
    >>I tried temporarily turning off my firewall, in case
    there
    >>were any issues there, but that didn't change anything.
    >>Port 25 is configured to let traffic through.
    >>
    >>I've tested the ASP page on another server, and it works-
    -
    >>no errors and the message is sent just fine, so I don't
    >>think the problem is in the ASP code. My server doesn't
    >>have a DNS domain name, just an IP address. Then again,
    >>the other server I tested on (the one that works fine)
    >>doesn't have a domain name either, so I don't think
    that's
    >>the problem. I've compared the SMTP configuration of the
    >>two servers (by viewing their "SMTP Virtual Server
    >>Properties"), and they look the same.
    >>
    >>My head is starting to get a little bruised from being
    >>beat against the wall. The wall isn't doing real well
    >>either. Any ideas?
    >
    >.
    >


  • Next message: Jeff Cochran: "Re: IIS, SMTP Server, and CDO"