search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other Other Languages Posts   Ask New Question 
Regarding MAPI - How to get the MIME message buffer of any mail received on Outlook - VC++
Savi Vinayak posted at Wednesday, June 03, 2009 1:19 AM
 
I am developing a plugin for outlook .
I want to create a MIME message buffer of the mails received on outlook using MAPI.
Presently,I am using MAPI properties like PR_TRANSPORT_MESSAGE_HEADERS, PR_BODY, PR_HTML_BODY, PR_RTF_COMPRESSED, PR_ATTACH_DATA_BIN, etc and then I construct a buffer in RFC 822 format .
But still i am not able to construct a complete MIME buffer.
For example, i do not know how to retrieve the following parts as it in MIME :

------=_NextPart_000_0021_01C9E2E0.DFF273D0
Content-Type: text/html;
    charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

------=_NextPart_000_0021_01C9E2E0.DFF273D0
Content-Type: image/jpeg;
    name="ATT00226.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
    filename="ATT00226.jpg"

Is there a way by which i can get the complete message buffer in MIME format.