p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: ASP errors from e-mail response


Message #1 by "Glenn Jarvis" <gjarvis@f...> on Tue, 29 May 2001 23:52:27
you may have to convert the %40 back into an @ sign for it to work.

At 23:52 29/05/01 +0000, you wrote:
>     I get the following error message from my code for an email response
>
>The page cannot be displayed
>
>   There is a problem with the page you are trying to reach and it cannot
>   be displayed.
>
>
>     HTTP 500.100 - Internal Server Error - ASP error
>   Internet Information Services
>
>
>
>   Technical Information (for support personnel)
>
>        Error Type:
>        CDO.Message.1 (0x80070005)
>        Access is denied.
>        /emailReminder.asp, line 59
>
>        Browser Type:
>        Mozilla/4.73 [en] (Windows NT 5.0; U)
>
>        Page:
>        POST 29 bytes to /emailReminder.asp
>
>        POST Data:
>        to=3Djim%40sbj-broadcasting.com
>
>     My code is:
>
>
><form action=3D"<%=3D Request.ServerVariables("URL") %>" METHOD=3D"post">
>   Enter your e-mail address:<br />
>   <input type=3D"text" name=3D"to" size=3D"30" />
>   <input type=3D"submit" value=3D"Send Mail!" />
>  </form>
>  <%
>Else
>         '------------------(for 2000)
>  Set objCDO =3D Server.CreateObject("CDO.Message")
>  With objCDO
>   .To       =3D strTo
>   .From     =3D strFrom
>   .Subject  =3D strSubject
>   .HtmlBody =3D strBody
>   .Send..................this is line 59 where error says it is
>  End With
>  Set objCDO =3D Nothing
>
>
>
>Can anyone help me here.....I am stumped.
>

  Return to Index