Re: Proposal for richer list text
Date: Wed, 27 Jan 2010 11:42:43 +0100
Hej,
On Tue, January 26, 2010 14:06, Ben Schmidt wrote:
>
> Hi,
>
> I'm wondering if this sounds acceptable. I'll go ahead and have a shot
> implementing it, if so.
>
[...]
> The second part would involve moving the code for including original mail out
> of
> substitute_one() and into prepstdreply(). It would require the $originalmail$
> substitution to appear alone on a line, or merely with preceding whitespace,
> to be
> recognised: this shouldn't be a problem as it is senseless to do anything
> else!
> The move of the code to prepstdreply() is so that instead of buffering the
> content
> of the mail in a string, it can be copied directly from the mailfile into the
> queuefile, which will be important for large mails. To specify how much of the
> mail to include, I suggest using $originalmailNNNNN$ where NNNNN is a number.
> The
> default, if the number were omitted, would be 100, so current behaviour would
> be
> unchanged, and to include the whole mail, a ridiculously large number could be
> given (1000000000 or something). Any whitespace preceding $originalmail$ would
> be
> prepended to each line of the mail also. The current single-space indent could
> be
> achieved with a single space, then, but that could be avoided, too.
That would be really great! I had a moderated newsletter service running for
some time and needed to change the code for a) appending the whole eMail and
b) removing that (in my opinion useless) space indent.
So I vote for that.
>
> The third part would require searching for Subject: lines in mails that arrive
> to
> mlmmj-process and then allowing $subject$ to be replaced by it in the
> listtext, as
> well as substitutions $randomN$ which would generate random strings like the
> cookies generate, and which could be reused by including the same number N.
>
> The result of all this is that you could construct MIME mails for your
> listtexts,
> including properly randomised boundaries, and attach the original mail message
> to
> them in entirety rather than have a text dump of its initial lines. This could
> pave the way to more nice-looking listtexts (even HTML for those so inclined)
> and
> easier moderation with more meaningful subject lines including the subjects of
> the
> messages being moderated.
The randomN has my vote too, since this would editing a moderated message
much more comfortable (as MIME mail).
Regards
Christoph
Received on Wed Jan 27 2010 - 12:42:43 EET