Howeverm when setting
PR_MESSAGE_CLASS
to
IPM.Note.SMIME.MultipartSigned
the mailitem in the Outbox will have
"An error occurred in the underlying security system"
Sending the mail out is OK, but the after received, NO original file
attachments at all
trying to do the same by OutlookSpy,
it seems causing the same thing.
However, clicking the "Digitally Sign message" button, it works FINE.
Anything extra to do for sening mail signed with attachments ????
BTW, using OutlookSpy to view the AttachmentTable,
when setting PR_MESSAGE_CLASS only,
the attachment table add smime.p7m in addition to the original attachments.
when clicking the "Digitally Sign message" button and send,
the attachment table will HAVE only smime.p7m
???
Thanks for ANY help!!
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"NeoS" <Ne...@discussions.microsoft.com> wrote in message
news:06AE1E8B-7B37-449F...@microsoft.com...
I do NOT create p7m myself, just set the PR_MESSAGE_CLASS and submit
to let outlook do itself.
In addition to coding, i tries manually by Outlook spy
1. create an email without "digitally sign"
2. add an ordinary file attachment (or more) like .doc or so
3. click send (submit)
4. In the Outbox, open it and use Outlook Spy to edit the
PR_MESSAGE_CLASS
to change it to "IPM.Note.SMIME.MultipartSigned"
5. click Send (submit)
6. Send it out really
In Step 5, if using Outlook Spy to view its AttachmentTable
It has only the original files no .p7m;
(if done by coding, outlook generates an extra .p7m when add
attachments after setting IPM.Note.SMIME.MultipartSigned)
After step 6, receiving the email ok. However, NO file attachments
(view by Outlook Spy, no entries in Attachment table)
The email itself shows signature verified
However, we also cannot open the item in SentBox.
It shows "An error occurred in the underlying security system"
Anyway, no matter by code or by Outlook Spy,
It always shows "An error occurred in the underlying security system"
in the SendItem.
And NO original attachments in the received email.
THANKS for the help!!
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"NeoS" <neos...@gmail.com> wrote in message
news:264d9d93-c3c2-4b2b...@w37g2000prg.googlegroups.com...
FYI:
I tested with Outlook 2003 with SP3.
Directly setting PR_MESSAGE_CLASS IPM.Note.SMIME.MultipartSigned
does not work for mail with attachments.
Also even for a simple mail item, the itemsent is OK.
However, clicking the mailitem in the SentBox is also showing
"An error occurred in the underlying security system".