Now the RegEx to extract the name and email address.

%FROMNAME=""
%FROM=""
%SUBJ=""
%SUBJ="subscribe"
%SETPATTREGEXP="submitted by\s*?^(.*?) \((.*?)\)"
%RegExpBlindMatch='%Text'%-
Email: %SUBPATT='2'
Name: %SUBPATT='1'
Source: Web Page Enquiry
%FROM="%SUBPATT='2'"

Now what I want to do is set the resulting outgoing email with the subpatt='2' 
email
address as the from address and the subpatt="1" name as the from name.

But I cannot get it to work properly - hence the mish mash above.

After much struggling I have got the email address into the %FROM bit but I 
cannot get it
to set the name of the person in the appropriate variable thing.

ANyone got a moment to straighten this regex/macro out?

-- 
Marten Gallagher
Annery Kiln Web Design
www.annerykiln.co.uk
Using The Bat! 3.5.25
with POPFile 0.22.0
on Windows XP 5.1 






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

Reply via email to