Author |
Topic |
|
andygenge
Starting Member
United Kingdom
30 Posts |
Posted - 18 July 2001 : 05:10:51
|
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
|
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?
|
|
|
andygenge
Starting Member
United Kingdom
30 Posts |
Posted - 18 July 2001 : 11:56:58
|
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.
|
|
|
Id
Junior Member
USA
129 Posts |
Posted - 18 July 2001 : 12:33:19
|
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 |
|
|
andygenge
Starting Member
United Kingdom
30 Posts |
Posted - 19 July 2001 : 05:40:55
|
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
|
|
|
Id
Junior Member
USA
129 Posts |
Posted - 19 July 2001 : 14:33:54
|
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.
|
|
|
andygenge
Starting Member
United Kingdom
30 Posts |
Posted - 20 July 2001 : 10:11:47
|
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
|
|
|
Id
Junior Member
USA
129 Posts |
Posted - 20 July 2001 : 12:17:12
|
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.
|
|
|
|
Topic |
|