Show / Hide Table of Contents

Class MailParser

Class used to parse different types of e-mail data into MailItems

Inheritance
Object
MailParser
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public static class MailParser

Methods

GetMailItem(Stream, String)

Get a MailItem object given a stream of data and a mail type

Declaration
public static MailItem GetMailItem(Stream inputStream, string type)
Parameters
Type Name Description
Stream inputStream

Stream of data to parse

String type

Type of mail. Ex: "somail", "msg", "eml".

Returns
Type Description
SuperOffice.CRM.Mail.MailItem

A populated MailItem object

GetMailItem(String, String)

Get a MailItem object given a file and a mail type

Declaration
public static MailItem GetMailItem(string filename, string type)
Parameters
Type Name Description
String filename
String type

Type of mail. Ex: "somail", "msg", "eml".

Returns
Type Description
SuperOffice.CRM.Mail.MailItem

A populated MailItem object

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Back to top