- Also fix references to the spa, server in Mail.

- Now marking emails as spam through the Mail app also works.

Still need to fix the Match Header filter as it seems not to be working.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque
2008-08-16 12:48:27 +00:00
parent 63c96ae5a5
commit dd76369ea7
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ int32 gDictCount = 0;
// int32 level = L_BEGINNER;
const char* kSpamServerSignature = "application/x-vnd.agmsmith.spamdbm";
const char* kSpamServerSignature =
"application/x-vnd.agmsmith.AGMSBayesianSpamServer";
const char* kDraftPath = "mail/draft";
const char* kDraftType = "text/x-vnd.Be-MailDraft";
const char* kMailFolder = "mail";
+1 -1
View File
@@ -2593,7 +2593,7 @@ TMailWindow::TrainMessageAs(const char *CommandWord)
directory_which places[] = {B_COMMON_BIN_DIRECTORY,B_BEOS_BIN_DIRECTORY};
for (int32 i = 0; i < 2; i++) {
find_directory(places[i],&path);
path.Append("spamdbm");
path.Append("AGMSBayesianSpamServer");
if (!BEntry(path.Path()).Exists())
continue;
get_ref_for_path(path.Path(),&ref);