> 5) Copy and paste the results into an Outlook New Message.
> 6) Type in our client's email address and then send it.

As Jeremy stated, e-mailing is much simpler on Unix.  However, BlatMail for
Windows works quite well, and is usable from a command line:

http://www.interlog.com/~tcharron/blat.html

>From the readme.txt:

USAGE:

syntax:
  Blat <filename> -to <recipient> [optional switches (see below)]
  Blat -install <server addr> <sender's addr> [<try>[<port>[<profile>]]]
[-q]
  Blat -profile [-delete | "<default>"] [profile1] [profileN] [-q]
  Blat -h [-q]

So you could put this in a batch file:

FTP -s:FtpScript.txt
ANALOG +gclient1.cfg client1*.log
ECHO Here's your Weekly Analog Report. > MailText.txt
BLAT MailText.txt -subject "Weekly Report" -to [EMAIL PROTECTED] -attach
c:\AnalogOutput\Client1\*.*

Where FTPScript.txt looks something like this:
------------------
OPEN ftp.host.com
USER <USER> <PASSWORD>
CD \Web\LogDirectory
PROMPT
MGET *.log
BYE
-----------------

So this could easily be totally automated on Unix or Windows.


Christopher G. Lewis
Technical Consultant
HTTP://www.ChristopherLewis.com
+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to