<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Reseting the TO field]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Reseting the TO field of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Tue, 07 Feb 2006 19:14:07 +0200</lastBuildDateTag>		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message10225/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Actually, I never look in the index for macros. I always go for:<br />macros/full alphabetic listing of macros<br />Never occurred to me that you wouldn't start looking there. <br />
			<i>07 February 2006 19:14:07, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message10225/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message10225/</guid>
			<pubDate>Tue, 07 Feb 2006 19:14:07 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message10221/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />It's documented in the help file.<br />=============<br />It's not listed in the index under Setheader which is the obvious starting point. I found it eventually using Search. Your explanation is very useful and much more comprehensive than the help file. Thanks.<br /><br />Regards, John M <br />
			<i>07 February 2006 13:24:32, <a href="http://www.ritlabs.com/en/forums/">John Mitchell</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message10221/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message10221/</guid>
			<pubDate>Tue, 07 Feb 2006 13:24:32 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message10216/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			It's documented in the help file.<br /><br />%SetHeader can be used for all headers, in behaviour there is no difference between %SetHeader and %From or %ReplyTo. However, there is a difference between %SetHeader and %To. %To adds the new address to the To header, while %SetHeader replaces the old To header with the new contents. That behaviour of the %To macro made it necessary to use constructs like %To=""%To="address" in order to empty the To header first before adding the new contents. Due to changes in the macro translation that construct fails every now and then. In those cases %SetHeader is better.<br />%SetHeader also makes it possible to edit any header, as long as it is listed in Option/Preferences/Message Headers (and you can add your own headers there). So I can create an X-Roelof header (RFC 2822 states that you can use any custom made header as long as its name starts with X- ) and with SetHeader I can fill the contents with whatever you like. Like %SetHeader("X-Roelof","Roelof was here!")<br /><br />So basically you can forget about all of those one header macros and always use %Setheader. <br />
			<i>07 February 2006 05:38:07, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message10216/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message10216/</guid>
			<pubDate>Tue, 07 Feb 2006 05:38:07 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message10211/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />Use %SetHeader("To","myaddress")<br />=============<br />Is <B>%SetHeader</B> documented somewhere? When is it best to use the likes of <B>%FROM</B>, <B>%REPLYTO</B> and when is it best to use <B>%SetHeader</B>?<br /><br />Regards, John M <br />
			<i>06 February 2006 21:06:33, <a href="http://www.ritlabs.com/en/forums/">John Mitchell</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message10211/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message10211/</guid>
			<pubDate>Mon, 06 Feb 2006 21:06:33 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message9974/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Use %SetHeader("To","myaddress") <br />
			<i>24 January 2006 02:44:42, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message9974/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message9974/</guid>
			<pubDate>Tue, 24 Jan 2006 02:44:42 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Reseting the TO field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic2471/message9957/">Reseting the TO field</a></b> <i>%TO works in mysterious ways</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I have a QT that changed the TO header according some criteria. The critical line was something like:<br />%TO=""%TO="new@addre.ss"<br /><br />It worked until 3.6x. Now it only clears the TO field and leaves it empty.<br /><br />Ideas? <br />
			<i>23 January 2006 10:49:36, <a href="http://www.ritlabs.com/en/forums/">Ciprian Trofin</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic2471/message9957/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic2471/message9957/</guid>
			<pubDate>Mon, 23 Jan 2006 10:49:36 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
