How can I pass the smtphost attribute as a variable in the dtml-sendmail tag ? Es: <dtml-sendmail smtphost="my_param"> Thanks. -- Vincenzo Di Somma - Responsabile Ricerca e Sviluppo - Icube S.r.l. Sede: Via Ridolfi 15 - 56124 Pisa (PI), Italia E-mail: e.disomma@icube.it WWW: www.icube.it Tel: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
Vincenzo Di Somma writes:
How can I pass the smtphost attribute as a variable in the dtml-sendmail tag ?
Es: <dtml-sendmail smtphost="my_param"> You cannot do that.
But you can use a mailhost variable. Its id is resolved via the DTML namespace. Thus, you can have <dtml-let currentMailhost=...your_variable...> <dtml-sendmail mailhost=currentMailhost> .... </dtml-sendmail> </dtml-let> Dieter
participants (2)
-
Dieter Maurer -
Vincenzo Di Somma