ExchangeClientBase

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.email.IExchangeClientBase

public abstract class ExchangeClientBase implements IExchangeClientBase

Provides the abstract base class to MS Exchange Server access.

Methods

Method Description
setCommonLogFileName(String value) Sets log file name for all sessions.
getProxy() Gets or sets the proxy.
setProxy(System.Net.WebProxy value) Gets or sets the proxy.
getCredentials() Gets or sets the credentials
setCredentials(System.Net.ICredentials value) Gets or sets the credentials
getMailboxUri() Gets or sets the mailbox uri
setMailboxUri(String value) Gets or sets the mailbox uri
getTimeout() Gets or sets the number of milliseconds to wait before the operation times out.
setTimeout(int value) Gets or sets the number of milliseconds to wait before the operation times out.
resetLogSettings() Resets logging settings to default.
getLogFileName() Gets or sets log file name
setLogFileName(String value) Gets or sets log file name
getUseDateInLogFileName() Gets or sets value which indicates if date has to be used in log file name.
setUseDateInLogFileName(boolean value) Gets or sets value which indicates if date has to be used in log file name.
dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
close()

setCommonLogFileName(String value)

public static void setCommonLogFileName(String value)

Sets log file name for all sessions.

Parameters:

Parameter Type Description
value java.lang.String The log file name.

getProxy()

public System.Net.WebProxy getProxy()

Gets or sets the proxy.

Returns: com.aspose.ms.System.Net.WebProxy

setProxy(System.Net.WebProxy value)

public void setProxy(System.Net.WebProxy value)

Gets or sets the proxy.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Net.WebProxy

getCredentials()

public System.Net.ICredentials getCredentials()

Gets or sets the credentials

Value: ICredentials

Returns: com.aspose.ms.System.Net.ICredentials

setCredentials(System.Net.ICredentials value)

public void setCredentials(System.Net.ICredentials value)

Gets or sets the credentials

Value: ICredentials

Parameters:

Parameter Type Description
value com.aspose.ms.System.Net.ICredentials

getMailboxUri()

public String getMailboxUri()

Gets or sets the mailbox uri

Value: Uri of the mailbox

Returns: java.lang.String

setMailboxUri(String value)

public void setMailboxUri(String value)

Gets or sets the mailbox uri

Value: Uri of the mailbox

Parameters:

Parameter Type Description
value java.lang.String

getTimeout()

public int getTimeout()

Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Value: Timeout in milliseconds

Returns: int

setTimeout(int value)

public void setTimeout(int value)

Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).

Value: Timeout in milliseconds

Parameters:

Parameter Type Description
value int

resetLogSettings()

public final void resetLogSettings()

Resets logging settings to default.

getLogFileName()

public final String getLogFileName()

Gets or sets log file name

Returns: java.lang.String

setLogFileName(String value)

public final void setLogFileName(String value)

Gets or sets log file name

Parameters:

Parameter Type Description
value java.lang.String

getUseDateInLogFileName()

public final boolean getUseDateInLogFileName()

Gets or sets value which indicates if date has to be used in log file name.

Returns: boolean

setUseDateInLogFileName(boolean value)

public final void setUseDateInLogFileName(boolean value)

Gets or sets value which indicates if date has to be used in log file name.

Parameters:

Parameter Type Description
value boolean

dispose()

public void dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

close()

public void close()