Error 0x80040213

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jl Colee
    New Member
    • Nov 2006
    • 1

    Error 0x80040213

    I am a very begineer using Win XP Pro and Dreamweaver and my contact form seemed to work fine and then started with this error. Any help would be appreciated.



    R
    JL



    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/sendusing") = 2 'Send the message using the network (SMTP over the network).
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/smtpserver") = smtpserver
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/smtpserverport" ) = 25
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection (True or False)
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/smtpconnectiont imeout") = 60

    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e") = 1 'basic (clear-text) authentication
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/sendusername") = youremail
    ObjSendMail.Con figuration.Fiel ds.Item ("http://schemas.microso ft.com/cdo/configuration/sendpassword") = yourpassword

    ObjSendMail.Con figuration.Fiel ds.Update

    'End remote SMTP server configuration section==

    ObjSendMail.To = youremail
    ObjSendMail.Sub ject = ContactUs_Subje ct
    ObjSendMail.Fro m = ContactUs_Email

    ' we are sending a html email.. simply switch the comments around to send a text email instead
    ObjSendMail.HTM LBody = strBody
    'ObjSendMail.Te xtBody = strBody

    ObjSendMail.Sen d

    Set ObjSendMail = Nothing
Working...