[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] ASP formmail script
- Subject: Re: [cobalt-users] ASP formmail script
- From: Brian Rahill <cobalt@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon Nov 18 09:29:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
At 04:11 PM 11/18/2002 +0000, you wrote:
Hi,
Has anyone got a formmail script that will work on the RaQ4's with ASP as
I have a client that needs this and my ASP skills are not
that good
he has one but gets - Problems this the formail is not working due to a
177 error message, cannot create.object failed - so thought
I would give it a try with one I knew worked on the RaQ's
He gets the create.object error for one of two reasons:
1. You don't have the latest chilisoft installed.
2. You do have the latest chilisoft installed but he is trying to use a
mail component other than CDONTS.
Install the chilisoft update and tell him to use CDONTS to send the mail.
His syntax should look something like this:
<%
On error resume next
Dim objEmail
Dim strBody
strBody = "A new FastTrack Application was submitted:" & vbcrlf & vbcrlf
Set objEmail= Server.CreateObject("CDONTS.NewMail")
objEmail.From = "someemail@xxxxxxxxx"
objEmail.To = "someotheremail@xxxxxxxxx"
objEmail.Subject = "Some Subject"
objEmail.Body = strBody
objEmail.Send
set objEmail = nothing
%>
Hope this helps.
Brian