Appending email headers in Outlook...(Newbie question)

S

Stu

Hi,

I have been asked to develop and addin for Outlook 2k (VB6 COM) that has a
custom menu containing a list of projects. Selecting a project will append
the headers of the email with a project ID string and send the email to the
recipient.

I have been successful in getting the list of projects to work but I am
stuck on the next 2 bits; appending the email header and actually sending
the email.

Can anybody point me in the right direction for either of these?

Thanks in advance,

Stu
 
D

Dmitry Streblechenko

You need to add a named property with a GUID
{00020386-0000-0000-C000-000000000046}, the named property id must be of
type MNID_STRING. The name of the property will become the header name.
Works with both Exchange and IMAIL providers in Outlook.
You can do that using any API except Outlook Object Model.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top