nsIMsgProtocolInfo

IID:53d0214a-689c-11d3-80f5-00a0c900d445
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?

nsIFileSpec defaultLocalPath

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

readonly PRBool needToBuildSpecialFolderURIs

Do we need to build special folder URIs ? In case of IMAP, special folders like 'Sent', 'Drafts' and 'Templates' are not created unless needed. But, we do need to create folder URIs to reflect the choices in the UI in copies and folders settings panel.

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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com