# SMTP Send E-Mail

Send an e-mail through a SMTP server.

Action available for the following operating systems:

![](/files/-MGIiDGuNcrVFP-DbUma)

### Parameters

*From*

* **Sender Name** *\<string> -* Name of the e-mail sender.
* **Sender Address** *\<string> -* e-mail addres of the sender.

*To*

* **Type** *\<unquoted string> -* Type of the destination contact. The possible values are:
  * To
  * CC
  * dynamic
* **Name** *\<string> -* Name of destination contact.
* **Address** *\<string> -* e-mail address of destination contact.

*Subject/Body*

* **Subject** *\<string> -* Subject of the e-mail to send.
* **Body** *\<string> -* Body of the e-mail to send.

*Attach*

* **Attachment** *\<string> -* Attachment to the e-mail to send.

{% hint style="info" %}
It is possible to add several e-mail´s in option To, separeted by Charact(13) (CR character).\
In case of adding more than one e-mail you need to add the same number in both “Name” and “Address” option.
{% endhint %}

{% hint style="info" %}
It is possible to add several attachment´s, separeted by Charact(13) (CR character).
{% endhint %}

{% hint style="info" %}
If the Body has an \<html> tag in the beginning it will be treated as an Html message instead of plain text.
{% endhint %}

{% hint style="info" %}
Attachments are identified with "Content-ID" with value **emailattach@\[INDEX]** where \[INDEX] is the attachment index, starting with 1.

For example, an e-mail with 2 attachments will have:\
**emailattach\@1** and **emailattach\@2**

When composing an HTML e-mail, they can be used for example to embed images in html, using cid for example:

*\<img src="cid:emailattach\@1">*

*\<img src="cid:emailattach\@2">*\
...
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-email/smtp-send-e-mail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
