Using MAPI from Access 97

  • Thread starter Thread starter Kip Frey
  • Start date Start date
K

Kip Frey

I have been trying to use docmd.SendTo (Access 97) to
access Outlook Express for emailing access reports.
Unless the system also has Outlook installed, the
error "Microsoft Access cannot open the mail session".

Also, from the menu, File,Send produces the same error.
I was beginning to think that OE6 wasn't MAPI compatible,
but apparently it works fine with later versions of
Access. Is this a version specific problem, the result
of upgrades, or can it be corrected? The only ref in the
KB to that error message doesn't apply.

I seem to be stuck, and don't want to upgrade without
knowing it will fix the problem.

Kip
 
Check these two registry keys:

HKEY_CLASSES_ROOT\MailTo

HKEY_LOCAL_MACINE\Software\Clients\Mail


(david)
 
MailTo has 2 sub entries: defaultIcon and shell, sub tree
shell has open, command with the value set to my mailer:
eudora (full path to)

Clients\mail has entries for Eudora, outlook express,
hotmail,and msn explorer. Each points to the
appropriate .dll file. Everything loook logical. Other
systems I have tried have OE6 as their default mailer
with similar results.

Lo[
 
Clients\mail has entries for Eudora, outlook express,

What is the value for 'default'?
On my PC, the default value is 'Microsoft Outlook', (which
points the Microsoft Outlook entry). When I change this
value to 'Outlook Express', I get OE6.

(david)

MailTo has 2 sub entries: defaultIcon and shell, sub tree
shell has open, command with the value set to my mailer:
eudora (full path to)

Clients\mail has entries for Eudora, outlook express,
hotmail,and msn explorer. Each points to the
appropriate .dll file. Everything loook logical. Other
systems I have tried have OE6 as their default mailer
with similar results.

Lo[
-----Original Message-----
Check these two registry keys:

HKEY_CLASSES_ROOT\MailTo

HKEY_LOCAL_MACINE\Software\Clients\Mail


(david)




.
 
There is no entry for default under either
the ...ROOT\mailto or the ...\software\clients\mail
sections of the registry.

If I add the default, I assume it should duplicate
everything contained in one of the legitimate entries (ie
the whole subtree under eudora or outlook express) ?

Is there an automated way to establish the entries (such
as thru internet explorer options?)

K
-----Original Message-----
Clients\mail has entries for Eudora, outlook express,

What is the value for 'default'?
On my PC, the default value is 'Microsoft Outlook', (which
points the Microsoft Outlook entry). When I change this
value to 'Outlook Express', I get OE6.

(david)

MailTo has 2 sub entries: defaultIcon and shell, sub tree
shell has open, command with the value set to my mailer:
eudora (full path to)

Clients\mail has entries for Eudora, outlook express,
hotmail,and msn explorer. Each points to the
appropriate .dll file. Everything loook logical. Other
systems I have tried have OE6 as their default mailer
with similar results.

Lo[
-----Original Message-----
Check these two registry keys:

HKEY_CLASSES_ROOT\MailTo

HKEY_LOCAL_MACINE\Software\Clients\Mail


(david)

I have been trying to use docmd.SendTo (Access 97) to
access Outlook Express for emailing access reports.
Unless the system also has Outlook installed, the
error "Microsoft Access cannot open the mail session".

Also, from the menu, File,Send produces the same error.
I was beginning to think that OE6 wasn't MAPI compatible,
but apparently it works fine with later versions of
Access. Is this a version specific problem, the result
of upgrades, or can it be corrected? The only ref
in
the
KB to that error message doesn't apply.

I seem to be stuck, and don't want to upgrade without
knowing it will fix the problem.

Kip


.


.
 
Maybe i misunderstood your reply. There is a default
value under clients\mailto: Eudora, the default emailer.
But there is not an explicit key 'default' under mailto
as there is for some registry entries.
The default value is not a program reference, rather it
appears to be a registry reference pointing to the
appropriate registry key for my default mailer. Is that
what you were asking?

K
-----Original Message-----
Clients\mail has entries for Eudora, outlook express,

What is the value for 'default'?
On my PC, the default value is 'Microsoft Outlook', (which
points the Microsoft Outlook entry). When I change this
value to 'Outlook Express', I get OE6.

(david)

MailTo has 2 sub entries: defaultIcon and shell, sub tree
shell has open, command with the value set to my mailer:
eudora (full path to)

Clients\mail has entries for Eudora, outlook express,
hotmail,and msn explorer. Each points to the
appropriate .dll file. Everything loook logical. Other
systems I have tried have OE6 as their default mailer
with similar results.

Lo[
-----Original Message-----
Check these two registry keys:

HKEY_CLASSES_ROOT\MailTo

HKEY_LOCAL_MACINE\Software\Clients\Mail


(david)

I have been trying to use docmd.SendTo (Access 97) to
access Outlook Express for emailing access reports.
Unless the system also has Outlook installed, the
error "Microsoft Access cannot open the mail session".

Also, from the menu, File,Send produces the same error.
I was beginning to think that OE6 wasn't MAPI compatible,
but apparently it works fine with later versions of
Access. Is this a version specific problem, the result
of upgrades, or can it be corrected? The only ref
in
the
KB to that error message doesn't apply.

I seem to be stuck, and don't want to upgrade without
knowing it will fix the problem.

Kip


.


.
 
Kip Frey said:
Maybe i misunderstood your reply. There is a default
value under clients\mailto: Eudora, the default emailer.
But there is not an explicit key 'default' under mailto
as there is for some registry entries.
The default value is not a program reference, rather it
appears to be a registry reference pointing to the
appropriate registry key for my default mailer. Is that
what you were asking?

Yes. Most people would like the two entries to point eventually
to the same program, but I think A97 SendTo uses the MAPI
HKEY_LOCAL_MACINE\Software\Clients\Mail value. And yes, it
seems to me that the values should be the name of one of the
subkeys.

In the registry, old systems tend to use the default value of
a key more than new systems do, so sometimes you find that the
default value is ignored in favour of an explicit data value,
but it is working for me with OE6, Outlook 2002, Win2K.

(david)
 
Unfortunately, all seems to be in order, but the cursed
apparatus still does not work. Any other ideas. Could
it be an XP/Acc97 incompatibility. Funny that
file/sendto works on excel95 installed on the same
machine. If you think of anything else, please post here.

Thanks for your help

Kip
 

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

Back
Top