Hi Raj,

On Tue, 25 Sep 2001 09:52:59 +0530GMT (25/09/2001, 12:22 +0800GMT),
Raj wrote:

JA>> There is a simple extension of your idea though:

JA>> %IF:'%SETPATTREGEXP="@"%REGEXPMATCH="%OFROMNAME"'='@':'%-

IF there is a "@" character in the %OFromName then...

JA>> Dear Owner of %OFROMADDR':'%-

...write "Dear Owner of [EMAIL PROTECTED]"

else...

JA>> Dear %OFROMFNAME'%-

write "Dear Paul"

R> I still clueless at what this does.... But it serves my purpose and I am happy.

I translated it into English and hope it is a bit clearer now. The
trick is: if there is no Real Name in the from address, the makro
%OFromName will return the sender's address (as you have noticed).
Unless you know people with the @ character in their real names, any
match of this character in the value returned by the makro means that
there was no Real Name.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste. Anmeldung unter:
[EMAIL PROTECTED]  

Message reply created with The Bat! 1.53t
under Chinese Windows 98 4.10 Build 1998  
on a Pentium II/350 MHz.


-- 
________________________________________________________
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d

Reply via email to