Copy sent mails to /boot/home/mail/sent. Hope that makes more clear if a mail should be send (in out folder) or already has be sent.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40570 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-02-20 03:54:28 +00:00
parent 84eaee26b8
commit 7ab6cb9ac5
4 changed files with 6 additions and 1 deletions

View File

@ -39,6 +39,9 @@ typedef enum
} b_mail_status_window_look;
#define kDefaultSentDirectory "/boot/home/mail/sent"
class BMailSettings {
public:
BMailSettings();

View File

@ -9,6 +9,7 @@
#include <View.h>
#include <FilePanel.h>
class BTextControl;
class BButton;

View File

@ -71,7 +71,7 @@ SMTPConfigView::SMTPConfigView(MailAddonSettings& settings,
SetTo(settings);
fFileView = new BMailFileConfigView("Destination:", "destination",
false, "/boot/home/mail/out");
false, kDefaultSentDirectory);
fFileView->SetTo(&settings.Settings(), NULL);
AddChild(fFileView);
float w, h;

View File

@ -54,6 +54,7 @@ HaikuMailFormatFilter::HaikuMailFormatFilter(MailProtocol& protocol,
fAccountId(settings->AccountID())
{
const BMessage* outboundSettings = &settings->OutboundSettings().Settings();
fOutboundDirectory = kDefaultSentDirectory;
outboundSettings->FindString("destination", &fOutboundDirectory);
}