Re: [Evolution] Advanced Templates [Was: Need Help with evolution auto subject]



On Fri, 2012-06-08 at 12:41 +0000, Reid Thompson wrote:
On Fri, 2012-06-08 at 06:13 -0400, Adam Tauno Williams wrote:

I'm on 3.2.3, and I see the Templates folder [somehow I never noticed
that before].... but how do I apply a template to a reply or message?
[I realize it is probably obvious, but I don't see any Template menu
items].

 a quick glance at the patch code in bugzilla seems to indicate that
 there should be a 'reply to message using template' option somewhere.
 I've not found it though.


From the help menu...

Message Templates
A message template is a standard message that you can use at any time to
send mail with the same pattern.

To enable the Message Template Plugin, click Edit â Plugins and
enable Templates.


Creating a Message Template from an existing Message
     1. Select the message.
        
     2. Right-click the message and choose Move to folder or Copy to
        folder.
        
     3. Select the Templates folder under On This Computer.
        
You can also edit an existing message and save it as a template:

     1. Open the message and click Reply.
        
     2. Edit the message body or the addresses according to your
        requirements.
        
     3. Select File â Save as Template.
        
Saving a New Message as a Template
     1. Click New and enter in the composer window what you need for the
        template.
        
     2. Select File â Save as Template.
        
Using a Message Template as a Reply
     1. Right-click the message you are replying to, then
        click Templates.
        
        This option lists all the message templates in
        the Templates folder.
        
     2. Select the message template of your choice. Make changes if
        required in the email composer window that will open.
        
     3. Click Send.
        
        When you select a message template for replying, the subject of
        the reply is preserved.
        
Configuring Message Templates
     1. Select Edit â Plugins.
        
     2. Click Templates.
        
     3. Click the Configuration tab.
        
     4. You can add, edit or remove the key-value pairs. You can specify
        any number of key-value pairs.
        
In any template, the occurrence of every $key is replaced by the value
it has in the configuration. For example, if you set the key to Manager
and the value to Harry, any occurrence of $Manager is replaced by Harry
in the message.

Assume that you have 1000 message templates with your current manager's
name in them. When the current manager is replaced by a new one, it is
not easy for you to manually replace the manager's name in all the 1000
messages. If the messages have a $Manager key value, you can reset the
value in the Configuration tab of this plugin.

By default, the entire environment variables are used as a key-value
pair. An occurrence of $env_variable is replaced by the value it
carries. For example, an occurrence of $PATH in your template is
replaced by its value when the template is used.

The replacement process uses the following order of precedence:

     1. $key is replaced by the value set for it in the Configuration
        tab of the Templates plugin.
        
     2. If the key is not found, it is then replaced with the value of
        its environment variable.
        
     3. If key is neither a configuration option nor an environment
        variable, no changes are made.
        






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]