SMTP Problem on Small Business Server 2008 RRS feed

  • Question

  • User1723932646 posted

    HI i am getting this exception when i want to send email. plateform is server 2008 small business server. on server there is mail exchange server also working.

    Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Runtime.InteropServices.COMException: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))

    Source Error:

    Line 35:             message.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", drMailSetting.Item("mpassword"))
    Line 36:             SmtpMail.SmtpServer = drMailSetting.Item("mailserver")
    Line 37: SmtpMail.Send(message) 
    Line 38:         End If
    Line 39:     End Sub
    Monday, August 22, 2011 5:34 AM


  • User1723932646 posted

    i just updated my code to send email using


    before it was


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 23, 2011 4:36 AM