Hallo admin,

On Thu, 7 Oct 2004 14:44:18 +0100GMT (7-10-2004, 15:44 +0200, where I
live), you wrote:


A> I want to extract the item or items bought and send out an email that
A> cays stuff like: 'Thank you for your order for

Create an appropriate filter,
the filter creates a new message,
the new message uses a template that starts with this regexp:

%SetPattRegExp='(?is)(.*?)Name:\s(.*?)\n(.*?)E-mail:\s(.*?)\n(.*?)\*\*\*\sITEMS\sORDERED\s\*\*\*\n(.*?)POSTAGE\sOPTION(.*?)\n'%-
%RegExpBlindMatch='%Text'%-
%_Name="%SubPatt='2'"%-
%_Email="%SubPatt='4'"%-
%_Order="%SubPatt='6'"%-

Where you want to insert the name in your message, you use %_Name,
like in:
Hello %_Name,

Where you'd like to insert the address, you use %_Email, like:
%To='"%_Name" <%_Email>'%-

Where you'd like to insert the ordered items, you insert %_Order in
your template. As easy as that.

I guess you'll have a solution from somebody else by the time you read
my message. My phone line is dead and those telco guys don't won't to
send a maintenance guy in the middle of the night. :-(


-- 
Groetjes, Roelof

I'm not a Vulcan, but I play one on TV - Leonard Nimoy

The Bat! 3.0.1 RC5
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN

Attachment: pgpzfvjhYxu6U.pgp
Description: PGP signature

________________________________________________
Current version is 3.00.00 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to