diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-16 18:53:40 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-16 18:53:40 +0800 |
commit | e20bd69d66148c34fee47e1f1f372963a871c047 (patch) | |
tree | 96f18d561f95892630b60c4f9ab0f7135c312d61 /mbbsd/bbs.c | |
parent | e9c609d85c53f5a03a08942d65432bb7880b28ed (diff) | |
download | pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar.gz pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar.bz2 pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar.lz pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar.xz pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.tar.zst pttbbs-e20bd69d66148c34fee47e1f1f372963a871c047.zip |
- change sender address of auto forward to forwarder, to prevent confusion caused by incorrect forward settings.
- (internal) change bsmtp to allow assigning from address
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4173 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index ec4a3aa1..dcd485f4 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1237,13 +1237,7 @@ do_general(int isbid) else sendalert(quote_user, ALERT_NEW_MAIL); } else if ((str = strchr(quote_user, '.'))) { - if ( -#ifndef USE_BSMTP - bbs_sendmail(fpath, save_title, str + 1) -#else - bsmtp(fpath, save_title, str + 1) -#endif - < 0) + if ( bsmtp(fpath, save_title, str + 1, NULL) < 0) msg = "作者無法收信"; } else { // unknown user id @@ -4117,6 +4111,7 @@ Select(void) void mobile_message(const char *mobile, char *message) { - bsmtp(fpath, title, rcpt); + // this is for validation. + bsmtp(fpath, title, rcpt, "non-exist"); } #endif |