Focal Point
[CLOSED] SMTP XCLEL spreadsheet problem

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/988103021

May 19, 2009, 11:50 AM
dz
[CLOSED] SMTP XCLEL spreadsheet problem
I created EXCEL spreadshhet in FOCUS maiframe environment. I used FTP to send this file and all was well. When I use SMTP and send this file as an attachement I get garbage. Anybody done this before? Please help,

This message has been edited. Last edited by: Kerry,
May 19, 2009, 05:49 PM
Waz
Depending on how it is sent, you may have to encode the file before attaching to the mail.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

May 20, 2009, 09:34 AM
dz
Waz, thanks you for responding. Do you have a JCL example on how to do it? Also do we need a particular encoding type to achieve this?
May 20, 2009, 05:15 PM
Waz
Unfortunately, I am working on UNIX, and have not done this on MF.

On Unix we UUENCODE the file and attach it, you could also encode it as Base 64, this is a bit more complex, as you need to create boundaries in the email.

How are you sending the email to SMTP ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!