Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Compatibility of CDO with different windows versions?


Message #1 by "Fawaz" <fauziab@h...> on Thu, 6 Sep 2001 02:52:43
Hi

This is a dumb question. I am going to start work on my website which is 

hosted on IIS server. I have a form where multiple files need to be 

attached with each file having its own description to ONE mail message.

I am thinking of using CDO or CDONTS but I am not sure about their 

compatibility with various versions of Windows. Lets say if the user has 

windows 98 and I am using CDO/CDONTS on my website to send messages then 

would the user be able to send messages if he opens that web page on his 

machine's browser.



If someone can clarify if the use of CDO depends on the hosting server and 

windows version or the users windows version.



My machine: Win2000/IIS Server(hosting server)

Users Machine: Win98



Would the user be able to send messages using my form which is using CDO?



Any help would be appreciated.

Thanks

Fawaz
Message #2 by "Siegfried Weber" <sweber@c...> on Thu, 6 Sep 2001 10:46:15 +0200
There are no dumb questions, only dumb answers ;-)



You don't have to worry about the clients using your ASP app because it

runs completely on the IIS computer. All you need to take care about is

to write proper (D)HTML code to make sure every browser can use your app

(which isn't a trivial task I can tell).



Also, I'd dump CDONTS and go with CDOSYS. CDONTS has been around for a

couple of years and will be phased out of Windows with the next release

of the server products (currently in beta as code name "Whistler").



CDOSYS isn't that hard to use and I believe we already have some code

snippets at the archive if this list. If not, post back here and I can

give you an example.



<Siegfried />



> -----Original Message-----

> From: Fawaz [mailto:fauziab@h...]

> Sent: Thursday, September 06, 2001 4:53 AM

> To: ASP CDO

> Subject: [asp_cdo] Compatibility of CDO with different windows

versions?

>

> Hi

> This is a dumb question. I am going to start work on my website which

is

> hosted on IIS server. I have a form where multiple files need to be

> attached with each file having its own description to ONE mail

message.

> I am thinking of using CDO or CDONTS but I am not sure about their

> compatibility with various versions of Windows. Lets say if the user

has

> windows 98 and I am using CDO/CDONTS on my website to send messages

then

> would the user be able to send messages if he opens that web page on

his

> machine's browser.

>

> If someone can clarify if the use of CDO depends on the hosting server

and

> windows version or the users windows version.

>

> My machine: Win2000/IIS Server(hosting server)

> Users Machine: Win98

>

> Would the user be able to send messages using my form which is using

CDO?

>

> Any help would be appreciated.

> Thanks

> Fawaz

>




$subst('Email.Unsub')



Message #3 by "Fawaz" <fauziab@h...> on Fri, 7 Sep 2001 01:05:22
Thanks a lot for the info. Yeah, I would appreciate if you could send me 

some sample code of CDOSYS. If I only code for NT people, do i still need 

to do that (D)HTML code? Actually, I am looking for a simpler way to 

achieve this otherwise do you think its better to have an email MAPI 

component in C++ or VB and i call that component from my ASP code. Its 

better if i can aciever this through ASP?

Thanks

Fawaz



Apprciate all your help.

> There are no dumb questions, only dumb answers ;-)

> 

> You don't have to worry about the clients using your ASP app because it

> runs completely on the IIS computer. All you need to take care about is

> to write proper (D)HTML code to make sure every browser can use your app

> (which isn't a trivial task I can tell).

> 

> Also, I'd dump CDONTS and go with CDOSYS. CDONTS has been around for a

> couple of years and will be phased out of Windows with the next release

> of the server products (currently in beta as code name "Whistler").

> 

> CDOSYS isn't that hard to use and I believe we already have some code

> snippets at the archive if this list. If not, post back here and I can

> give you an example.

> 

> <Siegfried />

> 

> 
Message #4 by "Siegfried Weber" <sweber@c...> on Fri, 7 Sep 2001 15:10:04 +0200
> If I only code for NT people, do i still need to do that (D)HTML code?



If your NT people use only IE 5.0/5.5/6.0 you don't need to take too

much care but still have to test it thoroughly.



> otherwise do you think its better to have an email MAPI

> component in C++ or VB and i call that component from my ASP code.



Well, you are looking for an easy solution, right? Then avoid MAPI as

much as you can.



Here is some code (pulled from the archive):



> -----Original Message-----

> From: Siegfried Weber

> Sent: Monday, July 02, 2001 10:27 PM

> To: ASP CDO

> Subject: [asp_cdo] RE: Newbie question on CDO 2000

>

> <!--METADATA TYPE="typelib"

UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"

> NAME="CDO for Windows 2000 Library" -->

>

> <%

> Set objConfiguration = CreateObject("CDO.Configuration")

> Set objFields = objConfiguration.Fields

> With objFields

> 	.Item(cdoSendUsingMethod) = cdoSendUsingPort

> 	.Item(cdoSMTPServerPort) = 25

> 	.Item(cdoSMTPServer) =D "YourMailServer.YourDomain.Com"

> 	.Update

> End With

> Set objMessage = CreateObject("CDO.Message")

> With objMessage

> 	Set .Configuration =D objConfiguration

> 	.From = "YourOriginator@Y..."

> 	.To = "TheRecipient@T..."

> 	.Subject = "Here comes a Subject"

> 	.HTMLBody = "<html><body> Here is an HTML body! </body></htm>"

> 	.AutoGenerateTextBody = False

> 	.TextBody = "Here is a text body"

> 	.Send

> End With

> %>



Cheers,



<Siegfried />



> -----Original Message-----

> From: Fawaz [mailto:fauziab@h...]

> Sent: Friday, September 07, 2001 3:05 AM

> To: ASP CDO

> Subject: [asp_cdo] RE: Compatibility of CDO with different windows

> versions?

>

> Thanks a lot for the info. Yeah, I would appreciate if you could send

me

> some sample code of CDOSYS. If I only code for NT people, do i still

need

> to do that (D)HTML code? Actually, I am looking for a simpler way to

> achieve this otherwise do you think its better to have an email MAPI

> component in C++ or VB and i call that component from my ASP code. Its

> better if i can aciever this through ASP?

> Thanks

> Fawaz

>

> Apprciate all your help.

> > There are no dumb questions, only dumb answers ;-)

> >

> > You don't have to worry about the clients using your ASP app because

it

> > runs completely on the IIS computer. All you need to take care about

is

> > to write proper (D)HTML code to make sure every browser can use your

app

> > (which isn't a trivial task I can tell).

> >

> > Also, I'd dump CDONTS and go with CDOSYS. CDONTS has been around for

a

> > couple of years and will be phased out of Windows with the next

release

> > of the server products (currently in beta as code name "Whistler").

> >

> > CDOSYS isn't that hard to use and I believe we already have some

code

> > snippets at the archive if this list. If not, post back here and I

can

> > give you an example.

> >

> > <Siegfried />

  Return to Index