You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Blat</strong> <strong>User</strong> <strong>Manual</strong><br />
Compiled By Mark E. Donaldson<br />
:ERROR13<br />
ECHO ERROR: Error opening temporary file in temp directory!<br />
GOTO :EXIT<br />
:ERROR12<br />
ECHO ERROR: -server or -f options not specified or not found in registry<br />
GOTO :EXIT<br />
:ERROR5<br />
ECHO ERROR: Error reading file/message text<br />
GOTO :EXIT<br />
:ERROR4<br />
ECHO ERROR: Problem with the file/message text<br />
GOTO :EXIT<br />
:ERROR3<br />
ECHO ERROR: Error reading file/message text or attached file<br />
GOTO :EXIT<br />
:ERROR2<br />
ECHO ERROR: Error Level 2 returned<br />
GOTO :EXIT<br />
:ERROR1<br />
ECHO ERROR: Error Level 1 returned<br />
GOTO :EXIT<br />
:NOERROR<br />
:: Any additional batch processing goes here<br />
GOTO :EXITNOPAUSE<br />
:EXIT<br />
PAUSE<br />
:EXITNOPAUSE<br />
:: End of batch file here<br />
EXAMPLE: <strong>Blat</strong> run from Perl<br />
#!perl<br />
use strict;<br />
use warnings;<br />
my $Debug=0; # =0 gets NO console output<br />
my ($DTS, $SMTP, $subject, $body);<br />
DTS(); # go build the Date Time Stamp<br />
$SMTP="localhost"; # the SMTP mail server name or IP address<br />
$subject="\"Testing blat $DTS\"";<br />
my %Envelope = ( # Envelope bits<br />
-f => 'tim@blat.tld', # FROM:<br />
-to => 'tim@blat.tld', # TO:<br />
Page 7 of 11 Revised December 1, 2007