Hallo Dave,

On Thu, 7 Aug 2003 11:19:20 -0400GMT (7-8-03, 17:19 +0200, where I
live), you wrote:

DK> What if I wanted to "pre-process" an e-mail before it was sent?
DK> How would I do that?

That would depend on how you generated the e-mail. In case of an
e-mail that's automatically created by a filter that was triggered by
an incoming mail, you could do the pre-processing in the same filter.
In case of a message that's created by an external program, you could
do the pre-processing via a batch-file.
In case of a message that you wrote yourself, you could use a filter
that's bound to a hotkey and call that filter manually after
finishing your message.

You could use a third party tool too. Something like a local smtp
server/proxy. In that case you could do some processing after TB sent
the message, but before it's let loose on the Internet.

DK> The external program launches an SSH tunnelling session.  See the
DK> thread "Using SSH with TB!" for details.  I started this new
DK> thread to focus on how the external program stuff works.

Well, in that thread you mention you don't want to keep your
SSH-tunnel open only when you've got an e-mail to send. I suppose you
could create a batch-file that opens your SSH-tunnel, tells TB to send
it's mail and close the tunnel.
Only thing to remember would be that you don't send mail with TB's
'send mail' button, but by clicking the shortcut on your desktop
belonging to the batch-file.
You can force TB to send mail from the commandline with:
"C:\Program Files\The Bat!\TheBat.EXE" /Send*
How you start and close your tunnel is up to you. ;-)

Another option would be to start your SSH-tunnel from a batch-file
that also starts TB. Thus you'd only have your tunnel running when
TB's alive, but that's no option when you've got TB open all the time
like I have.

-- 
Groetjes, Roelof


________________________________________________
Current version is 1.62r | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to