This topic is locked

SMTP email problem on forgot password page

6/11/2007 11:30:33 AM
ASPRunnerPro General questions
B
berkeleyjw author

Hi. I am trying to set up the "forget password" functionality in ASPRunner. The page keeps failing on the myMail.Send line. I have the SMTP server and the username/password set up correctly (at least according to my email admin). We use a Lotos Notes SMTP server. I will copy/paste the error message I get, and then the part of the code in commonfunctions.asp that fails. Are there any special permissions I sould be looking at on the SMTP server end to make it work? Thanks.

  • Jim
    ERROR MESSAGE:
    The page cannot be displayed

    There is a problem with the page you are trying to reach and it cannot be displayed.
    --------------------------------------------------------------------------------
    Please try the following:
    Click the Refresh button, or try again later.
    Open the localhost:81 home page, and then look for links to the information you want.

    HTTP 500.100 - Internal Server Error - ASP error

    Internet Information Services
    --------------------------------------------------------------------------------
    Technical Information (for support personnel)
    Error Type:

    (0x80040211)

    /aspr41_DoverSRM/include/commonfunctions.asp, line 4883
    Browser Type:

    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
    Page:

    POST 67 bytes to /aspr41_DoverSRM/remind.asp
    POST Data:

    searchby=username&remtype=on&username=jim_williams&btnSubmit=Remind
    Time:

    Monday, June 11, 2007, 11:19:06 AM
    More information:

    Microsoft Support
    CODE BLOCK:
    Else

    ' Windows XP / 2003

    Set myMail=CreateObject("CDO.Message")

    myMail.Subject = subject

    myMail.From=cfrom

    myMail.To=email

    myMail.TextBody= message

    myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing";)=2

    'Name or IP of remote SMTP server

    myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver";)=csmtpserver

    'Server port

    myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport";)=csmtpport

    ' SMTP username and passwords

    myMail.Configuration.Fields.Item("http://schemas.microsoft.com/c­do/configuration/sendpassword";) = csmtppassword

    myMail.Configuration.Fields.Item("http://schemas.microsoft.com/c­do/configuration/sendusername";) = csmtpuser

    myMail.Configuration.Fields.Update

    myMail.Send

    Set myMail = Nothing

    End If

Sergey Kornilov admin 6/11/2007

Jim,
it's hard to tell.
Try another SMTP server to see if this error related to SMTP server itself or to Web server configuration (CDO components).