I use the chat client Digsby: <[login to view URL]>
It saves chat logs in HTML format in the folder 'My Documents/Digsby Logs/--DigsbyUsername--/--ChatService--/--ChatServiceUsername--/--CorrespondentUsername--/[login to view URL]
So after a while of using multiple chat services and talking to different people on different dates, it will create a whole folder tree of HTML logs.
...
I need a program for Win 7 (32 bit) that will monitor 'My Documents/Digsby Logs/' for any changes and if a new chat log is added or an existing log is appended, it will email me the transcript.
Options I would like to have:
* Set the outgoing mail server
* Set the 'From:" email address, or to use the correspondent's email address
* Let me define the email subject using variables from the parsed location/file name info
* The option to send the log as the body of the email or as an attachment
* Idle time. The log writing is continuous during a chat, so it will need to send the transcript after xx minutes have passed since the last write.
For instance, I would want to be able to specify the following subject:
Chat log with %Correspondent on %Date at %Time
The method for achieving this is up to you. It will probably be easier to have a stand-alone program that works independently from Digsby. Digsby does have email sending capabilities, but I don't know how hard it would be to integrate with it.
It could also be built as a Thunderbird plugin (as long as it will work on V 2.0 and up) I would prefer this, as I always have Thunderbird running anyway).
Please specify the programming language you would use, and any additional requirements it would need.
I will need to receive the source code with full usage rights, but you may keep, sell, distribute and take credit for the project as long as I receive lifetime free upgrades on any updates you make. I only need this for my own personal use.
This is a personal project and my budget is small. This program really shouldn't be too complicated if you think about it. Check for file changes and email contents if updates are made.