Re: %ABTOxxx macros does not work

2022-12-21 Thread Gwen
Hello Zygmunt,

On Mon, 19 Dec 2022, at 16:55:00 [GMT +0100] (which was 16:55 where I
live) Zygmunt wrote:

> Yes, I know the template hierarchy and have tried different options
> to achieve the required result. Unfortunately, my attempts were
> failed. I want to use %ABTo... macros in the following expression placed in 
> the template:

> %To=""%To='"%ABToName, %ABToJob" <%ABToEmail>'

> As you see, first appears the clearing of "To" filed, and next its
> modification. Such expression gives me always such result:

> ", " <>

> I see the use of %To="" macro disables the latter modification of this field.

Confirmed.
I added to your bug report at https://bt.ritlabs.com/view.php?id=2219


-- 
Regards
Gwen

Using The Bat! Version 10.3.2 (32-bit) on Windows 11 10.0 (Build 22621 )

pgpQuo6jYHSQ9.pgp
Description: PGP signature

'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: %ABTOxxx macros does not work

2022-12-19 Thread Zygmunt Wereszczynski
On Monday, December 19, 2022, at 16:28:03 [UTC+0200] (Monday, December 19,
2022 15:28 my local time) Alexander Petrari via TBBETA wrote:

 
>> Using %ABTOxxx macro in new messages always gives blank result. Other 
>> Address Book macros like %ABFromxxx, %ABOFromxxx used in replies work 
>> correctly. This bug completely block new messages with %ABTOxxx macros used 
>> in templates.

> We are unable to replicate that issue with the %ABToFirstName, for instance. 
> Do you use that macro in a template under account properties, folder 
> properties, address book group properties or in a contact's personal 
> template? Please keep in mind the hierarchy of templates as listed in the 
> question above with the contact's template having the top priority and 
> account's template with lowest priority.
 
Yes, I know the template hierarchy and have tried different options to achieve 
the required result. Unfortunately, my attempts were failed. I want to use 
%ABTo... macros in the following expression placed in the template:

%To=""%To='"%ABToName, %ABToJob" <%ABToEmail>'

As you see, first appears the clearing of "To" filed, and next its 
modification. Such expression gives me always such result:

", " <>

I see the use of %To="" macro disables the latter modification of this field.

I solve my problem using different manner to modify the "To" field according to 
Address Book, namely using %SetHeader macro. I used the following expression:

%SetHeader('To','"%ABToName, %ABToJob" <%ABToEmail>')

and it works.



 
-- 
Best regards,
 Zygmunt Wereszczynski
 (Using 64-bit The Bat! v10.3.2 in OTFE mode with AntispamSniper 3.3.5.3
 on 64-bit Windows 10.0 Build 19045 )



'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: %ABTOxxx macros does not work

2022-12-19 Thread Alexander Petrari via TBBETA
Hello,

> Using %ABTOxxx macro in new messages always gives blank result. Other Address 
> Book macros like %ABFromxxx, %ABOFromxxx used in replies work correctly. This 
> bug completely block new messages with %ABTOxxx macros used in templates.


We are unable to replicate that issue with the %ABToFirstName, for instance. Do 
you use that macro in a template under account properties, folder properties, 
address book group properties or in a contact's personal template? Please keep 
in mind the hierarchy of templates as listed in the question above with the 
contact's template having the top priority and account's template with lowest 
priority.

If the contact's and address book group templates are disabled, then create a 
new folder, open its properties, add %ABToFirstName to the template for new 
messages, create a new message, input the recipient from the address book 
associated with that account and tab to the message body. Then the macro has to 
trigger and return the recipients first name.

-- 
Alexander Petrari
Ritlabs, SRL



'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


%ABTOxxx macros does not work

2022-12-17 Thread Zygmunt Wereszczynski
Hello all!
 
Using %ABTOxxx macro in new messages always gives blank result. Other Address 
Book macros like %ABFromxxx, %ABOFromxxx used in replies work correctly. This 
bug completely block new messages with %ABTOxxx macros used in templates.

Developers, please check the bug report https://bt.ritlabs.com/view.php?id=2219
 

-- 
Best regards,
 Zygmunt Wereszczynski
 (Using 64-bit The Bat! v10.3.2 in OTFE mode with AntispamSniper 3.3.5.3
 on 32-bit Windows 10.0 Build 19045 )



'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html