<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Help with extracting Email with Sendfile.tpl]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Help with extracting Email with Sendfile.tpl of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Wed, 05 Sep 2007 21:52:16 +0300</lastBuildDateTag>		<item>
			<title>Help with extracting Email with Sendfile.tpl</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic5056/message19304/">Help with extracting Email with Sendfile.tpl</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 assistance.<br /><br />I have resolved this issue.<br />I had orginally copied the files to the server and changed the paths. And it did not run.<br /><br />So, I created the files new and typed in the parameters (instead of copied) and it works.<br /><br />I have one other issue which I will create a new post for.<br /><br />Thanks for your assistance and consideration.<br /><br /> <br />
			<i>05 September 2007 21:52:16, <a href="http://www.ritlabs.com/en/forums/">Alex</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic5056/message19304/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic5056/message19304/</guid>
			<pubDate>Wed, 05 Sep 2007 21:52:16 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Help with extracting Email with Sendfile.tpl</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic5056/message19284/">Help with extracting Email with Sendfile.tpl</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			My guess is that you didn't adjust the path in:<br />For %%i in ("C:\Documents and Settings\TA*.txt") do <br />
			<i>05 September 2007 13:58:03, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic5056/message19284/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic5056/message19284/</guid>
			<pubDate>Wed, 05 Sep 2007 13:58:03 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Help with extracting Email with Sendfile.tpl</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic5056/message19282/">Help with extracting Email with Sendfile.tpl</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			On theBat! forum I asked previously if theBat! could automatically extract an email address from a file name, and send the file to that address, if the file name was email@emailaddress.com.txt. <br /><br />I was kindly provided 2 files, sendfile.cmd and sendfile.tpl (shown below) and they worked successfully on my PC desktop. Thank you. <br /><br />Now I have installed theBat! on a Windows 2003 server and can send emails fine manually. But I have yet to be successful at "automatically extracting an email address from a file name, and send the file to that address, with the 2 files: sendfile.cmd and sendfile.tpl."<br /><br />I believe I have re-created on the server, the same thing I have working on my PC. But I've changed the paths in the 2 files to match the path in the server. I've scheduled theBat! to start the program:<br />C:\Documents and Settings\BAT\Sendfile.cmd<br /><br />I can see the file being activated, but it doesn't work. There is no outgoing or sent mail.<br /><br />What am I forgetting? What am I missing? What should I look at? Any suggestions would be GREATLY, greatly appreciated.<br /><br />Sendfile.cmd <br />For %%i in ("C:\Documents and Settings\TA*.txt") do "C:\Program Files\The Bat!\thebat.exe" /MailT="C:\Documents and Settings\BAT\Sendfile.tpl";A="%%i";To="%%i";S="%%i";Send<br /><br />Sendfile.tpl<br />%SetPattRegExp='C:\\Documents and Settings\\BAT\\TA\\(.*?)~~(.*?)\.txt'%- <br />%RegExpBlindMatch='%To'%- <br />%ModifyOnce(To)%- <br />%SetHeader(To,%SubPatt='1')%- <br />Hi %ABToFirstName="%ToFName",<br /><br /><br /> <br />
			<i>05 September 2007 04:18:09, <a href="http://www.ritlabs.com/en/forums/">Alex</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic5056/message19282/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic5056/message19282/</guid>
			<pubDate>Wed, 05 Sep 2007 04:18:09 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
	</channel>
</rss>
