title: Unknown email code from CDO.Message send method
body: <p>I'm trying to send an email via vbscript.  Here's my email code:
  I've hidden the email address of course.  In my actual code I'm using a valid email address.</p>
  
  <pre><code>Dim objCDO
  Set objCDO = Server.CreateObject("CDO.Message") 
  objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.oa.caiso.com" 
  objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 
  objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 
  objCDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 
  objCDO.Configuration.Fields.Update 
  objCDO.To = "abcemail@devnull.com"
  objCDO.From = Sender
  objCDO.cc = ""
  objCDO.bcc = ""
  objCDO.Subject = txtSubject
  objCDO.HTMLBody = Replace(sBody, Chr(10),"&lt;br&gt;")
  On Error GoTo 0
  On Error Resume Next
  objCDO.Send
  If Err.Number &lt;&gt; 0 Then 
      Response.Write "Just after the send command "
      Response.Write "Err.Number is " &amp; Err.Number &amp; "&lt;br&gt;"
      On Error GoTo 0
  End If
  set objCDO = nothing
  </code></pre>
  
  <p>When this code runs I see the following error:</p>
  
  <p>Just after the send command Err.Number is -2147220978</p>
  
  <p>Now, when I research this error number there is no reference anywhere for error code -2147220978  In fact, a Google search for the number -2147220978 returns no results at all.</p>
  
  <p>Would you have any idea what that odd error code means?</p>