Subj : Re: Use functions To : comp.programming From : rem642b Date : Wed Jul 27 2005 12:13 pm > From: futureofai@gmail.com > I need to send an email and receive an email using my program. My > program is in COBOL and as you know it has no features to access mail > servers and so on. I can write to a file and read input from a file. Is > there any way I can achieve this? If you're trying to do this on Unix or Linux, you can use a FIFO to pass data between the COBOL program and any other program you want. The FIFO looks (to the program) just like a disk file, but in fact it's a facade for a pipe between one process writing to it and another process reading from it. Use two FIFOs if you want to get a response back in the other direction too. .