|
 |
asp_web_howto thread: ASP, CDONTS, and mail
Message #1 by "Steven Reule" <Steven.Reule@d...> on Tue, 27 Mar 2001 08:41:23 -0800
|
|
Please help if you can...
This is partly ASP related so...
I am trying to send e-mail from an ASP page using CDONTS. I am trying it
on two different NT servers, both running IIS 4. Neither server had the
Microsoft SMTP Server installed from Option Pack 4, so I installed it on
both machines. One machine works great, the ASP page sends the e-mail just
fine. On the other, the MS SMTP server just queues the messages. It gives
an .rtr file that says "server received winsock error connection timed
out.
This is the same ASP code running on both machines. It should be noted
that the non-working machine has a listserv SMTP running on it also. The
MS SMTP server gave errors when on the default port 25 so I moved it to
26. Now it doesn't show the error box but it just queues the mail going
out.
Any ideas?
Thank you!
Steve
steven.reule@d...
Message #2 by "Brian DeMarzo" <brian@m...> on Tue, 27 Mar 2001 18:54:43
|
|
One problem may be having two SMTP services on one machine. The other may
be related to your MS SMTP settings.
For the latter, check out this article for good info on coding for CDONTS
and setting up your Microsoft SMTP service:
http://msdn.microsoft.com/library/periodic/period99/asp9951.htm
As for other things... I'm not sure how CDONTS will work on a non-standard
port (never tried), but I'd think your SMTP service wouldn't be able to
communicate effectively with the outside world.
CDONTS won't communicate with anything but the Microsoft SMTP service (a
hideous limitation) - something I discovered last night on my server.
Probably the best solution is to get a different SMTP component to send e-
mail - there's lots of them out there that work with any (i.e. local or
remote) SMTP services. Do a search on http://www.aspin.com for SMTP and
you'll find them - quite a few are free, too. I use IP*Works from
nSoftware (http://www.nsoftware.com), which costs a few hundred bucks, but
offers quite a bit more than SMTP (it offers just about everything IP).
Good luck!
- Brian
- brian@m...
--- Check out Marzie's Toolbox at http://www.marzie.com! ---
Message #3 by Hugh McLaughlin <Hugh@k...> on Tue, 27 Mar 2001 13:39:32 -0500
|
|
Do you have Exchange set up on the machine that is not working. Exchange
modifies the default pickup folder which could be causing you some of the
problems.
-----Original Message-----
From: Steven Reule [mailto:Steven.Reule@d...]
Sent: Tuesday, March 27, 2001 11:41 AM
To: ASP Web HowTo
Subject: [asp_web_howto] ASP, CDONTS, and mail
Please help if you can...
This is partly ASP related so...
I am trying to send e-mail from an ASP page using CDONTS. I am trying it on
two different NT servers, both running IIS 4. Neither server had the
Microsoft SMTP Server installed from Option Pack 4, so I installed it on
both machines. One machine works great, the ASP page sends the e-mail just
fine. On the other, the MS SMTP server just queues the messages. It gives an
.rtr file that says "server received winsock error connection timed out.
This is the same ASP code running on both machines. It should be noted that
the non-working machine has a listserv SMTP running on it also. The MS SMTP
server gave errors when on the default port 25 so I moved it to 26. Now it
doesn't show the error box but it just queues the mail going out.
Any ideas?
Thank you!
Steve
steven.reule@d...
|
|
 |