<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: hyphen causing problem ?]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in hyphen causing problem ? of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 28 Jan 2005 05:08:21 +0200</lastBuildDateTag>		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3647/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			<br />====quote====<br />Marck Pearlstone wrote:<br />Like this: <br /><br />%modifyonce("To")%- <br />%To=""%To="Stan &lt;walkeld@fair-rite.com&gt;"%- <br />Hi Dan, <br /><br />The %- macro suppresses extra blank lines. Every line of macro code will cause a blank line in the resulting template unless you add the %- to the end of it. <br /><br />That's all Roelof was saying there. <br /><br />//.arck <br />=============<br /><br />====quote====<br />Marck Pearlstone wrote:<br />Like this: <br /><br />%modifyonce("To")%- <br />%To=""%To="Stan &lt;walkeld@fair-rite.com&gt;"%- <br />Hi Dan, <br /><br />The %- macro suppresses extra blank lines. Every line of macro code will cause a blank line in the resulting template unless you add the %- to the end of it. <br /><br />That's all Roelof was saying there. <br /><br />//.arck <br />=============<br /><br />The above also solved the problem &nbsp;<img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_biggrin.gif" border="0" data-code=":D" data-definition="SD" alt=":D" style="width:16px;height:16px;" title="" class="bx-smile" /> <br /><br />Thank you both,<br /><br />Michael<br /> <br />
			<i>28 January 2005 05:08:21, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3647/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3647/</guid>
			<pubDate>Fri, 28 Jan 2005 05:08:21 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3635/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Like this:<br /><br />
====code====
<pre>%modifyonce("To")%-
%To=""%To="Stan &#60;walkeld@fair-rite.com&#62;"%-
Hi Dan, </pre>
=============
<br /><br />The %- macro suppresses extra blank lines. Every line of macro code will cause a blank line in the resulting template unless you add the %- to the end of it.<br /><br />That's all Roelof was saying there. <br />
			<i>27 January 2005 17:54:56, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3635/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3635/</guid>
			<pubDate>Thu, 27 Jan 2005 17:54:56 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3624/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi,<br /><br />I'm using 3.0.1.33<br /><br />When you say that it works for you - did you try typing anything ?<br /><br />It works for me until I do that.<br /><br />"you could use another instance of the %- macro"<br /><br />Not sure how to do what you're suggesting here ?<br /><br />thanks for the help,<br /><br />Mike <br />
			<i>27 January 2005 04:14:42, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3624/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3624/</guid>
			<pubDate>Thu, 27 Jan 2005 04:14:42 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3611/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I'm lost, since it works for me, my only alteration was a different filepath for the cookie file.<br />What version of TB are you using?<br />To keep the empty line above the "Hi Dan," away you could use another instance of the %- macro, it might even fix thisproblem for you (because of the odd ways these things work sometimes), but it's merely a matter of esthetics.<br /><br />For myself I don't really like self addressing folder templates, because I've seen several cases of people who got seriously bitten by one. Like this guy who sent an order for tickets to a mailing list (with its own folder and self addressing folder templates) in stead of the guys who had to process that order.<br />Depending on the nature of the message such an instance can be merely embarrassing or really dramatic. &nbsp; <br />
			<i>27 January 2005 02:30:11, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3611/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3611/</guid>
			<pubDate>Thu, 27 Jan 2005 02:30:11 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3567/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Below is the template that is causing the problem. The template is used on a folder and not my address book. I have several that work and this one works too if I use an address without a hyphen.<br /><br />%modifyonce("To")%- <br />%To=""%To="Stan &lt;walkeld@fair-rite.com&gt;" 	<br />Hi Dan,<br /><br /> &nbsp;%Cursor<br /><br />-- <br />%Cookie="C:\Program Files\The Bat!\cookie.txt"<br /><br />Dad &nbsp;))) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mailto:%FromAddr<br /><br />if you try the above you will find that all is well until you attempt to type a message and then the bottom half disappears. Seems you will need to put something in the cookie folder to test it <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /><br /><br />thanks for you help,<br /><br />Mike<br /> <br />
			<i>25 January 2005 00:36:18, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3567/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3567/</guid>
			<pubDate>Tue, 25 Jan 2005 00:36:18 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3555/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			What macro doesn't work with that address? (Give the whole relevant part of the template as you use it.)<br /><br />Is the problem occurring with addressees in your address book, outside of your AB or doesn't is matter whether the addresses are in your AB. <br />
			<i>24 January 2005 10:40:26, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3555/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3555/</guid>
			<pubDate>Mon, 24 Jan 2005 10:40:26 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3549/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Just thought that I would add ...<br /><br />If I enter '' around the email address like so ...<br />Stan &lt;'walkeld@fair-rite.com'&gt; then the macros work ok<br />but the message can't be sent.<br /><br />thanks,<br /><br />Mike<br /><br /> <br />
			<i>24 January 2005 09:48:21, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3549/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3549/</guid>
			<pubDate>Mon, 24 Jan 2005 09:48:21 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>hyphen causing problem ?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic828/message3537/">hyphen causing problem ?</a></b> <i>hyphen in email address causing problem</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi,<br /><br />I have a template which works perfectly well with any email address that I've tried so far with the exception of one that contains a hyphen ..<br /><br />walkeld@fair-rite.com <br /><br />when I use the above it causes the random generated cookie phrase to disappear as soon as I click the cursor on the page.<br /><br />Any ideas and/or help (apart from telling the person to use an email address without a hyphen <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /> would be appreciated.<br /><br />thanks,<br /><br />Michael <br />
			<i>23 January 2005 11:16:51, Michael Redbourn.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic828/message3537/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic828/message3537/</guid>
			<pubDate>Sun, 23 Jan 2005 11:16:51 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
