-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday, July 30, 2001, at 12:47:16 PM PDT, Januk Aggarwal wrote:

> =====Begin Template=====
> Hello
> %SETPATTREGEXP="(?is)^A1\:\s*\<?(\S*?)(\s+(\S*?))*?\>?$"%REGEXPMATCH="
> %TEXT",  

> <message body here>

> <signoff/signature>

> %TO='%SETPATTREGEXP="(?is)^A3\:\s*\<?(\S*?\@\S*?)\>?$"%REGEXPMATCH="%T
> EXT"' ===== End Template =====

Hello again Januk,

I've been testing this template before I send it to my mother, and
it's *almost* perfect. However...

If I place the template in a "send auto-reply" action, the template
itself does it's job perfectly, but the auto-reply action sends a
second copy of the generated message back to the original sender -
which I don't want it to do.

I decided that instead of using the "send auto-reply" action, I
might need to use the "create a message for" action. So... I tried
something, not knowing how it might turn out, and got an interesting
albeit peculiar result...

I put this in the "create a message for" field:

'%SETPATTREGEXP="(?is)^A3\:\s*\<?(\S*?\@\S*?)\>?$"%REGEXPMATCH="%TEXT"'

...while it did insert the proper address, the entire RegEx string
(above) was placed in the "To:" field as well, just before the actual
address.

It seems that either way - "auto-reply" or "create a message for" -
I'm half way to where I need to be.

Two questions:

1) If I use the "auto-reply" action, what can I do so that it only
sends a single copy to the intended recipient, and no copy back to the
original sender. Or...

2) If I instead need to use the "Create a message for" action, what
should I put in the address field so that it uses the proper intended
recipient address without adding the RegEx string.

Thanks!

Melissa
- -- 
PGP public keys:
mailto:[EMAIL PROTECTED]?subject=PGP_Keys_8&Body=Please%20send%20keys

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBO2Yj0o1W11L7BPLpEQJoLgCgsT1yEdPOauf++0wbsaV16a4xqAsAoIIP
c0V2GzazqzUILp7rKvgjFN8o
=9OsE
-----END PGP SIGNATURE-----

-- 
______________________________________________________
Archives   : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>


Reply via email to