PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Appending email headers in Outlook...(Newbie question)

Reply

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

 
Thread Tools Rate Thread
Old 16-07-2003, 10:44 AM   #1
Stu
Guest
 
Posts: n/a
Default Appending email headers in Outlook...(Newbie question)


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


  Reply With Quote
Old 16-07-2003, 06:55 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Appending email headers in Outlook...(Newbie question)

Are you sending the messages within the same Exchange domain or via SMTP?

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


"Stu" <stuart@ntpcl.uk.com> wrote in message
news:O1sUKZ4SDHA.632@TK2MSFTNGP12.phx.gbl...
> 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
>
>



  Reply With Quote
Old 17-07-2003, 11:34 AM   #3
Stu
Guest
 
Posts: n/a
Default Re: Appending email headers in Outlook...(Newbie question)

I will be sending the messages via SMTP.


"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:eWXBNv8SDHA.2276@TK2MSFTNGP10.phx.gbl...
> Are you sending the messages within the same Exchange domain or via SMTP?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
>
> "Stu" <stuart@ntpcl.uk.com> wrote in message
> news:O1sUKZ4SDHA.632@TK2MSFTNGP12.phx.gbl...
> > 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
> >
> >

>
>



  Reply With Quote
Old 17-07-2003, 04:43 PM   #4
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Appending email headers in Outlook...(Newbie question)

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


"Stu" <stuart@ntpcl.uk.com> wrote in message
news:unSECaFTDHA.2768@tk2msftngp13.phx.gbl...
> I will be sending the messages via SMTP.
>
>
> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:eWXBNv8SDHA.2276@TK2MSFTNGP10.phx.gbl...
> > Are you sending the messages within the same Exchange domain or via

SMTP?
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "Stu" <stuart@ntpcl.uk.com> wrote in message
> > news:O1sUKZ4SDHA.632@TK2MSFTNGP12.phx.gbl...
> > > 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
> > >
> > >

> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off