Click to See Complete Forum and Search --> : Trouble Sending Email with CDO for NTS


ScaryBinary
July 9th, 2002, 10:59 AM
I'm trying to send an e-mail from an ASP page using CDO for NTS. I can create the NewMail object fine, but when I try to send it I get a VBScript Runtime error "Permission Denied".

We can put text files into the SMTP folders on the server and they get delivered, so that end of the process is working OK; I just can't seem to get the messages queued from my ASP page.

Can anyone help me figure this out? I'm not much of a network/setup kind of guy. Thanks!

Jochen Hoeg
July 10th, 2002, 05:53 AM
Hi!

I'm just adding appointment objects into our Exchange Server and the problem (which sounds same like yours) was, that my App had to run directly on the server and not on my local machine and the the Authentication had to be set to Windows and the Impersonation had to be set to false (web.config).

I hope that helps!

Cheers from Vienna,

Jochen

ScaryBinary
July 10th, 2002, 05:13 PM
OK, I figured it out. It had something to do with the ASP application running in it's own memory space. We had to mess around with that setting and finally got it to work.

Funny how one checkbox can screw things up! That crazy Bill Gates.:rolleyes: