To Address in Reports

Julian Field mailscanner at ecs.soton.ac.uk
Mon Apr 5 11:59:17 IST 2004


At 11:02 05/04/2004, you wrote:
>Within some of the reports email templates a variable is used ($to). I
>would like to know if the Custom Functions interface would be able to
>change the value of this variable.

Yes.
However remember that "to" is actually an array of addresses not just a
single address.

>  Basically the way we have our mail routing configured all the warnings
> etc reference an "internal" active directory domain & not our external
> email addresses, so I'd like to mangle it so that the domain address
> changes. I figured than using sendmail's genericstable etc. would do the
> job for me, but this aproach doesn't appear to work, the email report
> still sends the mail to the illegal internal domain (the $to variable).
>
>Hope that makes sense & any pointers on where to start writing what should
>be a really simple piece of perl code would be great...
>
>Regards
>Karl

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list