Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2314

encrypt AND sign emails

$
0
0

Hello Guys,

I realized by a script to send emails encrypted OR signed.

My new challenge is to send emails encypted AND signed.

The current part of my realization:

$Mail.PropertyAccessor.SetProperty($PR_SECURITY_FLAGS, 0) # unsigned, unencrypted

$Mail.PropertyAccessor.SetProperty($PR_SECURITY_FLAGS, 1) # encrypted

$Mail.PropertyAccessor.SetProperty($PR_SECURITY_FLAGS, 2) # signed

$Mail.PropertyAccessor.SetProperty($PR_SECURITY_FLAGS, ???????) # signed and encrypted

Thanks a lot!

regeards

Thomminger


Viewing all articles
Browse latest Browse all 2314