This patchset allows a user to rename an attachment, it addresses Trac
ticket #3706.

First patch adds a new %F placeholder in the "attach_format" config
option. This placeholder will display the name that will be set in the
content-disposition header, so basically that's how the recipient will
see the attachment's name.

Second patch adds a new operation to rename an attachment, that way a
file named 'foo' on a user's machine can be sent as 'bar' for instance.

Damien Riegel (2):
  attach_format: add new %F placeholder
  compose: add operation to rename an attachment

 OPS          |  1 +
 compose.c    | 27 ++++++++++++++++++++++++++-
 functions.h  |  1 +
 init.h       |  1 +
 recvattach.c | 20 ++++++++++++++++++++
 5 files changed, 49 insertions(+), 1 deletion(-)

-- 
2.10.0

Reply via email to