R
Rob Miles
Hi,
I am trying to programmatically send an encrypted mail from Outlook using
VB6. I can successfully send encrypted mail manually from Outlook, but I
cannot make this work through the Outlook object model.
I have followed the instructions here:
http://support.microsoft.com/?kbid=279013#kb2
but when calling the CommandBarButton.Execute method, the State property
remains at the value 0 (msoButtonUp) and when the mail is sent it is not
encrypted.
I am at a loss as to why this is not working, I cannot seem to set the State
property directly, and am not sure of any other way to programmatically tick
the checkbox for 'Encrypt message and attachments'.
Apologies if this is not the correct newsgroup for this question.
Thanks in advance,
Rob Miles
I am trying to programmatically send an encrypted mail from Outlook using
VB6. I can successfully send encrypted mail manually from Outlook, but I
cannot make this work through the Outlook object model.
I have followed the instructions here:
http://support.microsoft.com/?kbid=279013#kb2
but when calling the CommandBarButton.Execute method, the State property
remains at the value 0 (msoButtonUp) and when the mail is sent it is not
encrypted.
I am at a loss as to why this is not working, I cannot seem to set the State
property directly, and am not sure of any other way to programmatically tick
the checkbox for 'Encrypt message and attachments'.
Apologies if this is not the correct newsgroup for this question.
Thanks in advance,
Rob Miles