Paul,
Thursday, December 12, 2002 you wrote:

PI>   1. Travel agent sends a email to client with internaery as a .txt
PI>   file. This is not Imail it is sent from a Res system.
  
PI>   2. Agent adds a address to the program alias in the cc of email.

PI>   3. Email is read by program and entered in to a DB.

PI>   Anyone done something like this???

      Yes.

PI>   What would be the best way to go about it???

      program alias.

PI>   I think I can read the text from the file and enter it into the DB
PI>   but i am not sure on the setup with Imail.

PI>   Do i setup an alias that forwards to the program alias?
      I like to use bat files like this -
      Program alias:
         myprogram
         C:\somedir\myprogram.bat

      myprogram.bat:
         rem do some stuff if you need to
         rem the %1 is the message file
         cd c:\proggies
         myprogram.pl %1
         rem or whatever flavor you like to program

      or you can go directly - using Perl you'd do something like:
      "C:\Perl\bin\perl.exe c:\proggies\myprogram.pl"
      (no need for the %1 here of course)
      
PI> Do i need a MBX for this to store the mail as it is read?

    Whoops I may not be understanding. Your program has to parse the
    message, extract any contents, including any attachments, and then
    do with it whatever you need.

HTH -

Terry Fritts


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to