-------------------------------------------------- > Did you perhaps mean something like this? > >> if ($FoundHTML) { >> action_bounce("HTML mail not allowed here."); >> return; >> } yes that did it, no more syntax error. thanks for your help Scott.