Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in attachments opening in Email

Former Member
0 Likes
332

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

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

1 REPLY 1
Read only

Former Member
0 Likes
289

Hi,

Please check the Link below it has a code.

[Code|]

Hope this will be Helpful

Thanks

Kalyan