Re: How to extract the domain part from a mail address

2004-02-06 Thread Arjan de Groot
On Fri, 6 Feb 2004 04:09:55 +0100, dAniel hAhler wrote: [IF macro] I tried it, but alas, no success. :-( As Zygmunt wrote, it should be %SETPATTREGEXP instead of %SETREGEXPPAT, I didn't test it. Either you try this again or use the (modified) solution of Januk, but you should get your

Re: How to extract the domain part from a mail address

2004-02-05 Thread Arjan de Groot
On Thu, 5 Feb 2004 02:14:26 +0100, Roelof Otten wrote: Now, what I really want is this macro to work for _all_ Yahoogroups. In other words, if I send a message to any of the Yahoogroups mailing lists, my GMX address should be used, in all other cases my tmfweb address. One way to do this is

Re: How to extract the domain part from a mail address

2004-02-05 Thread Arjan de Groot
On Thu, 5 Feb 2004 02:28:29 +0100, dAniel hAhler wrote: %IF:%TOhasyahoogroups.comin it:%FROM=Arjan de Groot [EMAIL PROTECTED]: %FROM=Arjan de Groot [EMAIL PROTECTED] That should do it: %SETREGEXPPATT='.*?@(yahoogroups.com)'- %IF:%REGEXPMATCH='%TO''':%FROM=Arjan de Groot [EMAIL PROTECTED

How to extract the domain part from a mail address

2004-02-04 Thread Arjan de Groot
In one of my templates I use a macro that looks like this: %IF:%TO=[EMAIL PROTECTED]:%FROM=Arjan de Groot [EMAIL PROTECTED]: %FROM=Arjan de Groot [EMAIL PROTECTED] Which means: if I send a message to TBOT, my GMX address will be used and if I send a message elsewhere, my tmfweb address