This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to encrypt a file attachement in Java Mail?  RSS feed

 
Srivani Nallan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can attach a file to a mail. How do I encrypt a file that's being attached to the mail? Can I use the Java cryptography package? Please help me! I am confused.
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure you can. But before any sensible answer can be given, the question must be: who or what needs to be able to decrypt the e-mail?
- Peter
 
Srivani Nallan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any other mail client like microsoft outlook,netscape etc should be able to open the attachment and save it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!