Re: sending email from asp

From: Patrice (nobody_at_nowhere.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 19:55:41 +0100

First disable "show simplifed HTTP errors" in your IE config. This way you
should have the exact error rather than a generic message...

Patrice

-- 
"Glenn" <nospam@yahoo.com> a écrit dans le message de
news:OvLN3CEGFHA.548@TK2MSFTNGP14.phx.gbl...
> Can anyone point me to some GOOD directions on how to send an e-mail from
> asp.  (And, if this matters [I think it does] - I have Microsoft Exchange
> 2000 installed on a Windows 2000 server which is also where my web site
is)
>
> Basically here is what I am trying to do:
>
> I have a from I created in Front Page XP.  I want the results to go to a
> datbase and an email address.
>
> I found Microsoft's white page on how to do this.  If I take out the code
> for sending the email (uses CDONTS) it works fine - the database gets
> updated.
>
> However, once I put the code for the email in, and I try to submit the
form,
> I get "The page cannot be displayed .... HTTP 500 - Internal Server
error".
>
> I think the problem is that I do not have a default SMTP server in IIS, as
I
> have the Exchange Server loaded.  So, I think I have two choices:
>
> 1)  Find out how to redirect CDONTS to SMTP on Exchange (can find no
> documentation on how to do this),
>
> or
>
> 2) Send e-mail that includes the form results using something other than
> CDONTS.
>
> Thanks for any help you might be able to provide.
>
> Glenn
>
>


Relevant Pages

  • Re: cdont
    ... If your site is hosted on a Windows 2003 server, then CDONTS is not available unless the web host ... The coding for this is different from CDONTS. ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.windows.server.general)
  • Re: cdont
    ... If your site is hosted on a Windows 2003 server, then CDONTS is not available unless the web host ... The coding for this is different from CDONTS. ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.client)
  • Re: cdont
    ... If your site is hosted on a Windows 2003 server, then CDONTS is not available unless the web host ... The coding for this is different from CDONTS. ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: CDONTS strangeness
    ... could it be an upstream SMTP server at your ISP rejecting the communication? ... there's no documented behaviour for this in CDONTS, ... hear freedom comin" ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: CDONTS strangeness
    ... Is there a specific reason you are using CDONTS instead of System.Web.Mail? ... there is no way the outgoing server can verify if an email exists or ... since you need to configure your smtp server ... correctly and verify the server. ...
    (microsoft.public.dotnet.framework.aspnet)