No, because the mail has not yet arrived in the RCPT template.  The header is 
available as form.header_to in the DATA template.

Regards,

Howie

----- Original Message ----- 
From: "Tac/Smokescreen" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Saturday, June 02, 2001 11:06 AM
Subject: Re: [iMS] manipulating the .mail file


> Is headerto also available in that template?  What's the varialble name?
> #headerto#?
> 
> Would this work?
> 
> <cfif headerto contains "[EMAIL PROTECTED]">
>     <insetheader To="#Replace(headerto,"[EMAIL PROTECTED],"TAC")#">
> </cfif>
> 
> Clearly this is a much better solution that modifying the mail file!
> 
> Thanks,
> 
> Tac
> 



========================================================================
     This list server is Powered by iMS
   'The Swiss Army Knife of Mail Servers'
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
========================================================================

Reply via email to