Sending mail from an ASP webpage

Discussion in 'Windows Small Business Server' started by BJ McGowan, Feb 18, 2004.

  1. BJ McGowan

    BJ McGowan Guest

    Hi all,

    We have just converted to Windows SBS2003 with Exchange 2003.

    Our intranet and a few other internal webbased systems used to rely on
    CDO Mail to send emails via these webpages (be they webmail type pages
    or alerts etc). We were running a Win2K server before hand and were able
    to use the Default SMTP Virtual Server to send our mail with.

    Now that we have upgraded, it has changed somewhat and it appears to no
    longer operate in the same fashion. IIS is considerably different (which
    i'm slowly getting the hang of) and we now use exchange as our mail server.

    How do we set this new machine up so that we can have our websites use
    exchange? Or more so how do we alter our ASP pages to be able to use the
    exchange server (ASP/VBScript)? I believe that CDO is no longer
    available or not what it used to be in earlier versions of windows.

    Any information or tutorials on using exchange in conjuction with ASP
    would be greatly appreciated.

    Thanks in advance
    Berk McGowan
     
    BJ McGowan, Feb 18, 2004
    #1
    1. Advertisements

  2. BJ McGowan

    Bob Genestet Guest

    BJ,
    I am not a Microsoft Tech, but I had a similar issue where I needed to
    create a SMTP alias to my default SMTP server for a .php based e-mail for a
    bulletin board I was hosting on my SBS2003. If you want to modify the SMTP
    virtual server, the default SMTP virtual server must be available in the
    Internet Services Manager snap-in. Exchange Setup Removes SMTP and NNTP from
    Internet Services Manager. I found an article that provides a command to
    place the SMTP virtual server back in IIS Manager.
    http://support.microsoft.com/default.aspx?scid=kb;en-us;288867

    Bob
     
    Bob Genestet, Feb 18, 2004
    #2
    1. Advertisements

  3. Add the IP of the webserver to the relay settings of the Default SMTP
    Virtual Server. Then try the page you've always used once you do this.

    Otherwise check out this.
    http://www.powerasp.com/content/hintstips/asp-email.asp

    CDONTS is the only way I've seen this done. I assume that is what the old
    page used.

    --
    Hope that helps,
    Dan Townsend

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Please do not send email to this address, post a reply to this newsgroup.

    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm
     
    Dan Townsend [MSFT], Feb 18, 2004
    #3
  4. The settings are there in ESM. I posted what he should be changing. :)

    --
    Hope that helps,
    Dan Townsend

    This posting is provided "AS IS" with no warranties, and confers no rights.
    Please do not send email to this address, post a reply to this newsgroup.

    Use of included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm
     
    Dan Townsend [MSFT], Feb 18, 2004
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.