Solved

Check whther SMTP service is installed or not

Posted on 2006-07-06
7
1,718 Views
Last Modified: 2012-06-27
Hi,

How can we check whether the Simple Mail Transfer Protocol (SMTP) service is installed or not in a machine?

Thanks
Seeja
0
Comment
Question by:Seejaanilkumar
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 17049138
There are any number of ways depending on your situation, which SMTP server, whether it's local or remote.

I suppose the most general is to attempt an SMTP session via a socket.

1) Attempt to open a connection to the server in question on port 25.  If that fails then there is no standard SMTP service on that machine (or it's unavailable to you).

2) If that succeeds, attempt to "talk SMTP" to it.  Probably the easiest thing is to say "HELO" and get the response.
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 125 total points
ID: 17049379
if you want to check a server is installed or not via scripting (VB or VB.NET), you can refer to: http:Q_21298156.html

try customize it accordingly.

hope this helps too.
0
 
LVL 1

Expert Comment

by:sewookim
ID: 17058018
W2003 Server

Click Start - Setting - Control panel - Administrator Tools - Computer Management
If you find Default SMTP Virtual Server under "IIS Manager", your machine has SMTP installed.

Or, you can find in Services - "Simple Mail Transfer Protocol"
Click Start - Setting - Control panel - Administrator Tools - Services

SMTP can be installed based on IIS. If you don't want to use HTTP Services (WEB), you can use only SMTP only, Just stop HTTP Services and just run SMTP Service in the Services Consol.

Other OS like W2000 or NT are very similiar of this configuration.

If you have any problem or concerns about this comments, please let me know. Thanks,

Sewoo,
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Seejaanilkumar
ID: 17078787
How can we check this programmatically?
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 17078891
what programming language you prefer here? You can try refer to the link i provided above if you're using VB/VBA/VB.NET
0
 

Author Comment

by:Seejaanilkumar
ID: 17087962
In that link it is checking for sqlserver. I just want to check whether SMTP is installed or not. Can we check it by searching in the Sevices in the control panel. Is there any possibility like installed, but not in Services?

0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 17092674
>>Can we check it by searching in the Sevices in the control panel
The codes in the link I provided above is checking the Services in the control panel... what you need to do is change the service name of "MSSQLSERVER" to "W3SVC"

good luck!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now