Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Latest commit

 

History

History

smtp-encrypt-attachment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Virtru SDK Secure Email Attachment

Sends an unencrypted email with a Virtru Encrypted attachment

Prerequisites

Update fields

  • smtp_from_address
  • smtp_to_address
  • smtp_cc_address
  • virtru_appid
  • virtru_owner
  • file_name_tdf
  • file_path_plain
  • file_path_tdf

Usage

python3 app.py

Virtru Authentictaion

Virtru authentication is managed using App Ids

Demo

This will:

  • Create a multipart MIME email
  • Encrypt the file from the local file system
  • Attach the encrypted file to the email
  • Send the email