- else StrBufAppendBufPlain(BounceMB, HKEY(
-"A message you sent could not be delivered to some or all of its recipients.\n"
-"The following addresses were undeliverable:\n\n"
- ), 0);
+ StrBufAppendBufPlain(BounceMB, HKEY("--"), 0);
+ StrBufAppendBuf(BounceMB, boundary, 0);
+ StrBufAppendBufPlain(BounceMB, HKEY("\r\n"), 0);
+ StrBufAppendBufPlain(BounceMB,
+ HKEY("Content-type: text/plain\r\n\r\n"), 0);
+
+ if (give_up)
+ {
+ StrBufAppendBufPlain(
+ BounceMB,
+ HKEY("A message you sent could not be delivered "
+ "to some or all of its recipients\ndue to "
+ "prolonged unavailability of its destination(s).\n"
+ "Giving up on the following addresses:\n\n"), 0);
+ }
+ else
+ {
+ StrBufAppendBufPlain(
+ BounceMB,
+ HKEY("A message you sent could not be delivered "
+ "to some or all of its recipients.\n"
+ "The following addresses were undeliverable:\n\n"
+ ), 0);
+ }