# E-mail on Natural Web (Unix)

**URL:** <https://techcommunity.softwareag.com/t/e-mail-on-natural-web-unix/61262>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Code-Samples\
**Created:** [July 28, 2006, 1:05am UTC](https://techcommunity.softwareag.com/t/e-mail-on-natural-web-unix/61262 "2006-07-28T01:05:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![santana](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@santana](https://techcommunity.softwareag.com/u/santana)\
**Post date:** [July 28, 2006, 1:05am UTC](https://techcommunity.softwareag.com/t/e-mail-on-natural-web-unix/61262/1 "2006-07-28T01:05:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [July 28, 2006, 1:00pm UTC](https://techcommunity.softwareag.com/t/e-mail-on-natural-web-unix/61262/2 "2006-07-28T13:00:46Z")

</div>

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:

```auto
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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/e-mail-on-natural-web-unix/61262/3 "2021-04-02T14:40:45Z")

</div>


