-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Vanessa,
@29-Jan-2003, 13:44 +0100 (12:44 UK time) Vanessa Montagne [VM] in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] said: GE>> I'm not sure what you want to do with the address. You should GE>> explain this if it wasn't for quoting ;-) VM> it isn't for quoting, it is to collect these email addresses VM> into an AdressBook of The Bat, and then i can export this VM> address book and copy the addresses into my Mailer(Mojo Mail) to VM> remove the wrong/expired/... email adresses. VM> How to use such a macro combination ?? I use a multiple event system to record the addresses of visitors to my product web site in a TB AB group. 1) I Intercept the message containing the email address with this filter. BeginFilter Name: Visitor Active: 1 Source: \\Marck@BSW\Inbox Target: \\Marck@BSW\Reports\Traffic reports\Visitor CopyFolder: \\\\none MainSet: [EMAIL PROTECTED] MainSet: 20Visitor Actions: faNewMsg NewAddr: [EMAIL PROTECTED] NewTemplate: %REM\3D_\0D\0A--------------------------\0D\0A\20\20Extract\20data\20from:\0D\0AName\3DName\0D\0AUsage\3DPurpose\0D\0Aemail\[EMAIL PROTECTED]\0D\0A--------------------------\0D\0A_%-\0D\0A%COMMENT\3D\27%REGEXPTEXT\3D\22Name\3D((\5CS\20?)*)\22\27%-\0D\0A%SUBJECT\3D\27Z1Y2X3\20Visitor\20extract\20%COMMENT\27%-\0D\0A%IF:^%COMMENT^\3D^^:%-\0D\0A^%FROM\3D\27%REGEXPTEXT\3D_email\3D(\5CS*@\5CS*\5C.\5CS*)_\27^:%-\0D\0A^%FROM\3D\27\22%Comment\22\20<%REGEXPTEXT\3D_email\3D(\5CS*@\5CS*\5C.\5CS*)_>\27^%-\0D\0A\0D\0A\0D\0A AddAddrItems: afiFrom, DelAddrItems: afiFrom, EndFilter This creates a new message to me with a very odd and fixed subject line. The actual template of the new message is this: %REM=_ ************************ Extract data from: Name=Name Usage=Purpose [EMAIL PROTECTED] ************************ _%- %COMMENT='%REGEXPTEXT="Name=((\S ?)*)"'%- %SUBJECT='Z1Y2X3 Visitor extract %COMMENT'%- %IF:^%COMMENT^=^^:%- ^%FROM='%REGEXPTEXT=_email=(\S*@\S*\.\S*)_'^:%- ^%FROM='"%Comment" <%REGEXPTEXT=_email=(\S*@\S*\.\S*)_>'^%- This sets the subject of the message to be "Z1Y2X3 Visitor extract (name)" where (name) is the name of the visitor and makes the "From:" address of the new message to be that of the visitor - in your case you would use the bounce address. 2) Intercept the new message (local delivery is set so the message doesn't go via my ISP - and shouldn't since it has a forged "from" header). Add the "from" address to the address book. The message is also marked read and sent to trash. BeginFilter Name: Vistor - add to AB Active: 1 Source: \\Marck@BSW\Inbox Target: \\Marck@BSW\Trash CopyFolder: \\\\none MainSet: 20Z1Y2X3 Visitor extract MainSet: [EMAIL PROTECTED] Actions: faMarkRead,faAddAddress,faoAdvAddressOut AddGroups: visits AddAddrItems: afiFrom, DelAddrItems: afiFrom, EndFilter You will need to customize these for your usage but the basics are there - extract an email address from a message body and add it to the address book. - -- Cheers -- .\\arck D Pearlstone -- List moderator TB! v1.63 Beta/5 on Windows 2000 5.0.2195 Service Pack 2 ' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1rc1-nr1 (Windows 2000) iD8DBQE+N9R3OeQkq5KdzaARAmocAJ9QxqxVuMU4o6QXz6S8Yyes1HlFBgCdH3iX /1O47EGVuzGsaX0rc/rI5kU= =Q1jn -----END PGP SIGNATURE----- ________________________________________________ Current version is 1.62 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html