Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Mail on an Intranet CDONTS etc
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

andygenge
Starting Member

United Kingdom
30 Posts

Posted - 18 July 2001 :  05:10:51  Show Profile
Hi, I am getting frustrated (with ASP too:0)
I cannot seem to find any advise on the internet about setting up CDONTS or any other mail package, even microsoft are no help (surprise). All articles refer to how to send mail using ASP. I cannot getting the mail package working on the server with exchange or msmail.

Any good links apprieciated.

Thanks
Andy

Id
Junior Member

USA
129 Posts

Posted - 18 July 2001 :  11:23:12  Show Profile  Visit Id's Homepage
are you just having problems setting up the CDONTS mail object, or is that set up and the SMTP server just won't send it?

Go to Top of Page

andygenge
Starting Member

United Kingdom
30 Posts

Posted - 18 July 2001 :  11:56:58  Show Profile
I think it is the CDONTS mail object, but I am not sure how to test if I have it and then how to make a connection to the mail server.
I have goto a stage where i can test the SMTP sending.


Go to Top of Page

Id
Junior Member

USA
129 Posts

Posted - 18 July 2001 :  12:33:19  Show Profile  Visit Id's Homepage
run this file on your server http://forum.snitz.com/archive/redirect.asp?linkid=36 It'll tell you what, if any, e-mail objects are set up on your server

As far as making a connection to use it, that's this line of code

<%
Dim objEmail

Set objEmail = Server.CreateObject("CDONTS.NewMail")
%>


That'll create the object, there are some other tags used below it, but that initial line is how you make the connection, and as long as the SMTP virtual server on your server is working, you can send mail

Edited by - Id on 18 July 2001 12:35:36
Go to Top of Page

andygenge
Starting Member

United Kingdom
30 Posts

Posted - 19 July 2001 :  05:40:55  Show Profile
Thanks for that, It appears I need to setup the SMTP virtual server. The full works, oh well there goes another couple of weeks.

Andy

Go to Top of Page

Id
Junior Member

USA
129 Posts

Posted - 19 July 2001 :  14:33:54  Show Profile  Visit Id's Homepage
well if you have microsoft Exchange Server installed on your server machine, it replaces the Virtual SMTP server with it's own SMTP, so if MS Exchange can send mail, your SMTP server is working on that end correctly.

Go to Top of Page

andygenge
Starting Member

United Kingdom
30 Posts

Posted - 20 July 2001 :  10:11:47  Show Profile
So in theory all I need to do is get the smtp virtual server to connect to the exchange box and rely through the exchange box.

Sounds easy, now I'll give it a go

Go to Top of Page

Id
Junior Member

USA
129 Posts

Posted - 20 July 2001 :  12:17:12  Show Profile  Visit Id's Homepage
well that should work, but you're gonna want to make sure that the Virtual SMTP server on your web server box is doing something, whether that being forwarded to your exchange server, or to something else, as long as it's doing something you should be ok.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07