Pages: 1
RSS
Selecting Identity
 
Is there a Templates 101 document anywhere? I have hacked around a bit but am not sure if I am on the right track. I created a Quick Template:

Code
%From=""%From="Some Identity <someone@somewhere.com>"
%CLEAR
Hello %TOFName,
  %Cursor
-- 
Best regards,
%FromFName


I start a new message using the default template, select an addressee, and then Ctrl-Space to Insert Quick Template.
  • Is Quick Template the right way of implementing "From:" identities?
  • Why are a couple of extra blank lines added before "Hello" when I use this template?
  • Is there a way of adding "From:" identities that can be selected from a drop down?
Regards
 
Quote
Is there a Templates 101 document anywhere? I have hacked around a bit but am not sure if I am on the right track. I created a Quick Template:

There's no manual on quick templates, but yours seems to be okay.

Quote
%From=""%From="Some Identity <someone@somewhere.com>"
Though you don't need the empty %From= macro. The %To= macro needs to be emptied in ths way, because that can contain more addresses, but as the From header can contain just one address you don't need to empty it.

Quote
Is Quick Template the right way of implementing "From:" identities?
It is a way for implementing identities, though you don't need to create the whole template just to change the identity. Something like
%From='"Me" <myaddress>'%-
will do fine as QT for changing the from address.
Other ways to use different identities is by setting folder identities, so the folder you're in selects the right address. You can also use address book templates, so that you'll certain contacts always with the same from address.

Quote
Why are a couple of extra blank lines added before "Hello" when I use this template?
Because you're using macros that don't add text and therefore create empty lines in your template.

Or to say it differently:
%From=""%From="Some Identity <someone@somewhere.com>"
This is on a line by itself. There is line feed at the end of the macro, so your macro add a new line to your message body, but everything before that new line only refers to the headers, so TB just inserts an empty line.

There are two remedies. Either you use everythhing on one line, like this:
%From=""%From="Some Identity <someone@somewhere.com>"Hello %TOFName,

But that gives you a template that's hard to read. Or you use the %- macro, like this:
%From=""%From="Some Identity someone@somewhere.com>"%-
Hello %TOFName,
You'll notice that I also used that in my example of a merely from-changing QT, it has become second nature for me to do so.

Quote
Is there a way of adding "From:" identities that can be selected from a drop down?
No, the only froms you can get in a pull down menu are the account identities.

As a work around you could try a series of QTs all named like FromMeAtISP, FromMeAtWork, etc
Now when you type From followed by Ctrl+space you'll get a list of your QTsso you don't have to remember all QT-names.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks Roelof

Most informative and useful.

Regards
Pages: 1