--- On Monday, November 08, 2004 12:09 PM, Justin scribed: --- > > Hi, > > On Nov 8, 2004, at 4:57 PM, Howie Hamlin wrote: > >> Is there anything in the headers of the incoming mail that you could >> use to determine if the mail was forwarded? > > Possibly. You would need to a storage to check against though right? >
Well, from the DATA template you can get a list of all of the headers. > > I was thinking of adding a header > > x-forwarded-by : myIMSaddress.com > > and then checking for that when mail are to be forwarded. What is the > easiest way to do that? > When you do the forwarding, use the cfx_imsmail tag and add a parameter like this: token_addheader_X_forwarded_by="myIMSaddress.com" > You can't use the emailfile attribute in cfx_imsmail and also specify > headers to add,can you? I would need to read the mail using ODSmime > and > then resend it with cfx_imsmail right? > Actually, you can as I show above. >> Also, a mail loop ususally winds up with lots of "received" headers >> and the FusionMail code will reject mail with X number of received >> headers. >> > > I'll have a look at the code. Thanks > NP. Regards, Howie > Justin > ==^======================================================= This list server is Powered by iMS "The Swiss Army Knife of Mail Servers" -------------------------------------------------------------------------------------- This list is provided as a free service. Although we will try to address issues in a timely manner, support via this list is not guaranteed. If you require expedited support then a support contract is required. Support may be purchased from http://www.coolfusion.com/commerce. Details regarding support options may be reviewed at: http://www.coolfusion.com/SupportOptions.cfm -------------------------------------------------------------------------------------- To leave this list please complete the form at http://www.coolfusion.com/Support/ Need an iMS Developer license? Sign up for a free license here: http://www.coolfusion.com/Developers/ List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/ Note: You are subscribed as [email protected] ==^=======================================================
