2 Apr
2003
2 Apr
'03
12:35 p.m.
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.