EmailConnectionInfo Class
Provides the information for connection with email server.
Inheritance Hierarchy
SystemObject
  GroupDocs.Parser.ContainersEmailConnectionInfo

Namespace: GroupDocs.Parser.Containers
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 19.5
Syntax
public sealed class EmailConnectionInfo

The EmailConnectionInfo type exposes the following members.

Properties
  NameDescription
Public propertyConnectionType
Gets a connection type.
Public propertyDomain
Gets a domain.
Public propertyHost
Gets an URI of the mail server.
Public propertyMailboxUri
Gets an URI of the mailbox.
Public propertyPassword
Gets a password.
Public propertyPort
Gets a port of the mail server.
Public propertyUserName
Gets a username.
Methods
  NameDescription
Public methodStatic memberCreateEwsConnectionInfo(String, String, String)
Creates an instance of EmailConnectionInfo class for Exchange Web Service.
Public methodStatic memberCreateEwsConnectionInfo(String, String, String, String)
Creates an instance of EmailConnectionInfo class for Exchange Web Service.
Public methodStatic memberCreateImapConnectionInfo
Creates an instance of EmailConnectionInfo class for Internet Message Access Protocol.
Public methodStatic memberCreatePopConnectionInfo
Creates an instance of EmailConnectionInfo class for Post Office Protocol.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Examples

Creating an instance:

C#
var info = EmailConnectionInfo.CreateEwsConnectionInfo(
    @"https://outlook.office365.com/ews/exchange.asmx",
    "username",
    "password",
    "domain");
// or if domain is not required:
var info = EmailConnectionInfo.CreateEwsConnectionInfo(
@"https://outlook.office365.com/ews/exchange.asmx", 
    "username",
    "password");
See Also