Hi Januk,
On Mon, 24 Sep 2001, at 11:53:58 -0700, you wrote:
JA> Judging by my tests, %OFROMFNAME and %OFROMLNAME return the username
JA> part of the email address when there is only an address. This means
JA> Raj won't get what he wants with that condition.
OK, I must admit I didn't do extensive testing... :-( I just thought
that %OFROMFNAME would return an empty string when there's no name
present. And, obviously, I was wrong. :-/
JA> There is a simple extension of your idea though:
JA> %IF:'%SETPATTREGEXP="@"%REGEXPMATCH="%OFROMNAME"'='@':'%-
JA> Dear Owner of %OFROMADDR':'%-
JA> Dear %OFROMFNAME'%-
Hmmm, so %OFROMNAME returns the complete address when there's no name
part right? That's an interesting way of doing this. And you are
wondering about your reputation on this list... :-)
--
Regards,
Lars
The Bat! 1.54 Beta/9 on Windows NT 5.0 Build 2195 Service Pack 2
____________________________________________________________
| Lars Geiger | <mailto:[EMAIL PROTECTED]> |
--
________________________________________________________
Archives : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Latest Vers: 1.53d