[Zope] Sendmail tag and port number
Lennart Regebro
lennart@regebro.nu
Wed, 02 Apr 2003 14:35:29 +0200
Klimovich Alexander wrote:
> Hi, everybody!
>
> I have a variable containing port for sendmail tag, say 'port_value'.
> How should I write it in the <dtml-sendmail>?
Why on earth do you have that for? :)
> The variant <dtml-sendmail smtphost="1.1.1.1" port=port_value> when pressing 'Save changes'
> tells that system can not convert value to int.
That's because 'port_value' is a string, and not an int. You have to
tell it to use the variable, per standard dtml-syntax. &dtml-port_value;
should work I think.