|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
So, I've been trying to make sense out of what I can read. I have succeeded in completely confusing myself. In one place Microsoft suggests that I can install CDONTS from Server 2000 but it doesn't suggest where I get CDONTS. Other reading suggests that CDOSYS is a much better solution. Although it is never explicitly stated, it is implied (or at least I infer) that CDOSYS is installed with Server 2003. At activeserver.com, I found a sample script using CDOSYS. In the script, the following works just fine Set objMail = Server.CreateObject("CDO.Message") objMail.From = sFrom objMail.To = sTo objMail.Subject= sSubject objMail.TextBody = sTextBody objMail.HTMLBody = sHTMLBody which leads me to believe that the CDO object is being created properly. However, when I say objMail.send The page fails with a "there is a problem with this page and it cannot be displayed" message. My questions are 1. How do I know that CDOSYS is properly installed. 2. If CDOSYS isn't installed, how do I install it? 3. If CDOSYS is installed, then what else could be the problem? Thanks folks, -dmd- If the obvious weren't so obscure, I'd be less confused. Use parentesis on the method send:
objMail.send() Hi, Fabio Show quote "Mac Davis" <n***@blindsided.org> wrote in message news:O6fwyOCGFHA.1260@TK2MSFTNGP12.phx.gbl... > Ive just learned that CDONTS is not available of Server 2003. > So, I've been trying to make sense out of what I can read. > I have succeeded in completely confusing myself. > > In one place Microsoft suggests that I can install CDONTS from Server 2000 > but it doesn't suggest where I get CDONTS. > Other reading suggests that CDOSYS is a much better solution. Although it > is never explicitly stated, it is implied (or at least I infer) that CDOSYS > is installed with Server 2003. > > At activeserver.com, I found a sample script using CDOSYS. > In the script, the following works just fine > > Set objMail = Server.CreateObject("CDO.Message") > objMail.From = sFrom > objMail.To = sTo > objMail.Subject= sSubject > objMail.TextBody = sTextBody > objMail.HTMLBody = sHTMLBody > > which leads me to believe that the CDO object is being created properly. > > However, when I say > objMail.send > > The page fails with a "there is a problem with this page and it cannot be > displayed" message. > > My questions are > 1. How do I know that CDOSYS is properly installed. > 2. If CDOSYS isn't installed, how do I install it? > 3. If CDOSYS is installed, then what else could be the problem? > > Thanks folks, > > -dmd- > If the obvious weren't so obscure, I'd be less confused. > > |
|||||||||||||||||||||||