title: CDO - Not Sending email
body: <p>Helllo,
  i am calling ASP page from HTML on click of submit button, and in ASP i want to send Email.
  So i have writen below code, but neither it is sending mail nor i am getting any Error.</p>
  
  <pre><code>&lt;%
  dim myMail
  Set myMail=CreateObject("CDO.Message")
  myMail.Subject="Sending email with CDO"
  myMail.From="FromEmail"
  myMail.To="ToEmail"
  
  myMail.HTMLBody = "&lt;h1&gt;This is a message.&lt;/h1&gt;"
  On Error Resume Next
  myMail.Send
  If Err.Number = 0 then
    Response.ContentType="application/json"
    Response.Write "{ request: 'success'}"
  Else
    Response.ContentType="application/json"
    Response.Write "{ request: 'failed'}"
  End If
  
  set myMail=nothing
  %&gt;
  </code></pre>
  
  <p>Can anyone please help me on this..?</p>