Does anyone know how to send email using Natural on Mainframe and Unix/Linux platform? Does anyone have programs to do it?
There is a similar topic on Windows platform, but I would like to know if anyone knows in other platforms.
It seems is easy to send email using EntireX, because we can find many objects to do it, included the example in the other topic, but I would like to think in customers that don’t have this product installed. Otherwise, If I use Natural on Windows sending email, I need to have this product installed into the server.
Please let me know if It is possible to do.
It’s easy on Unix / Linux, you just issue the “mail” command using Natural’s SHCMD interface.
On the mainframe it depends on which environment we are talking about (COM-PLETE, CICS, TSO, Batch, …) and how easily you can open a TCP socket to talk to a SMTP server directly.
Alternatively, you may want to check out batch SMTP facilities in z/OS, for a start you may want to read [url]http://planetmvs.com/mvsmail/index.html[/url]
Thank you for answering my question. I will test it and I will let you know about the results.
Here I wrote a short example for mailing on Linux/Unix:
How can I send an email from an online natural library? I can send an email in batch, but I have had numerous people ask if we can redirect %h to email. I run both in Complete and CICS on z/OS machines. Any suggestions would be appreciated.