Groups | Blog | Home
all groups > iis smtp nntp > august 2004 >

iis smtp nntp : Upgrade from IIS 4 to IIS 6 and Mail


Mitch W
8/4/2004 7:43:47 AM
Hello,

I have a web site running fine on IIS 4 and one page uses
the following line of code to start an email message:

Set objMail=Server.CreateObject("CDONTS.NewMail")

When I transfer the site to an IIS 6 system on 2003 Web
Server I get the following error:

Server.CreateObject Failed

Is there something I need to do special to my code or
enable in IIS 6 to send a simple email from the box? Any
suggestions would be greatly appreciated.

thanks,
jeff.nospam NO[at]SPAM zina.com
8/4/2004 3:37:28 PM
On Wed, 4 Aug 2004 07:43:47 -0700, "Mitch W"
[quoted text, click to view]

IIS6 no longer supports CDONTS, you need to change to the CDO.Message
method. See:

http://www.aspfaq.com/show.asp?id=2026
http://support.microsoft.com/?kbid=810702

Mitch W
8/5/2004 8:16:57 AM
Jeff,

Thanks for your assistance.

--mitch
[quoted text, click to view]
AddThis Social Bookmark Button