Hi kw1803!
If you were to create a program to interact with an e-mail client, the
approach needed would depend very much upon what e-mail client is in question.
One can use DDE for example. However I feel that there are much better ways
of creating the functionality you want. If I am understanding you correctly,
you wish to write info from a received mail to an external text file
or database. I think a better approach to this problem, is to create
an application
that communicates with the e-mail pop3 server instead, checking with intervals
if new mail has arrived. You set your e-mail client (eudora, OE, or any other
client), to leave a copy of the messages on a server for a suiting
period of time. By doing so your application would have the ability to
process all received files. An even better approach, if you have the
resources, would be to make a small perl script that runs in crontab
under linux, that periodically processes all mail from one account,
and then forwards them to an e-mail account that the client is set to
check.
If you give me some further details on your problem, it would be easier
for me to provide a possible solution.
Best regards,
Trym |