to top
AFEX APIs
public final class

EmailConfigImap

extends EmailConfig
implements Parcelable
java.lang.Object
   ↳ com.ardic.android.parcelables.EmailConfig
     ↳ com.ardic.android.parcelables.EmailConfigImap

Class Overview

Implementation of Parcelable Interface for IMAP e-mail account configuration

See also:

Summary

[Expand]
Inherited Constants
From class com.ardic.android.parcelables.EmailConfig
From interface android.os.Parcelable
Public Constructors
EmailConfigImap(String displayName, String username, String emailAddress, String pwd, String incomingServerAddress, int incomingPort, int incomingAuth, String senderName, String signature, int syncInterval, String outgoingServerAddress, int outgoingPort, int outgoingAuth, boolean requireLogin)
Constructor method
EmailConfigImap(long id, String displayName, String username, String emailAddress, String pwd, String incomingServerAddress, int incomingPort, int incomingAuth, String senderName, String signature, int syncInterval, String outgoingServerAddress, int outgoingPort, int outgoingAuth, boolean requireLogin)
Constructor method
Public Methods
int getOutgoingAuth()
Returns outgoing e-mail server Authentication type.
int getOutgoingPort()
Returns outgoing e-mail server port.
String getOutgoingServerAddress()
Returns outgoing e-mail server address.
boolean isRequireLogin()
Queries whether login required to send e-mail.
void setOutgoingAuth(int outgoingAuth)
Sets outgoing e-mail server authentication type.
void setOutgoingPort(int outgoingPort)
Sets outgoing e-mail server port.
void setOutgoingServerAddress(String outgoingServerAddress)
Sets outgoing e-mail server address.
void setRequireLogin(boolean requireLogin)
Sets whether login required to send e-mail.
[Expand]
Inherited Methods
From class com.ardic.android.parcelables.EmailConfig
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public EmailConfigImap (String displayName, String username, String emailAddress, String pwd, String incomingServerAddress, int incomingPort, int incomingAuth, String senderName, String signature, int syncInterval, String outgoingServerAddress, int outgoingPort, int outgoingAuth, boolean requireLogin)

Added in API level 2

Constructor method

Parameters
displayName String: Display name of the e-mail account on the device.
username String: Account user name.
emailAddress String: Email Address of the e-mail account.
pwd String: Password of the e-mail account
incomingServerAddress String: incoming e-mail server address.
incomingPort int: incoming e-mail server port.
incomingAuth int: incoming e-mail server authentication type. One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL
senderName String: Sender name shown in outgoing messages.
signature String: Sender signature shown in outgoing messages.
syncInterval int: Time to query server for newly arrived e-mail messages.
outgoingServerAddress String: outgoing e-mail server address.
outgoingPort int: outgoing e-mail server port.
outgoingAuth int: outgoing e-mail server authentication type. One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL
requireLogin boolean: is login required to send e-mail.

public EmailConfigImap (long id, String displayName, String username, String emailAddress, String pwd, String incomingServerAddress, int incomingPort, int incomingAuth, String senderName, String signature, int syncInterval, String outgoingServerAddress, int outgoingPort, int outgoingAuth, boolean requireLogin)

Added in API level 2

Constructor method

Parameters
id long: Account ID.
displayName String: Display name of the e-mail account on the device.
username String: Account user name.
emailAddress String: Email Address of the e-mail account.
pwd String: Password of the e-mail account
incomingServerAddress String: incoming e-mail server address.
incomingPort int: incoming e-mail server port.
incomingAuth int: incoming e-mail server authentication type. One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL
senderName String: Sender name shown in outgoing messages.
signature String: Sender signature shown in outgoing messages.
syncInterval int: Time to query server for newly arrived e-mail messages.
outgoingServerAddress String: outgoing e-mail server address.
outgoingPort int: outgoing e-mail server port.
outgoingAuth int: outgoing e-mail server authentication type. One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL
requireLogin boolean: is login required to send e-mail.

Public Methods

public int getOutgoingAuth ()

Added in API level 2

Returns outgoing e-mail server Authentication type.

One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL

Returns
int Outgoing e-mail server Authentication type.

public int getOutgoingPort ()

Added in API level 2

Returns outgoing e-mail server port.

Returns
int Outgoing e-mail server port.

public String getOutgoingServerAddress ()

Added in API level 2

Returns outgoing e-mail server address.

Returns
String Outgoing e-mail server address.

public boolean isRequireLogin ()

Added in API level 2

Queries whether login required to send e-mail.

Returns
boolean whether login required to send e-mail.

public void setOutgoingAuth (int outgoingAuth)

Added in API level 2

Sets outgoing e-mail server authentication type.

One of AUTH_NONE, AUTH_SSL_TLS, AUTH_SSL_TLS_ALL, AUTH_STARTTLS, AUTH_STARTTLS_ALL

Parameters
outgoingAuth int: Outgoing e-mail server authentication type.

public void setOutgoingPort (int outgoingPort)

Added in API level 2

Sets outgoing e-mail server port.

Parameters
outgoingPort int: Outgoing e-mail server port.

public void setOutgoingServerAddress (String outgoingServerAddress)

Added in API level 2

Sets outgoing e-mail server address.

Parameters
outgoingServerAddress String: Outgoing e-mail server address.

public void setRequireLogin (boolean requireLogin)

Added in API level 2

Sets whether login required to send e-mail.

Parameters
requireLogin boolean: Whether login required to send e-mail or not.