summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 5391d394..17072e5c 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1678,7 +1678,9 @@ send_inner_mail(const char *fpath, const char *title, const char *receiver)
unlink(fname);
Copy(fpath, fname);
sethomedir(fname, rightid);
- return append_record_forward(fname, &mymail, sizeof(mymail), rightid);
+ append_record_forward(fname, &mymail, sizeof(mymail), rightid);
+ sendalert(receiver, ALERT_NEW_MAIL);
+ return 0;
}
#include <netdb.h>