Forum Moderators: phranque

Message Too Old, No Replies

Web Form Data To Email

still trying to sort this out .... sorry!

         

webbunny

9:09 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Hi Again,

After the responses I received to my post "Sending Mail on Windows Platform" earlier this week I have done some research into CDONTS. As I understand it, in order to use this I need to have MS Exchange Server installed on my web server? Is this true?

I don't have Exchange server installed on my web server. But, my company does have Exchange server installed on our email server, which is on the same LAN as our web server. Would it be possible for me to send an email from a form on our web server using the Exchange program installed on our mail server?

Thanks a mil for the help!

Rachel

DaveN

9:22 am on Apr 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you don't need exchange server.

configuring your server to send CDOMail.
you must go Start>Run and type regsvr32 c:\winnt\system32\cdonts.dll

this will register thee cdonts.dll. You will need to do this to autogenerate and send e-mail from your site.

a good tutorial

www .powerasp.com/content/hintstips/asp-email.asp

webbunny

9:47 am on Apr 30, 2003 (gmt 0)

10+ Year Member



I tried what you suggested and got the following error:

LoadLibrary("c:\winnt\system32\cdonts.dll") failed - The specific module could not be found.

I noticed winnt in that path. Could the reason it didn't work be that my development environment is XP and my production server is Win 2000?

webbunny

9:52 am on Apr 30, 2003 (gmt 0)

10+ Year Member



Sorry, I forgot to mention...on my XP Professional web server I found the following file:

C:\WINDOWS\SYSTEM32\CDOSYS.dll

Would registering this file accomplish the same task?