0b90f99bc3
* The default notifier didn't always take the setting into account. * The mail server was not using the setting from the settings file and instead waiting for a message that wasn't sent anywhere. Fixes #10852.
44 lines
954 B
C++
44 lines
954 B
C++
/*
|
|
* Copyright 2011-2012, Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef MAIL_PRIVATE_H
|
|
#define MAIL_PRIVATE_H
|
|
|
|
|
|
#include <Message.h>
|
|
#include <Path.h>
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
#define B_MAIL_DAEMON_SIGNATURE "application/x-vnd.Be-POST"
|
|
|
|
|
|
// mail daemon & protocol message constants
|
|
const uint32 kMsgCheckAndSend = 'mbth';
|
|
const uint32 kMsgCheckMessage = 'mnow';
|
|
const uint32 kMsgSendMessages = 'msnd';
|
|
const uint32 kMsgSettingsUpdated = 'mrrs';
|
|
const uint32 kMsgAccountsChanged = 'macc';
|
|
const uint32 kMsgCountNewMessages = 'mnum';
|
|
const uint32 kMsgMarkMessageAsRead = 'mmar';
|
|
const uint32 kMsgFetchBody = 'mfeb';
|
|
const uint32 kMsgSyncMessages = '&SyM';
|
|
|
|
|
|
BPath default_mail_directory();
|
|
BPath default_mail_in_directory();
|
|
BPath default_mail_out_directory();
|
|
|
|
|
|
status_t WriteMessageFile(const BMessage& archive, const BPath& path,
|
|
const char* name);
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // MAIL_PRIVATE_H
|