2 * Copyright 2011-2012, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
16 #define B_MAIL_DAEMON_SIGNATURE "application/x-vnd.Be-POST"
19 // mail daemon & protocol message constants
20 const uint32 kMsgCheckAndSend
= 'mbth';
21 const uint32 kMsgCheckMessage
= 'mnow';
22 const uint32 kMsgSendMessages
= 'msnd';
23 const uint32 kMsgSettingsUpdated
= 'mrrs';
24 const uint32 kMsgAccountsChanged
= 'macc';
25 const uint32 kMsgCountNewMessages
= 'mnum';
26 const uint32 kMsgMarkMessageAsRead
= 'mmar';
27 const uint32 kMsgFetchBody
= 'mfeb';
28 const uint32 kMsgSyncMessages
= '&SyM';
31 BPath
default_mail_directory();
32 BPath
default_mail_in_directory();
33 BPath
default_mail_out_directory();
36 status_t
WriteMessageFile(const BMessage
& archive
, const BPath
& path
,
40 } // namespace BPrivate
43 #endif // MAIL_PRIVATE_H