Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding the SMTP server name for BLAT

Status
Not open for further replies.

angiole

Programmer
Oct 29, 2001
166
CA
Hello,
I'm posting this item here because a keyword search revealed a lot of expertise for this item was in this forum.

PROBLEM:
========
I am attempting to use BLAT to batch email. We are an exchange environment, and BLAT requires the smtp address.

I entered the following:

C:\WINNT\SYSTEM32>blat - install "@drhc.com" "ab.bb@drhc.com" 1 25

with the result:

SMTP server set to @drhc.com on port 25 with user aa.bb@drhc.com, retry 1 time(s)

I now try to send myself something:

C:\WINNT\SYSTEM32>blat "rsvp.ini" -t "aa.bb@drhc.com"

with the result:

Sending rsvp.ini to aa.bb@drhc.com
Login name is aa.bb@drhc.com
Error: Can't resolve (mailserver) hostname.Error: Not a socket.
C:\WINNT\SYSTEM32>

I probably do not have the smtp server set properly.
We are new to Exchange. I am also doing this underground.
Basically I am unsupported in this effort.

I assure you this effort is legit. I am migrating delimited message files to users on their desktops, some in the neighborhood of 15,000 messages, plus attachments.

I programmatically developed a proc in VB (works great) but Outlook 2002 has blessed me with an unbypassable warning of messages originating from an external program. For 15,000 messages this will not do.

QUESTION:
=========

Can I find my smtp address using a utility, or through the registry?

Cut my teeth on DOS, so I'm not afraid of command line work.

Many thanks in advance to anyone who can provide some insight.

Angelo A 8~)


AA 8~)
 
Angelo

SMTP is run on port 25 of a server and is used for forwarding of email messages between servers. Exchange itself has no SMTP engine unless you have installed it. If you don't have admin access to your exchange server, run a port scanner against it to check and see if 25 is open.
If it is then do a blat -uninstall and put the proper server name or IP address on. If SMTP is not running, then you either need to get it set up on that box, or another one.

John
 
Thanks John.

I'm afraid you need to walk me through this.

As I understand port 25 is a default and not a requirement.

How do I run a port scanner against port 25 to check if it's open?

If SMTP is not set up, could I get a free one?

Just asking...

AA 8~)
 
The easiest way is to go to the server console and use IE to run the ShieldsUp test from but if you don't have access to that, the next best thing is to do a search for a free port scanner in your favourite engine and put the IP address or DNS name of the exchange server in.

You may want to take a look in the TCP/IP forum for more information on ports and port scanners if you don't know exactly what I mean, as it goes outside the area of emails fairly quickly.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top