CDONTS Alternate SMTP Name

T

Thom Little

I have an ASP 3 application that submits mail using CDONTS and it works
flawlessly on a server that has the SMTP set to the default.

I need to run it from another server and it does not use the default SMTP
name.

Is there a technique for specifying the SMTP name in CDONTS or am I required
to convert the application to ASP.NET to use the obvious >>
SmtpMail.SmtpServer = "mail.whatever"

I am really hoping to simply have a technique to specify the server name.
 
M

[MSFT]

Hello,

The CDONTS library only uses the SMTPSVC/1 settings in the metabase, which
holds the settings for the default SMTP site. CDONTS was designed for use
with Microsoft Windows NT 4.0 and Internet Information Server (IIS) version
4.0, and was ported to Windows 2000 for backward compatibility with
existing code. I suggest you may consider CDO or SmtpMail in .NET instead.

Luke
 
T

Thom Little

Thank you for confirming what I suspected. I will rewrite it as an ASP.NET
application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top