Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa 6.1.20

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Hatuka*nezumi - IKEDA Soji <address@concealed>
  • To: Steve Shipway <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] Sympa 6.1.20
  • Date: Sun, 30 Mar 2014 18:06:47 +0900

Hi Steve and all,

On Fri, 21 Mar 2014 23:32:53 +0000
Steve Shipway <address@concealed> wrote:

> In the changes list for 6.1.20 :
>
> * Mail merge: Parameters taken from mail headers may be overwritten by ones
> of each subpart. Initialize $data→{'headers'} only once at calling
> Bulk::merge_msg(),
>
> I think this is not a good way to go. The specific case I'm thinking of is
> the 'Content-Type' headers, which should change on each sub-part -- I would
> want the stash to hold the current section (eg, text/plain) rather than the
> main headers (eg multipart/mixed) so that different actions could be taken
> in mailmerge if it is merging plain text or HTML. I have some complex TT2
> code that inserts IMG tags, but in a multipart/mixed situation it should
> only do this in the HTML part, not in the plain part, and so the
> content-type header is checked.
>
> The subparts would only hold MIME-related headers in any case.

I could't consider of your use case.

I thought that author of the message can include anything they like
anyway.

> One possible solution would be for {'headers'} to hold the main mail
> headers, and {'mime-headers'} to hold the MIME-related headers for this
> sub-part, reevaluated each time?
>
> Thoughts?

That looks better. We might as well set {'headers'} for entire
message and {'part'}->{'headers'} by each part.


Regards,

--- Soji

> Steve
>
>
> Steve Shipway
> University of Auckland ITS
> UNIX Systems Design Lead
> address@concealed<mailto:address@concealed>
> Ph: +64 9 373 7599 ext 86487
>


--
--- nezumi



Archive powered by MHonArc 2.6.19+.

Top of Page