PDA

Click to See Complete Forum and Search --> : Web.Mail << Could not create 'CDONTS.NewMail' object.


Nigh™aŽe
Sep 25th, 2002, 04:30 AM
I get some error when sending mail :(

I used the commands before (on other pc and network)
But when i try to run the following simple mail script ,
i get the error
Could not create 'CDONTS.NewMail' object.

Is it a .NET component thats not installed right or has it something to do with the mailserver.

Before i used this script on a simple SMTP Mailserver. Now im running it on a Exchange server thats behind firewalls and routers.

As sender and receiver i use my own email address, so that should be right.


Try
_SMTP.SmtpServer = "mail.domain.com"
_SMTP.Send("me@domain.com", "you@domain.com", "test", "testing")
Catch e As Exception
MsgBox(e.Message)
End Try



If anyone can help me with this, please mailto: DeborggraeveR@DnB.com

I need the sollution for this ASAP