Skip to Content.
Sympa Menu

en - Re: [sympa-users] How to compose a multipart/alternative mail

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Barry Flanagan <address@concealed>
  • To: Adam Bernstein <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] How to compose a multipart/alternative mail
  • Date: Wed, 26 Apr 2006 15:27:52 +0100

Adam Bernstein wrote:
>> That would be ideal. I think it would be a great addition to Sympa. I'd
>> be happy to take the patch in the meantime ;-)
>
> Okay, here it is -- like I said, a little ugly. Attached is a patch to
> wwsympa.fcgi to incorporate the HTML input, a patch to mail.pm because
> it needs to change the Content headers it's sending (my technique is for
> wwsympa to fully format the multipart message, and then mail.pm searches
> the data for the MIME part separator string that I've used and sets the
> headers accordingly), and a custom version of the compose_mail.tt2
> template that has the HTML input box and instructions added. Actually I
> also added a simple "send test message to me" function to my code, but
> I've removed that from this patch to keep it simple and because it's not
> that useful a test -- it does show the final MIME multipart formatting,
> but it doesn't do any of the header/footer or other Sympa processing.
>

Hi,

Unfortunately this does not work against the latest 5.2 release of
Sympa. The handling of posts appears to have changed quite a bit.

What version did you use for this?

-Barry



--

-Barry Flanagan



Archive powered by MHonArc 2.6.19+.

Top of Page