Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIMsgProtocolInfo Interface Reference

import "nsIMsgProtocolInfo.idl";

Inheritance diagram for nsIMsgProtocolInfo:
Inheritance graph
[legend]
Collaboration diagram for nsIMsgProtocolInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

long getDefaultServerPort (in boolean isSecure)

Public Attributes

attribute nsIFileSpec defaultLocalPath
 the default path to store local data for this type of server.
readonly attribute nsIIDPtr serverIID
 the IID of the protocol-specific interface for this server usually used from JS to dynamically get server-specific attributes
readonly attribute boolean requiresUsername
 does this server type require a username? for instance, news does not but IMAP/POP do
readonly attribute boolean preflightPrettyNameWithEmailAddress
 if the pretty name of the server should just be the e-mail address.
readonly attribute boolean canDelete
 can this type of server be removed from the account manager? for instance, local mail is not removable
readonly attribute boolean canLoginAtStartUp
 can this type of server log in at startup?
readonly attribute boolean canDuplicate
 can you duplicate this server? for instance, local mail is unique and should not be duplicated.
readonly attribute boolean canGetMessages
 An attribute that tell us whether on not we can get messages for the given server type this is poorly named right now.
readonly attribute boolean canGetIncomingMessages
 do messages arrive for this server if they do, we can use our junk controls on it.
readonly attribute boolean defaultDoBiff
 do biff by default?
readonly attribute boolean showComposeMsgLink
 do we need to show compose message link in the AccountCentral page ?
readonly attribute boolean 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.
readonly attribute boolean specialFoldersDeletionAllowed
 do we allow special folder deletion ?

Detailed Description

Definition at line 49 of file nsIMsgProtocolInfo.idl.


Member Function Documentation


Member Data Documentation

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

Definition at line 80 of file nsIMsgProtocolInfo.idl.

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

Definition at line 91 of file nsIMsgProtocolInfo.idl.

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

Definition at line 114 of file nsIMsgProtocolInfo.idl.

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.

Definition at line 108 of file nsIMsgProtocolInfo.idl.

can this type of server log in at startup?

Definition at line 85 of file nsIMsgProtocolInfo.idl.

do biff by default?

Definition at line 119 of file nsIMsgProtocolInfo.idl.

the default path to store local data for this type of server.

Each server is usually in a subdirectory below this

Definition at line 55 of file nsIMsgProtocolInfo.idl.

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.

Definition at line 132 of file nsIMsgProtocolInfo.idl.

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"

Definition at line 74 of file nsIMsgProtocolInfo.idl.

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

Definition at line 67 of file nsIMsgProtocolInfo.idl.

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

Definition at line 61 of file nsIMsgProtocolInfo.idl.

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

Definition at line 124 of file nsIMsgProtocolInfo.idl.

do we allow special folder deletion ?

Definition at line 137 of file nsIMsgProtocolInfo.idl.


The documentation for this interface was generated from the following file: