Hi Bunker,

Try adding a hyphen in the pattern (not tried by me)

%SetPattRegexp="^.*@([a-zA-z0-9.]*)>?$"%-

to

%SetPattRegexp="^.*@([a-zA-z0-9-.]*)>?$"%-



-- 
Best regards,
 Tony                            mailto:[email protected]
 
Thursday, June 4, 2015, 4:41:20 PM, you wrote:

>> thank you, any one out there can assist me Plse
>> FYI, the TO field will have only a single email id.
> Try this:

> %BCC=""%-
> %SetPattRegexp="^.*@([a-zA-z0-9.]*)>?$"%-
> %RegexpBlindMatch="%TO"%-
> %VAR1=%SubPatt="1"%-
> %BCC="management@%VAR1, accounts@%VAR1"%-
> Dear .... 

> ++++

> hi tony,

> works like a charm BUT observed that if the domain got a "-" in
> between your code does not work.
> EG: "aaabbb.com" works perfectly BUT if it's like "aaa-bbb.com" then
> it does not show the domain at all. it just shows management@,
> accounts@ in the BCC field.

> hope you can fix this one. many thanks
________________________________________________
Current version is 6.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to