Trouble using Blat with my Exchange 2003 server

I am attempting to use blat to send out an automated message once a day.

I am using the following command line:

blat messagebody.txt -to recipient@mydomain.com -sf subject.txt -server myserverIP -f from@mydomain.com -attach myattachment.csv

I receive the following error message:
Error: Connection to server was dropped.
SMTP Server Error
Error: Not a socket.
Error: Not a socket.

I am running the commad locally on my Exchange 2003 server.

I'm not really sure where to go from here.  I think I have the syntax correct for the blat command based on the documentation.  I believe that it may be related to the securiy settings on my exchange server that are preventing the connection, however, I'm not sure where to make any adjustments.

Any ideas?
10steve10Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Matthew MillersCommented:
Can you telnet to your exchange server on port 25 from the machine where you are running blat?
0
10steve10Author Commented:
No, apparently I can't.
0
Matthew MillersCommented:
You will need to check the SMTP VS, review the allowed connection IP addresses.
Are you routing this traffic? Is the traffic being filtered at some point?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
10steve10Author Commented:
Ok.  You were correct about the SMTP configuration.  Here is what I did to get it working:

I went into the SMTP Virtual Server within Exchange System manager clicked on the Access Tab
Went into the Connection Control section and added the IP address of my blat machine (in this case my server).  This allowed me to send email to people within my domain but not to anyone outside.

To enble sending to people outside my domain I had to go into the Relay restrictions section and add my IP address.

Thank you for your able assistance.
0
10steve10Author Commented:
Thanks for the quick response.  I really appreciate the help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Protocols

From novice to tech pro — start learning today.