Add message date (not print date) token for headers and footers
Windows Version: 10 22H2 PrintingTools Version: 3.1.0 Client: Thunderbird 128.5.2esr (32-Bit)
Hello
Is it possible to put the date of receipt into the footer? At the moment, you can only insert today's date with &D.
I hope someone can help me or make it possible in the future.
Thanks a lot
@radix82 Currently PrintingTools allows setting both the header and footer with text and the predefined items such as &D for the print date. I think I can add a custom one &R for the receive date following the custum date format and substitute that up front. I have beta in progress that I can try this. @cleidigh
Thank you very much So I'll wait and see...
@radix82 @kiki-ja I know how I can do this for v3.1.1. When I do I am wondering what other replacement tokens I might include? @kiki-ja anything you would like to see?
@cleidigh
@cleidigh
anything you would like to see?
So far there is nothing I would like to see. I don't see the need to display the receive date in the footer since it is already available in the message header display settings.
However, if there is a clear purpose for displaying the received date in the footer, I think it is worth considering.
@kiki-ja
a pity
@radix82 Neither @kiki-ja nor I are saying this can't happen. I think @kiki-ja was just pointing out it's existence in the header The title appears in all pages by default. I could see a potential use case in the legal world where the print date is irrelevant, but the message date is.
Anyway I can't look more into this yet as I have a critical release for importexporttools. @cleidigh
@radix82 I should have beta 3 with this shortly. As always, there was more to it than I originally thought. I do expect some help testing the beta... @cleidigh
Hello, I would like to help with testing 😇
@radix82 @kiki-ja
Ok I have support for this in b3, grab here:
- #276
Use &MD in any hdr or ftr to add the message date as opposed to &D, the print date. Note the format will follow the date format set for the message header.
I have tested most views including opening an eml. @cleidigh
@cleidigh
PrintingTools NG 3.1.1-b3 Thunderbird 128.5.2esr 64bit Windows 10 Pro 22H2 64bit
Here are the results of my tests. It worked for all headers and footers.
@kiki-ja
Good day. I can confirm the function. It works pretty good. Thank you for the implementation. <3 <3 <3
@kiki-ja @radix82 Thanks for testing. I think we are good to go with this after cleanup. @radix82 Reviews are always appreciated ;-} @cleidigh
I am wondering what other replacement tokens I might include?
Hi @cleidigh :) For your consideration and for your decision as maintainer of PrintingTools NG, in addition to message date, I suggest adding an optional token for the Message-ID.
For those not familiar with the Message-ID, it is a globally unique identifier per email. For example:
Message-ID: [email protected] Which is very useful to quickly and easily find either an email or find an email printed to a PDF file.
Details in these related tickets:
- https://github.com/cleidigh/printing-tools-ng/issues/283
- https://github.com/cleidigh/printing-tools-ng/issues/285