Application Development 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: 

How to Sending encrypted email attachment

0 Kudos

Hello Experts

I need to mail of text file attachment in encrypted format with the extension TXT.ENC.

I have created one program, in SOST mail attachment have extension book1.txt.enc

But it is not the encrypted one.when we open the attachment its a text file

without any special characters or encrypted version. One more observation

there is no attachment type ENC in database so how to go about it to mail

encrypted text file or is there any other provision to send encrypted file

in mail. What are the basic requirement from Sender and receiver side.

Eg for decryption , decryption logarithm should be there at receiver's end.

Thanks

Nishi

1 REPLY 1

sujeet2918
Active Contributor
0 Kudos

Hello Nishita,

try to search class CL_BCS in SDN, you can send encrypted file using this class.

refer to below link for you ref.

[http://wiki.sdn.sap.com/wiki/display/Snippets/SendMailhavingMultipleFilesasAttachmentusingobjectorientedtechnique]

[http://www.surfingincognito.com/index.php?q=aHR0cHM6Ly93ZWJsb2dzLnNkbi5zYXAuY29tL3B1Yi93bGcvNzg5&hl=3ed]

Regards,

Sujeet