Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am a novice Linux user. We use IBM Universe BASIC on a Linux platform.
An administrator configured POSTFIX, then I googled until I figured out how to use the thing, manually. Now I'm trying to send email from a Universe program. It almost works perfectly. Here is the source code:
EXECUTE 'SH -c "nail [email protected]
-r [email protected]
DATA will put "keyboard input" on a stack, until the system 'prompts' for it, and then it just takes it from the stack. The first DATA is just an ENTER keypress, the second is supposed to be CTRL-D, but the full stop does the same, except that is does not attach junk to the email.
Instead, the message body contains ".", which is fine kind of, but I would like it to be 100%.
It's almost like when the Linux shell runs, it does not care anymore about DATA or any other Universe command, because control is now at a different level. To be honest, I'm not even sure why the "." works.
Anyone, how can I 'feed' the CTRL-D along with the rest of the email data to the Linux level (oterwise it just hangs, waiting for it..)??
I know this is kind of a weird one, but any insights or advice would be great.
Thanks a lot
0 · ·