We Recommend

ASP.NET 3.5 Unleashed ASP.NET 3.5 Unleashed
ASP.NET 3.5 Unleashed is the most comprehensive book available on the Microsoft ASP.NET 3.5 Framework, covering all aspects of the ASP.NET 3.5 Framework--no matter how advanced.


Posted By

wizard04 on 07/29/08


Tagged

email ASP vbscript


Versions (?)


Send Email


Published in: ASP 


Send an email from the server.

  1. dim email
  2. set email = Server.CreateObject("CDO.Message")
  3. with email
  4. .From = "me@example.com"
  5. .To = "you@example.com"
  6. .Subject = "Sending an email"
  7. .TextBody = "Blah blah blah"
  8. .Send
  9. end with
  10. set email = Nothing

Report this snippet 

You need to login to post a comment.