title: How to send email to a distribution list with vbScript in an asp
body: <p>I'm very new to vbscript but here's what I have so far, Doesn't seem to be working though:</p>
  
  <pre><code>&lt;script type="text/vbscript"&gt;
  Sub Senmail()
  Dim objOutlook As Object
  Dim objOutlookMsg As Object
  Set objOutlook = CreateObject("Outlook.Application")
  Set objOutlookMsg = objOutlook.CreateItem(0)
  With objOutlookMsg
     .To = "eric@gmail.com"
     .Cc = "name@email.com"
     .Subject = "Hello World (one more time)..."
     .Body = "This is the body of message"
     .HTMLBody = "HTML version of message"
     .Send 
  End With
  Set objOutlookMsg = Nothing
  Set objOutlook = Nothing
  End Sub
  &lt;/script&gt;
  </code></pre>
  
  <p>Any input would be appreciated! Or any other ways I could send an email is my asp....</p>