First Last Prev Next    No search results available
Details
: Feature Request: Ability to set "Subject" field for new m...
Bug#: 25152
: smarttemplate4
: General
Status: RESOLVED
Resolution: DUPLICATE of bug 25904
: PC
: Windows 7
: unspecified
: P2
: enhancement
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Craig <craig.pattillo@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2012-09-26 07:25
Wondering if it would be possible to have the Subject field filled in
automatically when you compose a new e-mail. Ideally it would be identity
dependent, possibly support for variables. 

For example, I work in a chemical stockroom where we inform students when they
have received a package, and send copies of the packing slip to the office once
they are picked up. I have two identities, one 'receiving@chem' and the other
'packingslip@chem'. Any e-mails from the first would have a subject "Package
from " automatically and I could add just the company it came from. E-mails
from the second identity would have the subject "Packing Slip".

Seems like it would be trivial to add at least basic support of this, but I
haven't looked at the code. This would definitely be a time-saver for me, and I
imagine others as well. Otherwise, this is a great add-on. Keep up the good
work.
------- Comment #1 From Axel Grude 2012-09-26 10:51:59 -------
(In reply to comment #0)
> Wondering if it would be possible to have the Subject field filled in
> automatically when you compose a new e-mail. Ideally it would be identity
> dependent, possibly support for variables. 
> 
> For example, I work in a chemical stockroom where we inform students when they
> have received a package, and send copies of the packing slip to the office once
> they are picked up. I have two identities, one 'receiving@chem' and the other
> 'packingslip@chem'. Any e-mails from the first would have a subject "Package
> from " automatically and I could add just the company it came from. E-mails
> from the second identity would have the subject "Packing Slip".
> 
> Seems like it would be trivial to add at least basic support of this, but I
> haven't looked at the code.

It is probably relatively trivial to write the code that fills the subject
line, the main work here is to build a user interface (without overcrowding the
templates dialog and confusing the users). It would probably be okay for just
the "new mail" case (as there is extra space in the configuration) and it is
definitely an edge case (not many users would need this feature).

I will discuss this with Marc, to see what he thinks of it.
------- Comment #2 From Axel Grude 2015-05-18 01:10:06 -------
One problem with this is that it need to support resolving the "Normal" ST4
variables first, and injecting them in the subject text field afterwards. It
also needs to be able to contain the other variables in order to build a
meaningful subject line. Therefore the current syntax %variable(arguments)% is
not ideal for this; if we stick to this Syntax it could be more like

%setsubject_start%

%setsubject_end%

And then could contain the other variables. This needs some careful
consideration, because it can be a lot of work to implement.
------- Comment #3 From Axel Grude 2015-07-09 04:51:57 -------

*** This bug has been marked as a duplicate of bug 25904 ***

First Last Prev Next    No search results available