15 pts.
 Sending HTML file with record length of 5000 char
I need to send an email with an HTML file attached from the mainframe via SMTP. Even with adding a DCP (LRECL) parameter, the spreadsheet is truncated to the 1st 1024 characters. How do I fix?
ASKED: Feb 8, 2012  8:27 PM GMT
UPDATED: February 28, 2012  3:11:50 PM GMT
150 pts.

Answer Wiki:
Last Wiki Answer Submitted:  Feb 28, 2012  3:11 PM (GMT)  by  MTidmarsh   150 pts.
Latest Answer Wiki Contributors:  Glory35   4,765 pts., Btwlzyq   600 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

…the spreadsheet is truncated to the 1st 1024 characters.

That’s not surprising. It closely matches limits on some SMTP standards. See for example, Firewall policies and SMTP line lengths, and then see Quoted-printable.

How do I fix?

That probably depends on how you are encoding the attachment. See The Content-Transfer-Encoding Header Field for some technical detail.

What are you using for encoding?

Tom

 66,990 pts.

 

Tom,
Thanks for your response. I wil keep the links for future reference. Unfortunately, this became an emergency yesterday. Ended up changing it to FTP.

Wendy

 15 pts.