[ mailman-Feature Requests-928714 ] "sender" variable substitutions in header/footer

SourceForge.net noreply at sourceforge.net
Sun Apr 4 18:21:27 EDT 2004


Feature Requests item #928714, was opened at 2004-04-02 19:58
Message generated for change (Comment added) made by jnewborn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350103&aid=928714&group_id=103

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason (jnewborn)
Assigned to: Nobody/Anonymous (nobody)
Summary: "sender" variable substitutions in header/footer

Initial Comment:
I want two new "sender" variable substitutions in for
the header/footer.  One should be the Sender's name and
the other should be the sender's email address.  For
example:

%(sender_name)s
%(sender_email)s

Adding this functonality will allow the headers/footers
to contain links that point to the sender's
information, bio, or public key (based on their
name/email address).

This is different than personalization because the
sender's address is the same for all emails.



----------------------------------------------------------------------

>Comment By: Jason (jnewborn)
Date: 2004-04-04 15:21

Message:
Logged In: YES 
user_id=1012659

After a very brief glance at the code, this may be as simple
as adding to the SafeDict definition in the decorate
function of Mailman/Handlers/Decorate.py, although I'm not
sure if or where the variables/arrays that I want are
populated.  Perhaps "msg.get_sender()" would work.

Just trying to give someone a head start if they decide to
take this on.




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=350103&aid=928714&group_id=103



More information about the Mailman-coders mailing list