<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Mail command parameter action  issue]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Mail command parameter action  issue of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 16 Jun 2007 21:26:34 +0300</lastBuildDateTag>		<item>
			<title>Mail command parameter action  issue</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic4776/message18185/">Mail command parameter action  issue</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thank you for your reply.<br /><br />I'm sorry if I missed your suggestion in your original message, I thought it read that the filter was part of the parameter. Please accept my apology.<br /><br />I am sure you are correct that this is a good way of "taking care of this problem". So, in the time since I've read your reply here, I've read the Help Topics regarding Creating a Filter, and tried it several times. However I must have set it up incorrectly. <br /><br />In Sorting Office, under General Tab, I used Subject contains txt. In Action I used Move to the Folder:<br />C:\\the path to the Sent Folder.<br />In Options: This filter is active.<br /><br />In Scheduler, under "Execute these actions when event finishes", I selected this created Filter as a refilter action.<br /><br />Yet, the files do not move to the Sent Folder after sending. They remain and recurrently send.<br /><br />So I must have done something incorrectly. I tried this, under the Sorrting Office General Tab using Subject, Recipient and File.<br /><br />I am trying hard to do this without asking for more help, but theBat! has so many features and it takes a bit to learn it. Some guidance at this point will be immensely appreciated. Thanks sooo much, again. &nbsp; <br />
			<i>16 June 2007 21:26:34, <a href="http://www.ritlabs.com/en/forums/">Alex</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic4776/message18185/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic4776/message18185/</guid>
			<pubDate>Sat, 16 Jun 2007 21:26:34 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Mail command parameter action  issue</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic4776/message18181/">Mail command parameter action  issue</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			In my first message in your original topic <noindex><a href="http://www.ritlabs.com/en/forum/read.php?FID=4&amp;TID=4583" target="_blank" rel="nofollow">http://www.ritlabs.com/en/forum/read.php?FID=4&TID=4583</a></noindex> I suggested that you'd use an outgoing filter to delete or move the file that was sent as attachment.<br /><br />What's the problem with that way of taking care of this problem? <br />
			<i>16 June 2007 10:18:34, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic4776/message18181/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic4776/message18181/</guid>
			<pubDate>Sat, 16 Jun 2007 10:18:34 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Mail command parameter action  issue</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic4776/message18179/">Mail command parameter action  issue</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thank you for your reply.<br /><br />I've been working on this and have moved the tpl and cmd to a directory and put the Output file in a subdirectory. (And I've changed the paths in the cmd and tpl, but I'm not sure what filter you're talking about?<br /><br />However, the files in the subdirectory keep sending over and over to due the recurrence with which I've specified in the action.<br /><br />I've tried every "Excecute these actions when event finishes" action to remove the files from the Output folder once they been sent, but when I Add an "Excecute these actions when event finishes" they don't send, and hwne i remove the "Excecute these actions when event finishes" they send over and over.<br /><br />Is there any way to remedy this? How can these files send once and leave the folder?<br /><br />I've even tried appending the cmd by adding F= the path to a "sent" file, after Send. <br /><br />Is there any way to move the files out of the folder once they're sent while using the cmd and tpl files?<br /><br />Please help me. I've worked so much on this I feel like giving up on theBat!. Thank you. <br />
			<i>16 June 2007 01:40:09, <a href="http://www.ritlabs.com/en/forums/">Alex</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic4776/message18179/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic4776/message18179/</guid>
			<pubDate>Sat, 16 Jun 2007 01:40:09 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Mail command parameter action  issue</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic4776/message18178/">Mail command parameter action  issue</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Place your template and cmd file in another directory and not in the directory that you're watching. You've got to adjust the path mentioned in your filter, .cmd file and template. But that shouldn't be too complicated. <br />
			<i>16 June 2007 01:12:57, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic4776/message18178/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic4776/message18178/</guid>
			<pubDate>Sat, 16 Jun 2007 01:12:57 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Mail command parameter action  issue</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic4776/message18174/">Mail command parameter action  issue</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			I have set up an action in theBat! with MAIL command parameters, thanks to a very helpful contributor, on this forum. The action extracts the file from a certain directory extract the file name (which is an email address) and sends the file as an attachment to the email address. <br /><br />I was kindly provided two files to accomplish this action, a Template file and a Command file. These files successfully accomplish their intended purpose. However, I want the action to check and recheck this directory (Output Directory) for new files and send them as they come in. However, by setting up the action to recur every few minutes, the same files get sent over and over again. <br /><br />So I set up an action under "Excecute these actions when event finishes", to Watch and Send and move the files to another folder after they are sent. That is successful in solving the issue of files getting sent over and over again, however, the problem is that the Output Directory gets cleared out every few minutes, and it clears the Template file and the Command file too. <br /><br />So, I am looking for help to find a solution that might somehow keep the action from moving the Template and Command files out of the Output Directory, and just move all other files out, or somehow be able to place the Template and Command files in another folder and still execute the action. <br /><br />Thank you for looking this over and considering to assist me. I'd greatly appreciate a provided solution. The Sendfile.cmd and the Sendfile.tpl are as follows:<br /><br />For %%i in ("C:\Documents and Settings\My Documents\Output\*.txt") do "C:\Program Files\The Bat!\thebat.exe" /MailT="C:\Documents and Settings\My Documents\Output\Sendfile.tpl";A="%%i";To="%%i";S="%%i";Send <br /><br />-----Start of Sendfile.tpl-------------­ <br />%SetPattRegExp='C:\\Documents and Settings\\My Documents\\Output\\(.*?)\.txt'%- <br />%RegExpBlindMatch='%To'%- <br />%ModifyOnce(To)%- <br />%SetHeader(To,%SubPatt='1')%- <br />Hi %ABToFirstName="%ToFName", <br /><br />I hope you like this. <br /><br />Regards, %FromFName <br />------End of Sendfile.tpl-------------­- <br /><br /><br /><br /> <br />
			<i>15 June 2007 18:54:27, <a href="http://www.ritlabs.com/en/forums/">Alex</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic4776/message18174/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic4776/message18174/</guid>
			<pubDate>Fri, 15 Jun 2007 18:54:27 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
	</channel>
</rss>
