all groups > inetserver asp components > may 2004 >
You're in the

inetserver asp components

group:

cdonts


cdonts Tom
5/31/2004 2:07:55 PM
inetserver asp components:
Hi guys, I am using IIS on windowsxp and I am unable to
run a asp file ,
the error point to a line "SET objMail =
Server.CreateObject("CDONTS.NewMail")"

I would appericiate the help any help regarding how to
Re: cdonts Franco Figun
5/31/2004 8:33:01 PM
Do you have script permissions in the IIS?
Check que IUSR_yourmachine, the MODIFY permissions...

--
FF
www.francofigun.com.ar
www.microsofties.com.ar
MSN: francofigun@hotmail.com
UIN: 305336919
Yahoo MSN: frankofm@yahoo.com.ar
"Tom" <anonymous@discussions.microsoft.com> escribió en el mensaje
news:15d9301c44753$57c65590$a301280a@phx.gbl...
[quoted text, click to view]

Re: cdonts anonymous NO[at]SPAM discussions.microsoft.com
6/1/2004 12:17:29 AM
Well everything else seems to work, I mean I can run=20
chats and other appz but the cdonts based sendmail does=20
not work..
How do I access that thing?

[quoted text, click to view]
Re: cdonts Vilmar
6/1/2004 11:51:34 AM
Hi Tom,
Take a look at directory c:\winnt\system32 »» win 2000/nt
Take a look at directory c:\windows\system »» win 95/98
and check if cdonts.dll is there, if not copy to there and register it:
regsvr32 cdonts.dll »» register
regsvr32 cdonts.dll /u »» unregister

bye
--


Vilmar Brazão de Oliveira

"Tom" <anonymous@discussions.microsoft.com> escreveu na mensagem
news:15d9301c44753$57c65590$a301280a@phx.gbl...
[quoted text, click to view]

Re: cdonts Egbert Nierop (MVP for IIS)
6/1/2004 6:26:45 PM
Use CDO, not cdonts which is obsoleted.

Set mail = CreateObject("CDO.Message")
Set mailConfig = CreateObject("CDO.Configuration")
with mailConfig.fields
.item("http://schemas.microsoft.com/cdo/configuration/sendusing").value =2
.item("http://schemas.microsoft.com/cdo/configuration/smtpserver").value =
"192.168.0.7"
' .item("http://schemas.microsoft.com/cdo/configuration/sendpassword").value
= "somepassword"
' .item("http://schemas.microsoft.com/cdo/configuration/sendusername").value
= "someaccount"
.update
End With

Set mail.Configuration = mailConfig
Mail.To = "someuser@domain.com"
Mail.From = "youremail@blah.com"
mail.Subject ="Test 123"
mail.textbody = "Test 123"
'mail.bodypart.CharSet = "utf-8"

Mail.Send

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

[quoted text, click to view]
Re: cdonts Bullschmidt
6/16/2004 12:48:17 PM
You might try switching from CDONTS (which is being phased out) to the
newer CDO such as can be seen in the E-mail Attachment example at
http://www.asp101.com/samples

And here are changes I made to convert CDONTS stuff to be CDO stuff
instead:

o Change objCDONTS to be called objCDO (actually this is just a cosmetic
change)

o This:
Set objCDONTS = Server.CreateObject("CDONTS.NewMail")

Changed to this instead:
Set objCDO = Server.CreateObject("CDO.Message")

o This:
objCDONTS.Body = strEmailBody

Changed to this instead:
objCDO.TextBody = strEmailBody

o This removed:
' Importance.
' (0=Low, 1=Normal, 2=High)
objCDONTS.Importance = 1

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


*** Sent via Devdex http://www.devdex.com ***
AddThis Social Bookmark Button