WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIMsgProtocolInfo

IID:035fd631-e751-46af-9bbd-a660b930c288
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly PRBool canDelete

Can this type of server be removed from the account manager? for instance, local mail is not removable

readonly PRBool canDuplicate

Can you duplicate this server? for instance, local mail is unique and should not be duplicated.

readonly PRBool canGetIncomingMessages

Do messages arrive for this server if they do, we can use our junk controls on it.

readonly PRBool canGetMessages

An attribute that tell us whether on not we can get messages for the given server type this is poorly named right now. it's really is there an inbox for this type? XXX todo, rename this.

readonly PRBool canLoginAtStartUp

Can this type of server log in at startup?

readonly PRBool defaultDoBiff

Do biff by default?

nsILocalFile defaultLocalPath

The default path to store local data for this type of server. Each server is usually in a subdirectory below this

readonly PRBool preflightPrettyNameWithEmailAddress

If the pretty name of the server should just be the e-mail address. Otherwise it usually ends up being something like "news on hostname"

readonly PRBool requiresUsername

Does this server type require a username? for instance, news does not but IMAP/POP do

readonly nsIIDPtr serverIID

The IID of the protocol-specific interface for this server usually used from JS to dynamically get server-specific attributes

readonly PRBool showComposeMsgLink

Do we need to show compose message link in the AccountCentral page ?

readonly PRBool specialFoldersDeletionAllowed

Do we allow special folder deletion ?


Methods

PRInt32 getDefaultServerPort ( PRBool isSecure )

PRInt32 getDefaultServerPort ( PRBool isSecure )

Arguments:
isSecure

Reference documentation is generated from Mozilla's source.