1) You need to be hosted on a server that supports ASP and is running CDONTS
2) use the sample scripts posted above in a .asp page
--
| Excuse my ignorance, but how the hell do you get cdonts to work in the first
| place. I've read plenty but can't get my head around it (using dreamweaver
| MX)
|
| "Kevin Spencer" wrote:
|
| > Excellent!
| >
| > --
| > HTH,
| > Kevin Spencer
| > ..Net Developer
| > Microsoft MVP
| > Neither a follower
| > nor a lender be.
| >
| > | > > This is correct, however I do it differently. I use a
| > > permanent address for the FROM value and then I set the
| > > REPLY-TO as the value from the form. Then my email client
| > > has a message rule to look for that specific address which
| > > tells me it is from the form and puts it into a specific
| > > folder for form results.
| > >
| > > My edited example:
| > >
| > > Set objMail = CreateObject("CDONTS.Newmail")
| > > objMail.From = "(e-mail address removed)"
| > > objMail.To = (e-mail address removed)
| > > objMail.Value("Reply-To")= strFromFieldName
| > > objMail.Subject = "Bad News"
| > > objMail.Body = "I owe you £50"
| > > objMail.Send
| > > Set objMail = Nothing
| > >
| > > Mike
| > >
| > >
| > >
| > > Kevin Spencer wrote:
| > > : Actually, you can set who it is from.Here's an example
| > > : from the MSDN Library:
| > > :
| > > : Set objMail = CreateObject("CDONTS.Newmail")
| > > : objMail.From = "(e-mail address removed)"
| > > : objMail.To = "(e-mail address removed)"
| > > : objMail.Subject = "Bad News"
| > > : objMail.Body = "I owe you £50"
| > > : objMail.Send
| > > : Set objMail = Nothing
| > > :
| > > : Note, however, that if you set the "From" email address
| > > : to an address that is not on the domain of the mail
| > > : server, you may have relay permission issues.
| > > :
| > > :
| > > : | > > :: You can't get it to say who it is from when you receive
| > > :: it, because it is "from" the server. However if you have
| > > :: a field in the form for them to enter their email
| > > :: address, and then in form properties set the "Reply to"
| > > :: to the email form field, when you click Reply in Outlook
| > > :: Express it will place the senders email address in the
| > > :: To address.
| > > ::
| > > :: --
| > > :: Steve Easton
| > > :: Microsoft MVP FrontPage
| > > :: 95isalive
| > > :: This site is best viewed............
| > > :: .......................with a computer
| > > ::
| > > : | > > ::: I'm using CDonts to send a form to a database and my
| > > ::: email address and it all works fine but what I would
| > > ::: like is when it arrives in my mailbox is to say the
| > > ::: person it is from from a field that is filled in on the
| > > ::: form.
| > > :::
| > > ::: Is this possible?
| > > :::
| > > ::: Cheers
| > > ::: Shona
| > >
| > >
| >
| >
| >