Title: Attempting to attach an Excel document to an email created using BLAT
McKaba, Melanie wrote:

I am hoping for some help with using BLAT.  Blat is a Win32 command line utility that sends eMail using SMTP or post to usenet using NNTP.

Environment is jBase ver. 3.4.9 and BLAT ver.  2.6.2 w/GSS encryption

I cannot seem to get a Excel document to attach to an email that I send out to myself using BLAT from within a subroutine.  The statement that gets built within the subroutine is as follows:

BLAT d:\jEmail\mmckaba.txt -to [email protected] -subject "Customers Addresses Rpt" -mailfrom [email protected] -attach "C:\CMF.FOR.3YRS.xls"

I assume that this is actuality the output of a CRT/PRINT statement? Perhaps you need to tell EXECUTE using a shell? EXECUTE CHAR(255):'k':"BLAT ..."

I get an email every time but there is no attachment.

Any ideas what I can do to make this work?

CRT the statement before executing it and make sure that if you past this into a normal shell, that it is working correctly. Use the CAPTURING and SETTING clauses on EXECUTE to find out what the command is returning to you.

Jim

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to