I have to develop an application which is similar to outlook in which i have to create a button by which we can transfer mail message to user specific folder.I am using MFC for that application.
I found that there is api called MAPI(messaging application programming interface) which provide two function OnFileSendMail and OnUpdateFileSendMail.

I want to know sample code of this function and how to use them.

Read MSDN

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.