# Sending Email from Natural on Windows

**URL:** <https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Code-Samples, Natural-on-Windows-Unix\
**Created:** [May 3, 2006, 1:03am UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901 "2006-05-03T01:03:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chad\_Scott](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chad\_Scott](https://techcommunity.softwareag.com/u/Chad_Scott)\
**Post date:** [May 3, 2006, 1:03am UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/1 "2006-05-03T01:03:08Z")

</div>

The attachment is a subprogram that can be used to send email from Natural. It uses the CDO.Message object which can be configured with the SMTP server, port, etc. which means that other software does not need to be configured prior to sending the email (Outlook, etc.).

Have fun,  
Chad Scott

See below for updated version.

---

<div class="post-metadata">

**Author:** ![sudha](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@sudha](https://techcommunity.softwareag.com/u/sudha)\
**Post date:** [June 3, 2006, 12:00pm UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/2 "2006-06-03T12:00:32Z")

</div>

Scott,

when i tried to download this file, its getting downloaded woth .php extension which is not in readable format.

what is the .php extension?

do we need to install any special software to read this file?

could you please let me know?

Thanks,  
Sudha

---

<div class="post-metadata">

**Author:** ![Chad\_Scott](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chad\_Scott](https://techcommunity.softwareag.com/u/Chad_Scott)\
**Post date:** [June 5, 2006, 9:45pm UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/3 "2006-06-05T21:45:42Z")

</div>

It appears to be a “feature” of the forum download, I tried it and it defaulted to the filename download.php. I just changed the name to Email-X2.zip and it seemed to work OK.

Chad.

---

<div class="post-metadata">

**Author:** ![sudha](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@sudha](https://techcommunity.softwareag.com/u/sudha)\
**Post date:** [July 8, 2006, 1:48pm UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/4 "2006-07-08T13:48:33Z")

</div>

Chad,

Thanks much!  
your solution worked.  
I renamed the file.Now I’m able to view the file.  
It was long time since i logged in this forum.  
Thanks for your help.

🙂 Thanks,  
Sudha

---

<div class="post-metadata">

**Author:** ![Alejandro\_Espinosa1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/alejandro_espinosa1/32/175_2.png) [@Alejandro\_Espinosa1](https://techcommunity.softwareag.com/u/Alejandro_Espinosa1)\
**Post date:** [April 23, 2008, 1:27am UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/5 "2008-04-23T01:27:00Z")

</div>

how can activate the Acknowledge receipt, sending the email…

thak

---

<div class="post-metadata">

**Author:** ![Chad\_Scott](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chad\_Scott](https://techcommunity.softwareag.com/u/Chad_Scott)\
**Post date:** [May 12, 2008, 9:26am UTC](https://techcommunity.softwareag.com/t/sending-email-from-natural-on-windows/60901/6 "2008-05-12T09:26:16Z")

</div>

Here is an updated version that adds server authentication and return receipt options.  
[EMAIL-X2.zip](https://techcommunity.softwareag.com/uploads/short-url/yUVOV4ZS08ovWZTZU6PJXNndh12.zip) (5.3 KB)

---

<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/sending-email-from-natural-on-windows/60901/7 "2021-04-02T14:40:36Z")

</div>


