jschroth / ReplyWithHeaders

Reply in Mail.app quoting headers of email
MIT License
7 stars 0 forks source link

Order of reply/forwarding headers (Request/Change) #3

Closed ghost closed 11 years ago

ghost commented 12 years ago

Hi jschroth

Is it possible to rearrange the headers like Outlook would do? (oops, did I really mentioned Outlook? ;D ) In my personal opinion, the order of outlook a more common and used way. In Mail.app options I can set custom headers, but Mail arranges them only alphabetically. But some of them have already a fixed position in your plugin when replying.

Outlook display the header in the order (note BCC should be suppressed always):

From: Sent: To: CC: Subject:

This could be in a fixed position at the beginning of the headers. After that custom headers from mail could be included.

Further, there could be a checkbox in the preferences, only to use the above standard headers when replying/fowarding. This option gives the benefit, that one can have configured custom headers in Mail.app for general Mailbox views (e.g. like specific x-headers etc. for specific purposes) but when replying or forwarding a message only the headers above are included as a reply/forward annotation.

What do you think about that?

Cheers, Frank

jschroth commented 12 years ago

I like it! In fact, I might make it completely configurable. I know I am going to run into issues with language support so I would have to require the user specify the header item (e.g. "To," "From," etc.) and then the code can locate and sort them based on the user's preference before adding them to the message. It puts a little more work on the user that wants this because he/she has to identify each piece of header text, but it really reduce the amount of language related code that would be required to support all languages.

I'll need to spend some time on this one, but it should be possible.

Thanks again for your suggestions. -J