summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 60d2b34f..33fb6bf2 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -18,6 +18,7 @@ enum SHOWMAIL_MODES {
};
static int showmail_mode = SHOWMAIL_NORM;
+// #ifdef USE_MAIL_AUTO_FORWARD
int
setforward(void)
{
@@ -61,6 +62,7 @@ setforward(void)
vmsg("取消自動轉信!");
return 0;
}
+// #endif // USE_MAIL_AUTO_FORWARD
int
toggle_showmail_mode(void)
@@ -401,6 +403,9 @@ do_send(const char *userid, const char *title)
if (internet_mail) {
int res, ch;
+ sethomepath(fpath, cuser.userid);
+ stampfile(fpath, &mhdr);
+
if (vedit(fpath, NA, NULL) == -1) {
unlink(fpath);
clear();