Smtp File Transfer in Secured Way

Dear All,

May i know any logic to find out how to transfer attachment file via email.
pub.client.smtp → How to Transfer files in secure manner so that while sending file in attached mail will reach to client/users in encrypted format.

Thnx
RJ

Hi,

It can be done as follows.
1)pub.file:getFile to get the file in bytes or stream.
2)Map byte/stream to attachments[0]/content of the pub.client:smtp and set the desired attachments[0]/filename field.

To send the eccrypted attachment you can try using. PSUtilities.string:encode64String flow service.

Regards,
Amol.

Hi RJ,
Please make use of digital certificates for your purpose.

Thanks,
Vikas

Base64 encoding is *** NOT *** encryption.

PGP is often used to encrypt emails and attachments. You can investigate adding that to your IS environment and applying the encryption at the right points when sending an email.