View Single Post
  #4 (permalink)  
Old December 28th, 2004, 01:40 PM
shankhan shankhan is offline
Authorized User
Join Date: Dec 2004
Location: Multan, Punjab, Pakistan.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shankhan Send a message via Yahoo to shankhan

I have made the changes as suggested by nashnash
dim subject
dim fro
dim tot
dim myMail
dim bod

bod = request.form("body")
subject = request.form("sub")
fro = request.form("from")
tot = request.form("to")

Set myMail = Server.CreateObject("CDONTS.NewMail")
myMail.Subject= subject
myMail.From= fro
myMail.To= tot
myMail.TextBody = bod
response.write "Ok Mail has sent"
it is giving error which is following
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/mysite/sendpage.asp, line 13

Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
plz check it

Reply With Quote