Send email
Description:
How to send email using ASP , VB Script and the CDO(Collaboration Data Objects).
Code:
<%
Set objMail=CreateObject("CDO.Message")
objMail.Subject="Hello"
objMail.From="fromemail@domain.com"
objMail.To="email1@anotherdomain.com"
objMail.Bcc="email2@someotherdomain.com"
objMail.Cc="email3@ddoommaaiinn.com"
objMail.TextBody="Message text goes here."
objMail.Send
%>
Keywords:
VBScript: CreateObject
|