nsISupports
Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)void clearAllValues(); |
void clearTemporaryReturnReceiptsFilter(); |
void closeCachedConnections(); |
void configureTemporaryFilters(in nsIMsgFilterList filterList); |
void configureTemporaryReturnReceiptsFilter(in nsIMsgFilterList filterList); Obsolete since Gecko 1.8 |
void displayOfflineMsg(in nsIMsgWindow aWindow); |
boolean equals(in nsIMsgIncomingServer server); |
void forgetPassword(); |
void forgetSessionPassword(); |
AString generatePrettyNameForMigration(); |
boolean getBoolAttribute(in string name); |
boolean getBoolValue(in string attr); |
ACString getCharAttribute(in string name); |
ACString getCharValue(in string attr); |
nsILocalFile getFileValue(in string relpref, in string abspref); |
nsIMsgFilterList getFilterList(in nsIMsgWindow aMsgWindow); |
long getIntAttribute(in string name); |
long getIntValue(in string attr); |
nsIMsgFolder getMsgFolderFromURI(in nsIMsgFolder aFolderResource, in ACString aURI); |
void getNewMessages(in nsIMsgFolder aFolder, in nsIMsgWindow aMsgWindow, in nsIUrlListener aUrlListener); |
ACString getPasswordWithUI(in AString aPromptString, in AString aPromptTitle, in nsIMsgWindow aMsgWindow, out boolean okayValue); |
AString getUnicharAttribute(in string name); |
AString getUnicharValue(in string attr); |
boolean isNewHdrDuplicate(in nsIMsgDBHdr aNewHdr); |
void onUserOrHostNameChanged(in ACString oldName, in ACString newName); |
void performBiff(in nsIMsgWindow aMsgWindow); |
void performExpand(in nsIMsgWindow aMsgWindow); |
void removeFiles(); |
void setBoolAttribute(in string name, in boolean value); |
void setBoolValue(in string attr, in boolean value); |
void setCharAttribute(in string name, in ACString value); |
void setCharValue(in string attr, in ACString value); |
void setDefaultLocalPath(in nsILocalFile aDefaultLocalPath); |
void setFileValue(in string relpref, in string abspref, in nsILocalFile aValue); |
void setFilterList(in nsIMsgFilterList aFilterList); |
void setIntAttribute(in string name, in long value); |
void setIntValue(in string attr, in long value); |
void setUnicharAttribute(in string name, in AString value); |
void setUnicharValue(in string attr, in AString value); |
void shutdown(); |
void storePassword(); |
AString toString(); |
void writeToFolderCache(in nsIMsgFolderCache folderCache); |
| Attribute | Type | Description |
accountManagerChrome | AString | Read only. |
biffMinutes | long | |
biffState | unsigned long | |
canBeDefaultServer | boolean | Read only. |
canCompactFoldersOnServer | boolean | Read only. |
canCreateFoldersOnServer | boolean | |
canDelete | boolean | can this server be removed from the account manager? for instance, local mail is not removable, but an imported folder is. |
canEmptyTrashOnExit | boolean | Read only. |
canFileMessagesOnServer | boolean | |
canHaveFilters | boolean | Read only. |
canSearchMessages | boolean | Read only. |
canUndoDeleteOnServer | boolean | Read only. |
constructedPrettyName | AString | helper function to construct the pretty name in a server type specific way - for example, mail for foo@test.com, news on news.mozilla.org. Read only. |
defaultCopiesAndFoldersPrefsToServer | boolean | If the server supports Fcc/Sent/etc, default prefs can point to the server. Otherwise, copies and folders prefs should point to Local Folders. By default this value is set totrue via global pref 'allows_specialfolders_usage' (mailnews.js). For Nntp, the value is overridden to be false. If ISPs want to modify this value, they should do that in their rdf file by using this attribute. Please look at mozilla/mailnews/base/ispdata/aol.rdf for usage example. |
displayStartupPage | boolean | |
doBiff | boolean | |
downloadMessagesAtStartup | boolean | Read only. |
downloadOnBiff | boolean | |
downloadSettings | | |
emptyTrashOnExit | boolean | |
filterScope | nsMsgSearchScopeValue | Read only. |
hostName | ACString | hostname of the server. |
incomingDuplicateAction | long | |
isDeferredTo | boolean | Read only. |
isSecure | boolean | |
isSecureServer | boolean | Read only. |
key | ACString | internal pref key - guaranteed to be unique across all servers. |
limitOfflineMessageSize | boolean | |
localPath | | |
localStoreType | ACString | the schema for the local mail store, such as "mailbox", "imap", or "news" used to construct URIs. Read only. |
loginAtStartUp | boolean | |
logonFallback | boolean | |
maxMessageSize | long | |
offlineSupportLevel | long | |
password | ACString | |
passwordPromptRequired | boolean | If the password for the server is available either via authentication in the current session or from password manager stored entries, return false. Otherwise, return true. If password is obtained from password manager, set the password member variable. Read only. |
performingBiff | boolean | |
port | long | |
prettyName | AString | pretty name - should be "userid on hostname" if the pref is not set. |
realHostName | ACString | real hostname of the server (if server name is changed it is stored here) |
realUsername | ACString | real username of the server (if username is changed it is stored here) |
redirectorType | string | Obsolete since Gecko 1.9 |
rememberPassword | boolean | |
retentionSettings | | |
rootFolder | | |
rootMsgFolder | | Read only. |
searchScope | nsMsgSearchScopeValue | Read only. |
serverBusy | boolean | |
serverRequiresPasswordForBiff | boolean | Read only. |
serverURI | ACString | Read only. |
socketType | long | |
spamFilterPlugin | | Read only. |
spamSettings | | spam settings. Read only. |
supportsDiskSpace | boolean | Read only. |
type | ACString | protocol type, that is "pop3", "imap", "nntp", "none", and so on. used to construct URLs. |
username | ACString | userid to log into the server. |
useSecAuth | boolean | |
valid | boolean |
| Constant | Value | Description |
defaultSocket | 0 | |
tryTLS | 1 | |
alwaysUseTLS | 2 | |
useSSL | 3 | |
keepDups | 0 | |
deleteDups | 1 | |
moveDupsToTrash | 2 | |
markDupsRead | 3 |
this is really dangerous. this destroys all pref values do not call this unless you know what you're doing!
void clearAllValues();
None.
Missing ExceptionIf Sent folder pref is changed we need to clear the temporary return receipt filter so that the new return receipt filter can be recreated (by ConfigureTemporaryReturnReceiptsFilter()).
void clearTemporaryReturnReceiptsFilter();
None.
Missing Exceptionvoid closeCachedConnections();
None.
Missing Exceptionfor mail, this configures both the MDN filter, and the server-side spam filter filters, if needed.
If we have set up to filter return receipts into our Sent folder, this utility method creates a filter to do that, and adds it to our filterList if it doesn't exist. If it does, it will enable it.
this is not used by news filters (yet).
void configureTemporaryFilters( in nsIMsgFilterList filterList );
filterListMissing ExceptionIf we have set up to filter return receipts into our Sent folder, this utility method creates a filter to do that, and adds it to our filterList if it doesn't exist. If it does, it will enable it.
If the user changes their prefs, to leave the return receipt in the inbox, this will disable the existing return receipts filter, if it exists.
void configureTemporaryReturnReceiptsFilter( in nsIMsgFilterList filterList );
filterListMissing Exceptionvoid displayOfflineMsg( in nsIMsgWindow aWindow );
aWindowMissing Exceptionboolean equals( in nsIMsgIncomingServer server );
serverMissing Description
Missing Exceptionvoid forgetPassword();
None.
Missing Exceptionvoid forgetSessionPassword();
None.
Missing ExceptionAString generatePrettyNameForMigration();
None.
Missing Description
Missing Exceptionboolean getBoolAttribute( in string name );
nameMissing Description
Missing Exceptionboolean getBoolValue( in string attr );
attrMissing Description
Missing ExceptionACString getCharAttribute( in string name );
nameMissing Description
Missing ExceptionACString getCharValue( in string attr );
attrMissing Description
Missing ExceptionnsILocalFile getFileValue( in string relpref, in string abspref );
relprefabsprefMissing Description
Missing ExceptionnsIMsgFilterList getFilterList( in nsIMsgWindow aMsgWindow );
aMsgWindowMissing Description
Missing Exceptionlong getIntAttribute( in string name );
nameMissing Description
Missing Exceptionlong getIntValue( in string attr );
attrMissing Description
Missing ExceptionnsIMsgFolder getMsgFolderFromURI( in nsIMsgFolder aFolderResource, in ACString aURI );
aFolderResourceaURIMissing Description
Missing Exceptionvoid getNewMessages( in nsIMsgFolder aFolder, in nsIMsgWindow aMsgWindow, in nsIUrlListener aUrlListener );
aFolderaMsgWindowaUrlListenerMissing ExceptionACString getPasswordWithUI( in AString aPromptString, in AString aPromptTitle, in nsIMsgWindow aMsgWindow, out boolean okayValue );
aPromptStringaPromptTitleaMsgWindowokayValueMissing Description
Missing Exceptionthese generic getter / setters, useful for extending mailnews note, these attributes persist across sessions.
AString getUnicharAttribute( in string name );
nameMissing Description
Missing ExceptionAString getUnicharValue( in string attr );
attrMissing Description
Missing Exceptionboolean isNewHdrDuplicate( in nsIMsgDBHdr aNewHdr );
aNewHdrMissing Description
Missing Exceptionvoid onUserOrHostNameChanged( in ACString oldName, in ACString newName );
oldNamenewNameMissing Exceptionvoid performBiff( in nsIMsgWindow aMsgWindow );
aMsgWindowMissing Exceptionvoid performExpand( in nsIMsgWindow aMsgWindow );
aMsgWindowMissing Exceptionthis is also very dangerous. this will remove the files associated with this server on disk.
void removeFiles();
None.
Missing Exceptionvoid setBoolAttribute( in string name, in boolean value );
namevalueMissing Exceptionvoid setBoolValue( in string attr, in boolean value );
attrvalueMissing Exceptionvoid setCharAttribute( in string name, in ACString value );
namevalueMissing Exceptionvoid setCharValue( in string attr, in ACString value );
attrvalueMissing Exceptionvoid setDefaultLocalPath( in nsILocalFile aDefaultLocalPath );
aDefaultLocalPathMissing Exceptionvoid setFileValue( in string relpref, in string abspref, in nsILocalFile aValue );
relprefabsprefaValueMissing Exceptionvoid setFilterList( in nsIMsgFilterList aFilterList );
aFilterListMissing Exceptionvoid setIntAttribute( in string name, in long value );
namevalueMissing Exceptionvoid setIntValue( in string attr, in long value );
attrvalueMissing Exceptionvoid setUnicharAttribute( in string name, in AString value );
namevalueMissing Exceptionvoid setUnicharValue( in string attr, in AString value );
attrvalueMissing Exceptionvoid shutdown();
None.
Missing Exceptionlogon succeeded - persist password, if user chooses.
void storePassword();
None.
Missing ExceptionAString toString();
None.
Missing Description
Missing Exceptionvoid writeToFolderCache( in nsIMsgFolderCache folderCache );
folderCacheMissing Exception