PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Programming outlook/outlook express from code

Reply

Programming outlook/outlook express from code

 
Thread Tools Rate Thread
Old 30-06-2003, 02:15 PM   #1
=?ISO-8859-1?Q?Cl=E9ment_Doss?=
Guest
 
Posts: n/a
Default Programming outlook/outlook express from code


Hello,

Can someone check if the following feature table is correct.
I should build a project with the following features, but as you can see not all of
them are possible. So I must double check before saying to my customer "it can't be
done". Please do complete the information if you feel the one I gave is incomplete.

The idea is to "connect" , in anyway, to outlook and outlook express, from a language to:
(Please correct if I'm wrong)

- Create an account (mail -> IMAP or POP3):
- Directly : Not possible
- Workaround : The account info is stored in the registry, and can be
created/modified from a language. Can be done in Outlook and Outlook express. The
registry key is diferent, but the account data seems to be the same.
Is this valid for all versions of outlook and outlook express? if not then from which
one?

- Create Rules
- Directly : Not possible.
- Workaround: None. There's a DLL (rule.dll) that can help us, but it's intended
to be used with MicrosoftExchange as a Server Side rule.
* Does outlook prior to 2000 support rules?
* Outlook 2000 stores the rules in a profile folder (Microsoft Outlook Internet
Settings.RWZ). No way to interact with it.
* Outlook XP stores it in the PST file. No way to interact with it.

- View->CurrentView (for POP or IMAP)
- Directly : Only for Outlook XP and newer.
- Workaround : None.
- Storage
* Couldn't find out



Best regards,
Clément

  Reply With Quote
Old 30-06-2003, 04:41 PM   #2
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: Programming outlook/outlook express from code

Accounts -- you can use Redemption or Extended MAPI if profiles are
involved.

Rules -- Outlook has supported rules since Outlook 97. Rule.dll will help
you only if you are created very simple rules, can ensure that CDO is
installed on the client, and don't care that a rule created with Rule.dll
will not appear in the Rules Wizard.

Views -- stored as hidden items in folders or root of mailbox

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx



"Clément Doss" <cdoss@dhs.com.br> wrote in message
news:e3gKIGxPDHA.2768@tk2msftngp13.phx.gbl...
> Hello,
>
> Can someone check if the following feature table is correct.
> I should build a project with the following features, but as you can see

not all of
> them are possible. So I must double check before saying to my customer "it

can't be
> done". Please do complete the information if you feel the one I gave is

incomplete.
>
> The idea is to "connect" , in anyway, to outlook and outlook express, from

a language to:
> (Please correct if I'm wrong)
>
> - Create an account (mail -> IMAP or POP3):
> - Directly : Not possible
> - Workaround : The account info is stored in the registry, and can be
> created/modified from a language. Can be done in Outlook and Outlook

express. The
> registry key is diferent, but the account data seems to be the same.
> Is this valid for all versions of outlook and outlook express? if not then

from which
> one?
>
> - Create Rules
> - Directly : Not possible.
> - Workaround: None. There's a DLL (rule.dll) that can help us, but it's

intended
> to be used with MicrosoftExchange as a Server Side rule.
> * Does outlook prior to 2000 support rules?
> * Outlook 2000 stores the rules in a profile folder (Microsoft

Outlook Internet
> Settings.RWZ). No way to interact with it.
> * Outlook XP stores it in the PST file. No way to interact with it.
>
> - View->CurrentView (for POP or IMAP)
> - Directly : Only for Outlook XP and newer.
> - Workaround : None.
> - Storage
> * Couldn't find out
>
>
>
> Best regards,
> Clément
>



  Reply With Quote
Old 30-06-2003, 06:14 PM   #3
=?ISO-8859-1?Q?Cl=E9ment_Doss?=
Guest
 
Posts: n/a
Default Re: Programming outlook/outlook express from code

Sue Mosher [MVP] wrote:
> Accounts -- you can use Redemption or Extended MAPI if profiles are
> involved.
>
> Rules -- Outlook has supported rules since Outlook 97. Rule.dll will help
> you only if you are created very simple rules, can ensure that CDO is
> installed on the client, and don't care that a rule created with Rule.dll
> will not appear in the Rules Wizard.
>
> Views -- stored as hidden items in folders or root of mailbox
>

Could you please give me an example of how can I create an outlook / outlook express
account from a language (like Delphi or C++)

The rule I need to create is a very simple one. Just move all incoming mails from
inbox to a specific folder. Could you please provide a sample code?

Views -- How can I interact? Any sample code please :-)


Best regards,
Clément

  Reply With Quote
Old 30-06-2003, 06:35 PM   #4
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: Programming outlook/outlook express from code

Check MSDN for samples using Extended MAPI -- see
http://www.slipstick.com/dev/mapi.htm for links. This is Outlook only.
Outlook Express is a completely different program.

For views, see
http://www.outlookcode.com/threads....=4&messageid=19

For Rule.dll, again MSDN and also see
http://www.slipstick.com/dev/exstech.htm

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Clément Doss" <cdoss@dhs.com.br> wrote in message
news:O2BMFMzPDHA.2480@tk2msftngp13.phx.gbl...
> Sue Mosher [MVP] wrote:


> Could you please give me an example of how can I create an outlook /

outlook express
> account from a language (like Delphi or C++)
>
> The rule I need to create is a very simple one. Just move all incoming

mails from
> inbox to a specific folder. Could you please provide a sample code?
>
> Views -- How can I interact? Any sample code please :-)
>
>
> Best regards,
> Clément
>



  Reply With Quote
Old 30-06-2003, 10:00 PM   #5
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Programming outlook/outlook express from code

Also note that IMAIL service (SMTP/POP3) is not entirely MAPI compliant and
cannot be added/configured with Extended MAPI.

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


"Sue Mosher [MVP]" <suemvp@microsoft.com> wrote in message
news:uXkQmYzPDHA.2676@TK2MSFTNGP10.phx.gbl...
> Check MSDN for samples using Extended MAPI -- see
> http://www.slipstick.com/dev/mapi.htm for links. This is Outlook only.
> Outlook Express is a completely different program.
>
> For views, see
> http://www.outlookcode.com/threads....=4&messageid=19
>
> For Rule.dll, again MSDN and also see
> http://www.slipstick.com/dev/exstech.htm
>
> --
> Sue Mosher, Outlook MVP
> Outlook and Exchange solutions at http://www.slipstick.com
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
> "Clément Doss" <cdoss@dhs.com.br> wrote in message
> news:O2BMFMzPDHA.2480@tk2msftngp13.phx.gbl...
> > Sue Mosher [MVP] wrote:

>
> > Could you please give me an example of how can I create an outlook /

> outlook express
> > account from a language (like Delphi or C++)
> >
> > The rule I need to create is a very simple one. Just move all incoming

> mails from
> > inbox to a specific folder. Could you please provide a sample code?
> >
> > Views -- How can I interact? Any sample code please :-)
> >
> >
> > Best regards,
> > Clément
> >

>
>



  Reply With Quote
Old 30-06-2003, 10:01 PM   #6
=?ISO-8859-1?Q?Cl=E9ment_Doss?=
Guest
 
Posts: n/a
Default Re: Programming outlook/outlook express from code

Thanks for your help,

I looked the links you sent me... They will help me a lot thanks...
But it's really too much information to digest before giving my customer an answer.

I would like to know if it's possible :
1) to create a email account in Outlook / Outlook express, other than editing the
registry. My answer to him will be "only by editing the registry"

2) Create a simple rule (Move any incoming email to a specific folder). In Outlook
/ Outlook Express. My answer to him will be that it's not possible, in any version of
Outlook / Outlook Express.

3) Change the CurrentView Setting (This one is only available for Office XP and
newer). My answer to him will be that it's possible to setup up only for Office XP
and newer... Not possible for Outlook Express...

That's why I must know if those are possible tasks. I want to avoid to tell him that
something is possible and it isn't or that something isn't possible and it is...

Best regards,
Clément

  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