Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29947

Send PDF attachment using Camel Mail component

$
0
0

I have the following use case :

1) I need to accept a base 64 encoded PDF attachment from a JSON payload. Sample json example :

"vars": 
          {
          "FromAddress": "test1@mail.com""ToAddress": "test2@mail.com",
          "Subject" :"Test mail""Body": "Sample Body",
          "Attachment": "Base 64 encoded PDF file",
         } 

2) I need to send the PDF attachment using camel mail component by making use of value inside Attachment tag.

This is just a high level use case. I need know a proper industry standard way to achieve this. Please help me out with possible solutions.

Also please suggest me if there is a better way to do it


Viewing all articles
Browse latest Browse all 29947

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>