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:
parent
84eaee26b8
commit
7ab6cb9ac5
@ -39,6 +39,9 @@ typedef enum
|
|||||||
} b_mail_status_window_look;
|
} b_mail_status_window_look;
|
||||||
|
|
||||||
|
|
||||||
|
#define kDefaultSentDirectory "/boot/home/mail/sent"
|
||||||
|
|
||||||
|
|
||||||
class BMailSettings {
|
class BMailSettings {
|
||||||
public:
|
public:
|
||||||
BMailSettings();
|
BMailSettings();
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
#include <View.h>
|
#include <View.h>
|
||||||
#include <FilePanel.h>
|
#include <FilePanel.h>
|
||||||
|
|
||||||
|
|
||||||
class BTextControl;
|
class BTextControl;
|
||||||
class BButton;
|
class BButton;
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ SMTPConfigView::SMTPConfigView(MailAddonSettings& settings,
|
|||||||
SetTo(settings);
|
SetTo(settings);
|
||||||
|
|
||||||
fFileView = new BMailFileConfigView("Destination:", "destination",
|
fFileView = new BMailFileConfigView("Destination:", "destination",
|
||||||
false, "/boot/home/mail/out");
|
false, kDefaultSentDirectory);
|
||||||
fFileView->SetTo(&settings.Settings(), NULL);
|
fFileView->SetTo(&settings.Settings(), NULL);
|
||||||
AddChild(fFileView);
|
AddChild(fFileView);
|
||||||
float w, h;
|
float w, h;
|
||||||
|
@ -54,6 +54,7 @@ HaikuMailFormatFilter::HaikuMailFormatFilter(MailProtocol& protocol,
|
|||||||
fAccountId(settings->AccountID())
|
fAccountId(settings->AccountID())
|
||||||
{
|
{
|
||||||
const BMessage* outboundSettings = &settings->OutboundSettings().Settings();
|
const BMessage* outboundSettings = &settings->OutboundSettings().Settings();
|
||||||
|
fOutboundDirectory = kDefaultSentDirectory;
|
||||||
outboundSettings->FindString("destination", &fOutboundDirectory);
|
outboundSettings->FindString("destination", &fOutboundDirectory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user