Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Info using ASP

Status
Not open for further replies.

d1004

Programmer
May 9, 2002
78
US
How can I email my Request.QueryString or part of it to a recepient w/o bringing up Outlook mail form. It just do automatically.
once it is done executing the page.
If I use the mailto, it brings up that mail form. Any suggestion on bypassing that.
thank you.
 
Use the Keyword Search and look for CDONTS, or just go to this FAQ: faq333-2962

-pete
 
Well, I used the following codes, but it gave me the following errors:

Dim objMail
set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = "blah@blah.com"
objMail.To = "blah@blah.com"
objMail.Subject = "Testing"
objMail.Body = "whatever"
objMail.Send

Errors:
Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/eee/eeee/eeee.asp, line 104

Invalid class string

I'm using Window 2000, and it is IIS Server. Any suggestion
on why it gave me that error?
Thank you very much


 
It still give me the same error message.
 
is the SMTP service running? Not sure if that needs to running for CDO to work
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top