Mail Client

At MSDN : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/_mapistub__adding_your_mail_client_to_the_file.send_menu.asp

It's mention your own MAPI.DLL the name in the exemple is MyMAPI.dll. What is that and how to implement it. Is this neede to make your email application to be able to send mail like Outlook Express and other email clinet applications? I have tryed to rename some of the dll's at this possition in the registry and if you do that your not able to send a file by right-click it in the explorer. You still have the emnu item in the right-click menu of a file item like "send to/mail recipent" but nothing is hppening. So there is something with that dll. Anything about this "MyMAPI.DLL" would help.


Tomas Thil
TomasThilAsked:
Who is Participating?
 
ethrbunnyCommented:
from the help file:

To add a destination to the Send To menu
Open My Computer.
Double-click the drive where Windows is installed (usually drive C, unless you have more than one drive on your computer).
If you can't see the items on your drive when you open it, under System Tasks, click Show the contents of this drive.

Double-click the Documents and Settings folder.
Double-click the folder of a specific user.
Double-click the SendTo folder.
The SendTo folder is hidden by default. If it is not visible, on the Tools menu, click Folder Options. On the View tab, click Show hidden files and folders.

On the File menu, point to New, and then click Shortcut.
Follow the instructions on your screen.
 Note

To open My Computer, click Start, and then click My Computer.

Just add an entry for the mail client of your choice.
0
 
ethrbunnyCommented:
That post is for adding a new mapi dll to the 'file' menu. Are you just wanting to send mail from an application? Implementing MAPI 0 is pretty straightforward depending on what language you want to use.
0
 
TomasThilAuthor Commented:
ethrbunny,

What 'file' menu?

The problem I try to solvis that when you right-click on a file and you get the popup menu you should be able to send that file with your default mail client.
For example, if you using outlook express as your default mail client that editor should popup with the file attached.
If you change the mail client in the "Internet options" dialog to a other mail client that one should popup when right-click on a file.
I have tryed to change the dll name of ex. outlook express (msoe.dll) to a nother name and that made right-click to send a file not work. So my conclutons is that the dll's is importent to get this right-click to send a file possible. I have used the TDUMP from Borland to dump the interface of some of the dll's and it's look like a simple MAPI interface.


Tomas Thil
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.