2 * Copyright 2012, Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
10 #include <Messenger.h>
14 B_MAIL_BODY_FETCHED
= '_Mbf'
21 virtual ~BMailDaemon();
25 status_t
CheckMail(int32 accountID
= -1);
26 status_t
CheckAndSendQueuedMail(int32 accountID
= -1);
28 status_t
SendQueuedMail();
30 int32
CountNewMessages(
31 bool waitForFetchCompletion
= false);
32 status_t
MarkAsRead(int32 account
, const entry_ref
& ref
,
33 read_flags flag
= B_READ
);
34 status_t
FetchBody(const entry_ref
& ref
,
35 BMessenger
* listener
= NULL
);
45 #endif // _MAIL_DAEMON_H