Click here to Skip to main content
15,910,358 members
Home / Discussions / C#
   

C#

 
QuestionCurrency Conversion from Euro to other.. Pin
rahul.net118-Jul-10 19:13
rahul.net118-Jul-10 19:13 
AnswerRe: Currency Conversion from Euro to other.. Pin
Abhinav S8-Jul-10 19:21
Abhinav S8-Jul-10 19:21 
GeneralRe: Currency Conversion from Euro to other.. Pin
rahul.net118-Jul-10 20:01
rahul.net118-Jul-10 20:01 
AnswerRe: Currency Conversion from Euro to other.. Pin
elchupathingy8-Jul-10 19:26
elchupathingy8-Jul-10 19:26 
GeneralRe: Currency Conversion from Euro to other.. Pin
rahul.net118-Jul-10 19:51
rahul.net118-Jul-10 19:51 
GeneralRe: Currency Conversion from Euro to other.. Pin
SeMartens8-Jul-10 20:59
SeMartens8-Jul-10 20:59 
AnswerRe: Currency Conversion from Euro to other.. Pin
Luc Pattyn8-Jul-10 23:34
sitebuilderLuc Pattyn8-Jul-10 23:34 
QuestionRecreate email from database record Pin
RCoate8-Jul-10 17:15
RCoate8-Jul-10 17:15 
I am writing an application to migrate records from a DocuShare document management system to a TRIM Records management system.
Moving documents (anything that is not an email) is straight forward, but for some reason DocuShare takes any email that is lodged and ripps it up into component pieces and stores these in a database table.
I can find the To, From, Subject, Body, Header and other data and now my challenge is to reconstitute the original email so I can move it into TRIM.

I have tried using the Office.Interop.Outlook class to create an email, but I can't include the Header or the From Information.
I.E.
Outlook.MailItem mailItem = new Microsoft.Office.Interop.Outlook.MailItem();
mailItem.Body = "This is My Test";
mailItem.Subject = "Test Message";
mailItem.Attachments.Add("C:\\AttachmentDocument.txt", Outlook.OlAttachmentType.olByValue, 1, "AttachmentDocument.txt");
mailItem.BodyFormat = Microsoft.Office.Interop.Outlook.OlBodyFormat.olFormatHTML;
mailItem.To = "ToPerson@theirEmail.Address.com";
mailItem.BCC = "";
mailItem.CC = "";
mailItem.SaveAs("Path", Outlook.OlSaveAsType.olMSG);


Does anyone know of an other way to recreate these emails so that I can include the header and from (and maybe other) fields?
AnswerRe: Recreate email from database record Pin
Abhinav S8-Jul-10 18:43
Abhinav S8-Jul-10 18:43 
GeneralRe: Recreate email from database record Pin
RCoate8-Jul-10 20:18
RCoate8-Jul-10 20:18 
QuestionHowto: get a textbox to display bytes as 0's and 1's.. ? Pin
Shaareable8-Jul-10 15:48
Shaareable8-Jul-10 15:48 
AnswerRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
JF20158-Jul-10 18:20
JF20158-Jul-10 18:20 
AnswerRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
Abhinav S8-Jul-10 18:46
Abhinav S8-Jul-10 18:46 
GeneralRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
harold aptroot8-Jul-10 23:09
harold aptroot8-Jul-10 23:09 
GeneralRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
Shaareable9-Jul-10 0:35
Shaareable9-Jul-10 0:35 
AnswerRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
DaveyM698-Jul-10 21:17
professionalDaveyM698-Jul-10 21:17 
AnswerRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
Luc Pattyn8-Jul-10 23:39
sitebuilderLuc Pattyn8-Jul-10 23:39 
AnswerRe: Howto: get a textbox to display bytes as 0's and 1's.. ? Pin
Shaareable9-Jul-10 0:31
Shaareable9-Jul-10 0:31 
QuestionHELP! Windows Services Pin
Charlie Curtis8-Jul-10 6:52
Charlie Curtis8-Jul-10 6:52 
AnswerRe: HELP! Windows Services Pin
Abhinav S8-Jul-10 7:02
Abhinav S8-Jul-10 7:02 
GeneralRe: HELP! Windows Services Pin
Charlie Curtis8-Jul-10 7:22
Charlie Curtis8-Jul-10 7:22 
GeneralRe: HELP! Windows Services PinPopular
Keith Barrow8-Jul-10 7:57
professionalKeith Barrow8-Jul-10 7:57 
AnswerRe: HELP! Windows Services Pin
Dave Kreskowiak8-Jul-10 7:06
mveDave Kreskowiak8-Jul-10 7:06 
GeneralRe: HELP! Windows Services Pin
Charlie Curtis8-Jul-10 7:23
Charlie Curtis8-Jul-10 7:23 
AnswerRe: HELP! Windows Services Pin
PIEBALDconsult8-Jul-10 8:12
mvePIEBALDconsult8-Jul-10 8:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.