Doccument or sample code to read email from progress 4gl in unix.

rajendran

Member
could someone point me some documnets for reading email through progress.I see lot of information for sending email but not for reading email through progress in unix.
 

Cecil

19+ years progress programming and still learning.
I use sendmail service to call a shell script each time there is an inbound email for a particular email address. In the shell script I use an additional command line tool called ripmime. Ripmime extract the attachments to files and the message body to html/ascii files.

Once I have a directory of files I then call a progress .p program to process the files.

Ref:
http://www.pldaniels.com/ripmime/
 

TomBascom

Curmudgeon
So the email part is actually under control and you really just need to know how to read a file?

You failed to mention what version of Progress you are using but unless it is an incredibly ancient, obsolete and unsupported release COPY-LOB is your friend whenever you need to read a file.
 
Top