[ic] [log]

Ryan Hertz interchange-users@interchange.redhat.com
Fri Mar 29 17:18:00 2002


At 09:52 PM 3/29/02 +0000, Kevin Walsh wrote:
> > >
> > >This works:
> > >[tmp][log file=/home/mysitpth/catalogs/mysitpth/mail/mail_list.txt]My
> > >Message Here[/log][/tmp]
> > >
> > >How can I replace "My Message Here" with the actual email address.
> > >
> > >Basically I'm trying to log the email address of all new accounts into the
> > >.txt for later use with a Mailing List.
> > >
> > >I have tryed....
> > >
> > >[value email]
> > >[email]
> > >"[value email]"
> > >'[value email]'
> > >
> > [tmp][log file=x interpolate=1][value blah][/log][/tmp]
> >
>Remember to surround that [log] with an [if] block so that you
>can give people a choice of whether they want to be on your spam
>list or not.
>
>[if value spam_me eq 'Y']
>     [tmp tmp][log file=x interpolate=1][value email][/log][/tmp]
>[/if]

And perhaps you should [if] on the return of [log] to trap any errors or 
you may not be spamming anybody.  :-)