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 Exception
If 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 Exception
void closeCachedConnections();
None.
Missing Exception
for 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 );
filterList
Missing Exception
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.
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 );
filterList
Missing Exception
void displayOfflineMsg( in nsIMsgWindow aWindow );
aWindow
Missing Exception
boolean equals( in nsIMsgIncomingServer server );
server
Missing Description
Missing Exception
void forgetPassword();
None.
Missing Exception
void forgetSessionPassword();
None.
Missing Exception
AString generatePrettyNameForMigration();
None.
Missing Description
Missing Exception
boolean getBoolAttribute( in string name );
name
Missing Description
Missing Exception
boolean getBoolValue( in string attr );
attr
Missing Description
Missing Exception
ACString getCharAttribute( in string name );
name
Missing Description
Missing Exception
ACString getCharValue( in string attr );
attr
Missing Description
Missing Exception
nsILocalFile getFileValue( in string relpref, in string abspref );
relpref
abspref
Missing Description
Missing Exception
nsIMsgFilterList getFilterList( in nsIMsgWindow aMsgWindow );
aMsgWindow
Missing Description
Missing Exception
long getIntAttribute( in string name );
name
Missing Description
Missing Exception
long getIntValue( in string attr );
attr
Missing Description
Missing Exception
nsIMsgFolder getMsgFolderFromURI( in nsIMsgFolder aFolderResource, in ACString aURI );
aFolderResource
aURI
Missing Description
Missing Exception
void getNewMessages( in nsIMsgFolder aFolder, in nsIMsgWindow aMsgWindow, in nsIUrlListener aUrlListener );
aFolder
aMsgWindow
aUrlListener
Missing Exception
ACString getPasswordWithUI( in AString aPromptString, in AString aPromptTitle, in nsIMsgWindow aMsgWindow, out boolean okayValue );
aPromptString
aPromptTitle
aMsgWindow
okayValue
Missing Description
Missing Exception
these generic getter / setters, useful for extending mailnews note, these attributes persist across sessions.
AString getUnicharAttribute( in string name );
name
Missing Description
Missing Exception
AString getUnicharValue( in string attr );
attr
Missing Description
Missing Exception
boolean isNewHdrDuplicate( in nsIMsgDBHdr aNewHdr );
aNewHdr
Missing Description
Missing Exception
void onUserOrHostNameChanged( in ACString oldName, in ACString newName );
oldName
newName
Missing Exception
void performBiff( in nsIMsgWindow aMsgWindow );
aMsgWindow
Missing Exception
void performExpand( in nsIMsgWindow aMsgWindow );
aMsgWindow
Missing Exception
this is also very dangerous. this will remove the files associated with this server on disk.
void removeFiles();
None.
Missing Exception
void setBoolAttribute( in string name, in boolean value );
name
value
Missing Exception
void setBoolValue( in string attr, in boolean value );
attr
value
Missing Exception
void setCharAttribute( in string name, in ACString value );
name
value
Missing Exception
void setCharValue( in string attr, in ACString value );
attr
value
Missing Exception
void setDefaultLocalPath( in nsILocalFile aDefaultLocalPath );
aDefaultLocalPath
Missing Exception
void setFileValue( in string relpref, in string abspref, in nsILocalFile aValue );
relpref
abspref
aValue
Missing Exception
void setFilterList( in nsIMsgFilterList aFilterList );
aFilterList
Missing Exception
void setIntAttribute( in string name, in long value );
name
value
Missing Exception
void setIntValue( in string attr, in long value );
attr
value
Missing Exception
void setUnicharAttribute( in string name, in AString value );
name
value
Missing Exception
void setUnicharValue( in string attr, in AString value );
attr
value
Missing Exception
void shutdown();
None.
Missing Exception
logon succeeded - persist password
, if user chooses.
void storePassword();
None.
Missing Exception
AString toString();
None.
Missing Description
Missing Exception
void writeToFolderCache( in nsIMsgFolderCache folderCache );
folderCache
Missing Exception