MailBrowserControl tutorial

You can now display emails in Windows Forms applications:

  1. First you need to add reference to the three assemblies:
    • Mail.dll
    • MailBrowserControl.dll
    • ProtocolEx.dll
    Display HTML mail
  2. Add MailBrowserControl to the Toolbox: Display HTML mail Display HTML mail
  3. Drag and drop the control on to the form.
  4. Then just use Navigate method:

    C#: VB.NET:
  5. That's it! Display HTML mail Note that all images and HTML are loaded from memory, no temporary files were created.

You can find working example in the Mail.dll download package.


Products > Mail.dll - mail component for .NET 2.0 > Mail.dll help > MailBrowserControl tutorial