Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Is there any way to store .msg file in database with all it's details including attachments and retrieve this saved message back to send it again. The idea to save entire .msg file in DB is to avoid the extra overhead of forming the message over again.
Posted
Comments
Sunasara Imdadhusen 17-Jun-14 4:59am    
It would be great if you can share code with us!

1 solution

yes you can.
Just save message to file
Save file to DB as binary data
Load file from DB
Open downloaded file from DB and do with message all you want.

Something like this with redemption:
Save message:
Redemption.RDOMail ma2;
ma2.SaveAs("file path");

Load message:
Redemption.RDOSession ses;
ses.GetMessageFromMsgFile("File path");

i hope this will help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900