CDO.Message noob problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP
View previous topic :: View next topic  
Author Message
gnom
-


Joined: 05 Nov 2004
Posts: 3

PostPosted: Tue Feb 01, 2005 10:49 pm    Post subject: CDO.Message noob problem Reply with quote

Hi,
here is the asp code for my web site with form used for sending emails:

Code:

<html>
<body>

<%
dim fname
fname=Request.Form("fname")
dim fmail
fmail=Request.Form("fmail")
dim content
content=Request.Form("content")

If fname<>"" Then
   Set myMail=CreateObject("CDO.Message")
   myMail.Subject="NEW Mail"
   myMail.From=fmail
   myMail.To="gnom_xp@op.pl"
   myMail.TextBody=content
   myMail.Send
End If

%>

</body>
</html>


action of <form> is the path to *asp of course.
When i click submit I get:

Quote:
Active Server Pages- Error 'ASP 0152 : 80004005'

Security Error

line 1137

An error occurred while processing a user's security credentials ().


I counfigured ActiveHTML (smtp host etc). Strange that readme.txt in "CDONTS" folder is never modified. What is wrong???
Please help
Back to top View user's profile Send private message
HIWD
-


Joined: 13 Apr 2004
Posts: 142
Location: Dublin, Ireland

PostPosted: Sat Feb 05, 2005 9:21 pm    Post subject: Reply with quote

Try using ASPEmail, it always works for me!

Regards,
HIWD.
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Classic ASP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group