title: JMail.SMTPMail not working ("Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object")
body: <p>I am sending mail from ASP page using below code</p>
  <pre><code>Dim MyMail
  Set MyMail = Server.CreateObject(&quot;JMail.SMTPMail&quot;)
  MyMail.ServerAddress = &quot;&quot;
  MyMail.Sender = &quot;senderemail&quot;
  MyMail.AddRecipient  &quot;mail@mail.com&quot;    
  MyMail.Subject = &quot;Inquiry &quot;
  MyMail.Body = &quot;&lt;p&gt;This is a response&lt;/p&gt;&quot;
  MyMail.ContentType = &quot;text/html&quot; 
  MyMail.Execute
  Set MyMail=nothing
  </code></pre>
  <p>but its is not working.
  I am getting below error</p>
  <blockquote>
  <p>Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object</p>
  </blockquote>