on 11-16-2022 5:42 AM
Hi Guys,
We have a requirement to fetch payslip from SFTP which is in PDF format and send it as a mail attachment to that particular employee.
We are basically fetching file and then encoding it with Base 64 encoder. Then storing that value in a header and sending that header as attachment. Mail received is not getting opened in any pdf reader.
Can you help me understand what needs to be done.
sriprasadshivaramabhat sriprasad.shivarambhat can you help
Regards,
Ankit
Use message.addAttachment method to add the pdf file as an attachment to the exchange message. It should follow through in the email as well. However, I did not try this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ankit Pallav
Please refer below SAP Blog. Might be it's helpful to you.
https://blogs.sap.com/2019/11/04/send-pdf-and-csv-file-as-zipped-content-in-mail-in-sap-cpi/
If satisfied please accept the answer.
Regards,
Neeraj Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.