Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1798
  • Last Modified:

Check whther SMTP service is installed or not

Hi,

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

Thanks
Seeja
0
Seejaanilkumar
Asked:
Seejaanilkumar
1 Solution
 
jhanceCommented:
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
 
Ryan ChongCommented:
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
 
sewookimCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
SeejaanilkumarAuthor Commented:
How can we check this programmatically?
0
 
Ryan ChongCommented:
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
 
SeejaanilkumarAuthor Commented:
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
 
Ryan ChongCommented:
>>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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now