RE: Blat 312 not working with sending files

"Erik Gimbergh [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <[email protected]>
Jeroen,

Thanks for your reply. I am aware of the 'proper' way to send files, we are using blat for several purposes. The problem is that we use the online system for many customers, changing the way we send and receive would require an extensive operation with coordinated changes across many systems. The mail is not received by Outlook, but by an automated system which extracts the zip-file from the mail. 

Perhaps the ATT00001 attachment is caused by Outlook during my tests, but the size of the mail which is received is too small to contain the zip-file in the first place. As said, it has worked for many years.
Regards,

Erik

-----Oorspronkelijk bericht-----
Van: Jeroen Eeuwes [mailto:[email protected]] 
Verzonden: dinsdag 27 mei 2014 07:56
Aan: [email protected]
CC: Erik Gimbergh
Onderwerp: Re: [blat] Blat 312 not working with sending files

Hi Erik,

> Changed back to an older versie 3.0.1, which works fine again. Any ideas?

I'm surprised this even works in any version. Blat uses the first filename to send as a body. The ATT00001 attachment is usually an indication that Outlook is trying to make sense of a message and is failing.

What you should do is specify the body text file you want to send and use the attach parameter to attach the binary zip file.

Suppose you have a "body.txt" with the contents something like "Bijgaand een zip bestand met de gevraagde informatie." (or whatever you want). Then you use a command like this

F:\Webbeheer\blat.exe F:\Webbestanden\body.txt -to <e-mailadres> -subject "<password>" -base64 -attach F:\Webbestanden\otho.zip

in your batch file. I prefer to use base64 as it seems (nowadays) more commonly accepted than uuencode.

Best regards,
Jeroen Eeuwes
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.