Problem with custom function in report

Peter Peters P.G.M.Peters at utwente.nl
Tue May 11 15:40:11 IST 2004


I have enable the custom function to get the real hostname in $hostname.
It works perfectly in the message that is attached when a virus is
removed. But because not everybody sends that attachment to our helpdesk
when they want the virus delivered I tried to have the hostname in the
inline message.

My inline messages have a header like:
|Dit is een bericht van het            | This is a message from the
|UTwente MailScanner virus             | UTwente MailScanner E-Mail Virus
|beschermingssysteem op $hostname       | Protection Service on $hostname
|--------------------------------------+------------------------------------

But when such a message is inserted in the message I get:
|Dit is een bericht van het            | This is a message from the
|UTwente MailScanner virus             | UTwente MailScanner E-Mail Virus
|
|--------------------------------------+------------------------------------

Don't work custom functions in reports or doesn't he like the same
variable twice on the same line?

--
Peter Peters, senior netwerkbeheerder
Dienst Informatietechnologie, Bibliotheek en Educatie (ITBE)
Universiteit Twente,  Postbus 217,  7500 AE  Enschede
telefoon: 053 - 489 2301, fax: 053 - 489 2383, http://www.utwente.nl/itbe

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list