asp CDO.Message.1 error '80040213' The transport failed to connect to the server. /check.asp, line 25

前端 未结 1 1194
囚心锁ツ
囚心锁ツ 2021-01-03 00:29
CDO.Message.1 error \'80040213\'

The transport failed to connect to the server.

/check.asp, line 25

please help to solve this problem

che

相关标签:
1条回答
  • 2021-01-03 00:52

    You need to add your user name and password before sending. This is because you used a value of 2 in the sendusing's field. This means you're using authentication.

    'Your UserID on the SMTP server'
    objCDOSYSCon.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "yourusername"
    
    'Your password on the SMTP server'
    objCDOSYSCon.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "yourpassword"
    
    0 讨论(0)
提交回复
热议问题