cancel
Showing results for 
Search instead for 
Did you mean: 

smime.p7s

TushigbayarTsev
Level 3
Hello,

I tried to automate Gmail that involves process of downloading pdf files. But sometimes I am Blue Prism downloads documents in SMIME.P7S forms and can't be process further. Do you know how to go around this or how to convert it to original pdf document?

Thank you

------------------------------
Tushigbayar Tseveenbayar
------------------------------
3 REPLIES 3

ewilson
Staff
Staff

Hello @Tushigbayar Tseveenbayar,

The smime.p7s attachment is a digital signature certificate. It is not an encrypted PDF.


Are there other attachments on your email?

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hello

Thank you for your response but that is the thing. I have Gmail API v1.2 and Google Authentication from Digital Exchange
There are emails with PDF attachments that are downloaded without any issues.
But there are sometimes emails with PDF attachments where it only downloads the digital signature but nothing else.

------------------------------
Tushigbayar Tseveenbayar
------------------------------

Based on this Google help page it seems there's not really anything you need to do, from an API perspective, to handle S/MIME encrypted content. The GMail system should handle it automatically assuming it's properly configured between the sender and receiver (i.e. keys have been exchanged).

https://support.google.com/a/answer/6374496?hl=en#zippy=%2Cstep-upload-certificates%2Cstep-have-users-exchange-keys


I'd suggest touching base with your Google Workspace administrator to verify your S/MIME configuration.

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------