C# Class pGina.Plugin.MultiEmail.PluginImpl

Inheritance: IPluginConfiguration, IPluginAuthentication
Datei anzeigen Open project: MutonUfoAI/pgina

Public Methods

Method Description
Configure ( ) : void
GetServers ( ) : List
PluginImpl ( ) : System
Starting ( ) : void
Stopping ( ) : void

Private Methods

Method Description
IPluginAuthentication ( SessionProperties properties ) : BooleanResult
apopPass ( string resp, string password ) : string

Determines if the POP3 server supports APOP, and returns the authentication hash if so.

authImap ( System stream, NetworkCredential creds, string server ) : bool

Authenticates against an IMAP server. Presently only supports plain text login. The use of AUTHENTICATE is not yet supported, so SSL is advised.

authPop3 ( System stream, NetworkCredential creds, string server ) : bool

Authenticates against a POP3 server. If a timestamp is sent in the initial response, it assumes APOP is supported.

checkServer ( ServersList email_server, SessionProperties properties ) : BooleanResult
getNetworkStream ( string server, int port, bool ssl, int timeout ) : Stream

Attempts to open a network stream to the specified server.

getResponse ( System reader, string server ) : string

Attempts to grab a response from the server.

Method Details

Configure() public method

public Configure ( ) : void
return void

GetServers() public method

public GetServers ( ) : List
return List

PluginImpl() public method

public PluginImpl ( ) : System
return System

Starting() public method

public Starting ( ) : void
return void

Stopping() public method

public Stopping ( ) : void
return void