Skip to Content
0
Former Member
Feb 16, 2009 at 09:49 AM

Problem in attachments opening in Email

12 Views

Hi ,

I am sending an email with attachments of smartform in PDF and another one pdf document, my problem is i am able to open the smartform pdf but unable to open the other, showing an error like decoded incorrectly .

CLEAR objpack-transf_bin.

objpack-head_start = 1.

objpack-head_num = 0.

objpack-body_start = 1.

objpack-body_num = 2.

objpack-doc_type = 'RAW'.

APPEND objpack.

describe table objbin lines first.

objpack-transf_bin = 'X'.

objpack-head_start = 1.

objpack-head_num = 1.

objpack-body_start = 1.

objpack-body_num = first.

objpack-doc_type = 'PDF'.

objpack-obj_name = 'att1'.

objpack-doc_size = first * 255.

objpack-obj_descr = 'test234.PDF'.

APPEND objpack.

DESCRIBE TABLE objbin2 LINES first2.

  • Pack to PDF.

objpack-transf_bin = 'X'.

objpack-head_start = 1.

objpack-head_num = 1.

objpack-body_start = first + 1.

objpack-body_num = first2.

objpack-doc_type = 'PDF'.

objpack-obj_name = 'att2'.

objpack-doc_size = first2 * 255.

objpack-obj_descr = 'test.PDF'.

APPEND objpack.

can any body help me to find out the problem ?

Regards,

Ratheesh BS