Demos for ASPOSE

Hi all,

I evaluate products for read MSG files.

I need know if Aspose can do this:

- Read MSG Outlook files and get the subject value and Attachments

- Can I access to Outlook and save some emails (check before about the subject for example) to disk like MSG file ?

- How can I test it in demo ?

- How can I buy it ?

thanks in advance.

Hi,

Thanks for considering Aspose.

Yes, you can load and parse outlook msg files with Aspose and get values like subject, from, to, attachments, headers etc.

Could you be more specific about accessing outlook? Do you want to read outlook pst file and check messages or you want to connect to a mail server, check messages and save as outlook msg files?

Pst file format is not currently supported, but you can connect to a mail server (POP3, SMTP or IMAP), check messages and save these as outlook msg files.

For checking msg properties, you may checkout our live demo at http://www.aspose.com/demos/aspose.network/default.aspx?MainPage1DemosIndex=10 and upload your msg file.

For connecting to a mail server and saving mails as msg files, please see the code below:

//Create a Pop3Client instance

Pop3Client client = new Pop3Client(“mail.domain.com”, “username”, “password”);

try

{

//connect and login to the pop3 mail server

client.Connect(true);

// check messages

for (int i = 1; i <= client.GetMessageCount(); i++)

{

// create MailMessage instance for each message

MailMessage msg = client.FetchMessage(i);

// save as msg file in disk

msg.Save(@"E:\temp" + i.ToString() + “.msg”, MessageFormat.Msg);

}

client.Disconnect();

}

catch (Exception ex)

{

MessageBox.Show(ex.Message);

}

The trial version is available for download at http://www.aspose.com/community/files/51/file-format-components/aspose.network/category1102.aspx. You may check out samples that are shipped with the installer.

For purchase, please visit Purchase Portal.