Selected Samples

htmlex

Creates a signed and encrypted html email with attachments and stores the result in smime.p7m file.
; text content 
--HtmlContent *content.html
; generate a text part basing on the html
; if you comment-out following line, the message will have no plain text part
--AutoConvertHtml
; alternatively, you could provide your own text content
; --TextContent *your-text-content.txt
 
; template
--HtmlStationery ..\input\bob-template.html
 
; attachments
 
--FileList ..\input\attachments\attachment1.txt
--FileList ..\input\attachments\subfolder\attachment1.pdf
 
; sign it 
--SignWith 6FC0 7584 C2D1 73E1 A391 390D 18E4 DC01 69EB A6ED
 
; encrypt it  to Bob ( just to make it available for the author to read )
--EncryptTo 6FC0 7584 C2D1 73E1 A391 390D 18E4 DC01 69EB A6ED
; and to Alice's two certificates
--EncryptTo ECA2 9B3F 1F7C 09EB D410 3B51 7609 92C7 FDC7 8672
--EncryptTo 4764 29E3 1471 DAFA 96AD 219E A52F 7514 CC77 2197
 
; add smime headers
--p7mHeaders
 
; additional smtp headers 
--AddHeader *headers.txt 
 
 
; report + output file, create directories if they don't exist
--ReportFile ..\reports\htmlex.${TIME}.report.txt  
--OutputFile ..\output\htmlex.eml
 
 
; local copies of report & output files
--OutputFile smime.p7m
--ReportFile report.txt
 
 
--ForceDirectories
Copyright © Cryptigo 2001-2013Last modified on  27 Jul 2004