• Subject: Re: sign outgoing messages on ItemSend
  • Author: mad
  • Date: 22 Feb 2008
  • References: 1 2 3 4 5 6 7 8
Yes, i can. But i cant't install my certificate to clients machines.

Anyway... I need to generate some signature for outgoing message and
put it in X-header, for example. And when the message will be recieved
by outlook with my add-in installed, then the message can be verified
based on that signature.

Can i get the stream, that outlook send to smtp-server?

Because if i calculate signature for exported message (by MapiToMime)
and put it to X-header, then Outlook generate new message for smtp
while sending. And "------=_NextPart_000_0009..." becomes to "------
=_NextPart_000_000D...", so i can't verify my signature.

p.s. sorry for my english

On 20 фев, 19:16, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
> Can you send signed/encrypted messages through Outlook?
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "mad" <andreyk....@gmail.com> wrote in message
>
> news:04373c13-a749-495c-9fda-66bd34acb52f@41g2000hsc.googlegroups.com...
> But with which certificate Outlook will sign the message then? How to
> set certificate to sign the message with?
> At the moment, after
> MailItem.MessageClass := 'IPM.Note.SMIME.Multipartsigned';
> MailItem.Save;
> Outlook crashes while sending message.
>
> On 19 feb, 22:47, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
>
> > If I remember correctly, you don't have to do anything but set the message
> > class - Outlook will sign the message appropriately when its sees the
> > right
> > message class for the message beign sent.
>
> > Dmitry Streblechenko (MVP)http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
>
> > "mad" <andreyk....@gmail.com> wrote in message
>
> >news:5f1f12f5-b11d-413e-a155-46b3f40bc614@n58g2000hsf.googlegroups.com...
> > And when shoud i set it to "IPM.Note.SMIME.MultipartSigned"? Before
> > export message to MIME? Before import signed MIME to message? Or after
> > import?
>
> > On 18 feb, 22:48, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
>
> > > Try "IPM.Note.SMIME.MultipartSigned"
>
> > > Dmitry Streblechenko (MVP)http://www.dimastr.com/
> > > OutlookSpy - Outlook, CDO
> > > and MAPI Developer Tool
>
> > > "mad" <andreyk....@gmail.com> wrote in message
>
> > >news:880147df-7e9d-496a-82ac-4c13a94b8f3b@n77g2000hse.googlegroups.com...
> > > The values of PR_MESSAGE_CLASS is "IPM.Note". What value instead of
> > > this should i set?
>
> > > On 16 ÆÅ×, 05:40, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
>
> > > > Have you tried to simply set the appropriate value of PR_MESSAGE_CLASS
> > > > to
> > > > let Outlook do the \rest?
>
> > > > Dmitry Streblechenko (MVP)http://www.dimastr.com/
> > > > OutlookSpy - Outlook, CDO
> > > > and MAPI Developer Tool
>
> > > > "mad" <andreyk....@gmail.com> wrote in message
>
> > > >news:2c38dd67-e385-4873-af63-04ac77348d9b@e23g2000prf.googlegroups.com...
>
> > > > > Hello everybody!
>
> > > > > I'm writing an add-on for Outlook 2007 in Delphi. The purpose of
> > > > > this
> > > > > add-on is to add digital signature to the outgoing messages. I use
> > > > > event OnItemSend.
>
> > > > > At the moment i save IMessage to MIME by
> > > > > IConverterSession.MAPIToMIMEStm. Next, That file signed by external
> > > > > application and i try to load signed file to IMessage by
> > > > > IConverterSession.MIMEToMAPI. But then Outlook sends loaded message,
> > > > > and it become little modified.
> > > > > For example:
> > > > > Content-Type: text/plain;charset="us-ascii"
> > > > > becomes:
> > > > > Content-Type: text/plain;
> > > > > charset="us-ascii"
> > > > > Naturally, signature is no longer valid.
>
> > > > > So, how can i add digital signature to outgoing messages? Should I
> > > > > add
> > > > > a signature some other way or send signed MIME instead of the
> > > > > original
> > > > > message?
>
> > > > > Thank you.
15 Feb 2008sign outgoing messages on ItemSend.mad
15 Feb 2008\ Re: sign outgoing messages on ItemSend.Dmitry Streblechenko
18 Feb 2008   \ Re: sign outgoing messages on ItemSend.mad
18 Feb 2008      \ Re: sign outgoing messages on ItemSend.Dmitry Streblechenko
19 Feb 2008         \ Re: sign outgoing messages on ItemSend.mad
19 Feb 2008            \ Re: sign outgoing messages on ItemSend.Dmitry Streblechenko
20 Feb 2008               \ Re: sign outgoing messages on ItemSend.mad
20 Feb 2008                  \ Re: sign outgoing messages on ItemSend.Dmitry Streblechenko
22 Feb 2008                     \ Re: sign outgoing messages on ItemSend.mad
22 Feb 2008                        \ Re: sign outgoing messages on ItemSend.Dmitry Streblechenko
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)