Hello Marten,

> Yes - just the same note to each address - no quoting necessary, no
> attachments.
> ...
> Same subject (new one) is fine.
> ...
> Preferably from any folder.
> ...
> Mainly account templates and folder templates although for TBUDL I
> have had to set up an adres book template.
> 
> Sounds exciting... :-)

OK, I think I got it working :) It took me some time because, aside of
being busy, in my first approach I wanted to use Reply templates and I
had a problem when using the %CLEAR macro from within nested QTs. I know
some my think this is just a 'nasty' and 'not too elegant' workaround
but I couldn't figure out a better way of doing it.

Since you say you use account, folder and AB templates I am assuming
that these are New and Reply templates and that for Forward template you
just have the default (or maybe modified) Forward template in Account
Properties. If this is so, here is what you have to do:

1.- We will use SmartBat instead of the editor to type your "same note
to many" text. So, the first thing you have to do is create a new Pad
that I have called "MyNote". To do so, if you don't know how:

    - Hit F6 to open SmartBat.
    
    - Right click and select New Pad or just Ctrl+N.
    
    - Select the directory where you want to save the new pad and enter
    MyNote  as  the  name  of  the  file.  In my case I have used:
           F:\The Bat\Mail\mynote.TXT
    If you use a different directory or name you will have to change the
    templates described below.
    
    - Make sure the content of the new pad is blank and close SmartBat.
    But better just type a few characters and then delete them, so the
    file will actually contain a single newline character. If the single
    new line is not there the file will not be crated and, anyhow, that
    is what will be saved every time we re-use it.

2.- Open Account/Properties/Forward template, highlight its full content
(Ctrl+A), copy it (ctrl+C) and save it as a new QT with name MyFWD.

3.- Create a new QT with name "m2all" with this contents (without
the === lines):

======== 'm2all' Quick Template ============
%To="%OFROMNAME <%OFROMADDR>"%-
Hello %OFROMFNAME,

%INCLUDE="F:\The Bat\Mail\mynote.TXT"
============================================

4.- Replace your Account Forward template with the one below. Just like
it is, do not change anything except perhaps the path for mynote.txt:

======== New Account Forward template ======
%_v1="
"%-
%_fil="%PUT='F:\The Bat\Mail\mynote.TXT'"%-
%IF:"%_v1"<>"%_fil":"%QINCLUDE=""m2all":
"%QINCLUDE=""MyFWD":%-
============================================

What this Forward template does is to check if if MyNote.txt contains a
single newline character or not. If NOT (i.e. contains a note/message) ,
it will include 'm2all' QT and if YES (only newline) will include
'MyFWD' one.

And you are all set to go!

Now, first try your normal forward. Select one (or more) messages and
click the Forward button, or enter Ctrl+O or Shift+F5. It should work as
usual.

Now to your "same note to many":

- Hit F6 to open SmartBat and select the MyNote pad.

- Write your message or note in the MyNote pad. No 'Hello Soandso' is
needed because it is included in 'm2ll' QT.

- Close SmartBat so the MyNote.txt file will now contain your message.

- Now select one or more message to which originator(s) (senders) you
want to send the note and click Forward (or Ctrl+O, or ....).

One or more editor windows (depending on the number of messages
selected) will open, each addressed to the originator of each of the
selected messages, with the original subject with the FWD: prefix and
all with the same message text. Correct? If so, just click Send on each
of the editor windows.

Now, when you are done, you *have* to remember to open SmartBat, clear
its contents (Ctrl+A and then Del) and close it so the MyNote.tex file
will also be blank (with only 1 newline character). Depending on how
often you are going to use this option of "same note to many" and how
often you do a forward, you may want to blank MyNote pad just before
doing a forward.

And..., what can you do if you want to send the "same note to many" but
all with the same subject? Easy! When you type your note in SmartBat
include a last line at the end like follows:

%Subject="This is my subject now"

Note that the % and " characters _are_needed_.

I think I haven't forgot anything. Let me know how it goes and if it
works to your satisfaction you will owe me a beer :)

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v2.10.03


________________________________________________
Current version is 2.10.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to