From 75c3618ae50422d29259dc57d263a8bcbb7fc28b Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 4 Nov 2003 05:41:52 +0000 Subject: use MYHOSTNAME git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1294 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/outmail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/outmail.c') diff --git a/util/outmail.c b/util/outmail.c index 861bae49..508d857b 100644 --- a/util/outmail.c +++ b/util/outmail.c @@ -82,7 +82,7 @@ void doSendBody(int sock, FILE *fp, char *from, char *to, char *subject) { "Mime-Version: 1.0\r\n" "Content-Type: text/plain; charset=\"big5\"\r\n" "Content-Transfer-Encoding: 8bit\r\n" - "Message-Id: <%d.%x.outmail@ptt2.cc>\r\n" + "Message-Id: <%d.%x.outmail@" MYHOSTNAME ">\r\n" "X-Disclaimer: [" BBSNAME "]對本信內容恕不負責\r\n\r\n", from, from, to, subject, starttime, (msgid += (int)(random() >> 24))); -- cgit v1.2.3