Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

CDONTS Alternate SMTP Name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thom Little - 03 Mar 2005 00:34 GMT
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.

Signature

--  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
--

[MSFT] - 03 Mar 2005 08:15 GMT
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
Thom Little - 03 Mar 2005 14:29 GMT
Thank you for confirming what I suspected.  I will rewrite it as an ASP.NET
application.

Signature

--  Thom Little  --  www.tlanet.net  --  Thom Little Associates, Ltd.
--

> Hello,
>
[quoted text clipped - 6 lines]
>
> Luke

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.