[ic] email tag for ship_notice CHANGED:[if value email_copy ...] on ship_notice

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Sat May 11 06:06:01 2002


"Aaron Hazelton" <aaronmail@hazenet.net> writes:


[...]

> [loop prefix=user search="
> 		fi=userdb
> 		st=db
> 		sf=username
> 		se=[loop-data transactions username]
> 		ml=1000
> 		rf=email_copy
> "]
> [if value "[loop-data userdb email_copy]" eq 1]
> Email...plain text...
> [elsif value "[loop-data userdb email_copy]" eq 2]
> Email ...html format....
> [/elsif]
> [/if]

Probably there need to be a closing [/loop]. The other thing is that
you choosed prefix=user, so within the loop you need to use
[user-data userdb email_copy] etc. The next thing your if's are
wrong. Please read the docs.

Ciao
        Racke

-- 
Think of it !

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)