;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;; ;; |
;; p7mTool encryptAtt sample ;; |
;; ;; |
;; Copyright (c) 2001-2013 Cryptigo ;; |
;; ;; |
;; http://www.cryptigo.eu/p7mTool ;; |
;; ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
|
;;;;;;; MAIL DEFINITION ;;;;;;; |
|
; content file |
-ct *content.txt |
; attachments |
-fl ..\input\attachments |
; disclaimer |
-ct *..\input\bob-disclaimer.txt |
|
;;;;;;; S/MIME SETTINGS ;;;;;;;; |
|
; the file will be encrypted to Bob, Alice and to a second certificate of Alice |
-ce ..\..\certificates\bob.cer |
-ce ECA2 9B3F 1F7C 09EB D410 3B51 7609 92C7 FDC7 8672 |
-ce 4764 29E3 1471 DAFA 96AD 219E A52F 7514 CC77 2197 |
|
;;;;;; SMTP SETTINGS ;;;;;;;;; |
|
; encode base64 and add smime.p7m headers |
-hd |
-b64 |
; additional smtp headers |
-hr*smtpheaders.txt |
|
;;;;;; REPORTS ;;;;;;;;;;;;;;;; |
|
; report file |
-rf ..\reports\encryptatt.${TIME}.report.txt |
; a local copy for quick ref. |
-rf report.txt |
|
;;;;;; OUTPUT ;;;;;;;;;;;;;;;;; |
|
|
-of ..\output\encryptatt.${TIME}.eml |
; -of ${ENV(p7mToolDir)}\samples\outbox\encryptatt.${TIME}.eml |
; create a local copy, so that we see what is the output |
-of smime.p7m |
; create directories if they don't exist |
--ForceDirectories |