Exchange Supprt?

Is Network.Exchange currently supported class/product? I see it in the latest download, but I can’t find docs or examples anywhere (The Exchange sample in the downloads is not the right file).

Thanks for any input!

EdH:
Is Network.Exchange currently supported class/product? I see it in the latest download, but I can't find docs or examples anywhere (The Exchange sample in the downloads is not the right file).

Thanks for any input!



Hi, any input here?

Thanks,
-Ed

Dear Ed,

Please download the files here:

http://www.aspose.com/Community/Files/54/aspose.network/entry88812.aspx

Thanks

Hi Iret,

Thank you for the response. I looked at that download, and although it is called “ExchangeConsoleDemo.zip” and the VS solution is named exchange, the code in it just shows how to open and save a MIME message to disk (see below). I did not see any exchange related code in there.

Please take a look at that download and let me know if I may be missing something, or if the file is just incorrect.

Thanks again,
-Ed

Here is the code that is in that download.
//
// save a mail message to disk
//
Aspose.Network.Mail.MailMessage msg1 = null;
msg1 = new Aspose.Network.Mail.MailMessage();
msg1.From = new Aspose.Network.Mail.MailAddress("test@aspose.com");
msg1.To.Add(new Aspose.Network.Mail.MailAddress("recipient@aspose.com"));
msg1.CC = new Aspose.Network.Mail.MailAddressCollection("cc@aspose.com");
msg1.Bcc = new Aspose.Network.Mail.MailAddressCollection("bcc@aspose.com");
msg1.ReplyTo = new Aspose.Network.Mail.MailAddressCollection("reply@aspose.com");

msg1.BodyEncoding = System.Text.Encoding.Unicode;
msg1.SubjectEncoding = System.Text.Encoding.Unicode;

//receipt required
msg1.ConfirmRead = true;
msg1.Date = DateTime.Now;
msg1.HtmlBody = “this is a html message body “;
msg1.Priority = Aspose.Network.Mail.MailPriority.Normal;
msg1.Sensitivity = Aspose.Network.Mail.MailSensitivity.Private;
msg1.Subject = “this is a subject”;
msg1.TextBody = “plain text body”;
msg1.XMailer = “secret header”;

msg1.Attachments.Add(new Aspose.Network.Mail.Attachment(@”…\Class1.cs”));

msg1.Save(“test.eml”);


//
// read and parse an email message from file
//
Aspose.Network.Mail.MailMessage msg2 = Aspose.Network.Mail.MailMessage.Load(“test.eml”, Aspose.Network.Mail.MessageFormat.Eml);
Console.WriteLine("\n\nheaders:\n\n");
//print out all the headers
foreach(Aspose.Network.Mime.MimeHeader header in msg2.Headers)
{
Console.WriteLine(header.RawContent);
}

foreach(Aspose.Network.Mail.Attachment attachment in msg2.Attachments)
{
//you could save your attachments here
// attachment.Save(“filename”);
Console.WriteLine(attachment.Name);
}

Console.Read();

Hi Ed,

Sorry for the corruption of the demo file, now we has fixed the link, please download and try it again!

Thanks