In Reply To:
Also one further question. I'm calling the global code with the following tag in add_success.html <%send_email_user_add%>
I get a nasty message returned which looks like this:
GT::Mail=HASH(0x8492548)
Can I suppress this?
Make your global return something explicitly, such as a null string. It's returning a hash ref, perhaps as the result of something else it called.