[Zope] using expr inside sendmail
Dieter Maurer
dieter@handshake.de
Sat, 7 Sep 2002 20:16:03 +0200
Mike Doanh Tran writes:
> Assume A=5, B=3, and C=2.
> when I use this expression outside of the <dtml-sendmail> tag then I get a
> Total="10"
>
> Total = <dtml-var expr="A+B+C">
>
> But when i use the above expression inside of <dtml-sendmail> </dtml-sendmail>
> I get the value of A,B,and C (5 3 2)
Almost surely, your variables have different types in the two
contexts (integer in one context and string in another).
This would be your application, not the "sendmail" tag.
Dieter