E-mail on Natural Web (Unix)

Hi.
Please, a need some help.
I would like to know how to send e-mail from a Natural Web program running on Unix?

Thanks in advance.

Santana/Brazil

Hello santana!

I don’t know what a “Natural Web program” is. But of course it is possible to write e-mail from Unix - even in batch mode. But it depends on the sort of Unix you are using and the configuration of that system.

But almost every Unix should know the commands mail or mailx. On my system sending an e-mail looks like this:

echo "this is my mail text" | mailx -s "My subject" user@host.com

And if I want a Natural program to execute that command, I would use a “CALL SHCMD” for that.

Hope this helps.