On Wed, 8 Jul 2009 at 03:28:23 +0100, MFPA wrote:
> On Wednesday 8 July 2009 at 2:14:18 AM, in
> <mid:[email protected]>, Ian A. White wrote:
>> I use the %ATTACHMENTS macro to list the attachments I
>> send in an e-mail to make sure that the recipient gets
>> them all, however the attached filenames all appear on
>> a line wrapped. With filenames allowed to have spaces,
>> this causes issues with a filename breaking across
>> more than one line.
>
>> Is there any way to list the attachments one per line
>> with the %ATTACHMENTS macro?
>
> Yes. Try http://www.silverstones.com/thebat/Library.html and look
> for "Attachments Listing"
>
> Be sure to follow version 2 instructions.
It doesn't seem to be responding, but I use the following, which I think I
took from the TB Library.
Create a Quick Template called AttList as follows
%If:"%_FirstTime"="":#%-
%____%_FirstTime="No"%-
%____%If:"%Attachments"="<none>":"%-
%_________":"%-
%_________%-Attachments:
%_________%_Att_List='%Attachments,'%-
%_________%Qinclude(AttList)"#:#%-
%____%If:"%_Att_List"<>"":"%-
%_________%SetPattRegexp='(?i)^(.*?),\s*(.*)$'%-
%_________%RegexpBlindMatch='%_Att_List'%-
%_________%- * %SubPatt='1'
%_________%_Att_List=%SubPatt='2'%-
%_________%Qinclude(AttList)":"%-
%_________"%-
%____#%-
--
Robin
Using The Bat! v4.1.11
Windows Vista 6.0 Build 6002 Service Pack 2
Popfile v1.1.0
________________________________________________
Current version is 4.2.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html