Skip to Content.
Sympa Menu

en - RE: [sympa-users] RE: message footers

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Adam Bernstein" <address@concealed>
  • To: <address@concealed>
  • Subject: RE: [sympa-users] RE: message footers
  • Date: Mon, 16 Dec 2002 22:29:13 -0500

Okay, I went ahead and did it. Tested only with Outlook so far, but since
this is what Outlook itself does with attachments, it should work for just
about everybody. I add one line to call make_multipart with force=>1, and
then
remove the else{} condition after the multipart/alternative check. This
diff
is against the 3.4.2 version:

*** List.pm Fri Oct 25 02:57:26 2002
--- List-new.pm Mon Dec 16 19:23:04 2002
***************
*** 2215,2224 ****

}else {
if ($content_type =~ /^multipart\/alternative/i) {
!
! &do_log('notice', 'Cannot add header/footer to message in
multipart/a
lternative format');
! }else {
!
if ($header) {
if ($header =~ /\.mime$/) {

--- 2215,2223 ----

}else {
if ($content_type =~ /^multipart\/alternative/i) {
! &do_log('notice', 'Making multipart/alternative into
multipart/mixe
d');
! $msg->make_multipart("mixed",Force=>1);
! }
if ($header) {
if ($header =~ /\.mime$/) {

***************
*** 2256,2262 ****
);
}
}
- }
}

return $msg;
--- 2255,2260 ----




Archive powered by MHonArc 2.6.19+.

Top of Page