|
|
|
|
|
| | |
|
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
U can do like this |
From: |
Srisahana |
Date: |
12/2/2000 12:49:36 AM |
IP: |
210.214.104.5 |
This code will work only if u r running in NTserver only, Mail me if u have any problem
<%
FRMAT = "PlainText"
MESSAGE = "Here is the body text."
Set obCDOMail = Server.CreateObject("CDONTS.NewMail")
obCDOMail.From = "myEmail@domain.com"
obCDOMail.To = Request.Form("sendTo")
Some other tags can be used too:
obCDOMail.Cc= "user1@domain.com;user2@domain.com"
obCDOMail.Bcc = "user1@domain.com;user2@domain.com"
obCDOMail.Importance = 1 (0=Low, 1=Normal, 2=High)
obCDOMail.Subject = "My Subject is coffee. Mmmmm.."
If FRMAT = "text/html" Then
obCDOMail.BodyFormat = 0
obCDOMail.MailFormat = 0
obCDOMail.Body = "<html><body>"&MESSAGE&"</body></html>"
Else
obCDOMail.Body = ""&MESSAGE&""
End If
obCDOMail.Send
Set obCDOMail = Nothing
%> |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|