View previous topic :: View next topic |
Author |
Message |
gnom -
Joined: 05 Nov 2004 Posts: 3
|
Posted: Tue Feb 01, 2005 10:49 pm Post subject: CDO.Message noob problem |
|
|
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 |
|
|
HIWD -
Joined: 13 Apr 2004 Posts: 142 Location: Dublin, Ireland
|
Posted: Sat Feb 05, 2005 9:21 pm Post subject: |
|
|
Try using ASPEmail, it always works for me!
Regards,
HIWD. |
|
Back to top |
|
|
|