Re: sending files

"'Chip' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <5764B0F321F748D2B996E6CE7750804D@chip>
> I have been searching and have Not found an answer yet so I thought I
> would ask.  I don't know What version I am using but simply want to know
> is there a way  to only send a file like a pdf if it goes above a certain
> size? I have a report that only occasionally has information in it. I
> would like to be able to email it only when the report actually has
> results so as to keep from sending out Needless emails that people will
> eventually ignore.

There is no option in Blat to send or not send attachments based on size.
However, this is easy to accomplish with a little C program that uses
blat.dll for sending emails.  Alternatively, this can be accomplished with a
batch file.  I found an example here:

http://stackoverflow.com/questions/1199645/how-can-i-check-the-size-of-a-file-in-a-windows-batch-script

or

http://tinyurl.com/7kbbawt

-- 
Chip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.