Gijs Reulen wrote: > <dtml-sendmail > smtphost="PARENTS[_.len(PARENTS)-1].getProperty('mail_smtphost')"> The text inside that parameter isn't executed as DTML, it's just used as text :-( (one of the reasons why DTML is being phased out) Why don't you just use a MailHost object? cheers, Chris