Solved

Blat Configuration for Sending Mail

Posted on 2010-09-20
4
968 Views
Last Modified: 2012-06-27
Hi experts,
I want to send mail with Blat application in windows 2008 server

How can I make Blat configuration due to the following parameters ?

Msg_From :  xxxx@xxxx.com
Mailhost : yyyy@yyyy.com
Mailport : 587
Username :   zzz@zzz.com     ( Username for Mailhost )
Password : yyyyyyyyy   ( Password for Mailhost )


0
Comment
Question by:orcun_turkec
  • 2
4 Comments
 

Author Comment

by:orcun_turkec
ID: 33716389
In addition to this,
Msg_Subject :  %computername%  Oracle Connection Error
Msg_To: ffff@ffff.com  
0
 
LVL 7

Expert Comment

by:compaqus
ID: 33716678
blat.exe - -body "some body text" -server YOURMAILHOST -u YourUsername -pw YourPassword -f xxxx@xxxx.com -t ffff@ffff.com -s "%computername%  Oracle Connection Error"
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 250 total points
ID: 33724408
Its a two step proces
First you must "install" blat--if you don't install it (setup the parameters" it won't work
Go to the directory where blat is located then type
Blat -install <server addr> <sender's addr> [<try>[<port>]
Example
Blat -install maiahost.com you@maiahost.com 3 587
The 3 means how many times it will try to send
Once this "installed" then you can use what was give to you above--here is a an actual working one I use
C:\Utils\eMail\blat.exe "C:\Backup\Logs\%User%Error.Dat" -t myname@embarqmail.com -cc 123@lionbiz.com -s "%User% Copy Error to Server on %dt%" -mime -server smtp.embarqmail.com -u myname@embarqmail.com -pw mypassword -log "C:\Backup\Logs\Blat.Csv"
0
 

Author Closing Comment

by:orcun_turkec
ID: 33768580
Thank you
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

808 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