pub:imailapis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pub:imailapis [2018/06/06 12:04] – [ESNDDTAQ] kkramer | pub:imailapis [2019/02/07 10:55] – [iMail Command APIs] kkramer | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | < | ||
+ | |||
+ | |||
====== iMail Command APIs ====== | ====== iMail Command APIs ====== | ||
Line 5: | Line 8: | ||
Note that the commands mirror the menu options available from the menu group entitled Send Mail Commands. | Note that the commands mirror the menu options available from the menu group entitled Send Mail Commands. | ||
+ | **General note:** As of iDocs release 6.90, iMail supports blank, comma or semi-colon as address separators in the TO, CC and BC addresses fields for all API's listed below. | ||
+ | < | ||
+ | Examples below: | ||
+ | ken@informdecisions.com, | ||
+ | ken@informdecisions.com, | ||
+ | ken@informdecisions.com anh@informdecisions.com | ||
+ | </ | ||
===== ECVTDBF ===== | ===== ECVTDBF ===== | ||
Line 147: | Line 157: | ||
< | < | ||
- | - Limited to emailing a single database | + | - Limited to emailing a single database file. (For multiples use command ESNDDBFS) |
- | - Limited to 80 characters for the sender and receipient | + | - Limited to 80 characters for the sender and recipient |
- | - Limited to 300 direct receipients in the To address | + | - Limited to 300 direct receipients in the To address* |
- | - Limited to 300 direct receipients in the Cc address in addition to those in the To address | + | - Limited to 300 direct receipients in the Cc address in addition to those in the To address* |
- | - Limited to 300 blind copy receipients in the Bc address | + | - Limited to 300 blind copy receipients in the Bc address* |
- Limited to 80 characters for the subject | - Limited to 80 characters for the subject | ||
- | - Limited to 2048 characters for the messsage | + | - Limited to 2048 characters for the message |
- Limited to converting the database file to the following types if the attribute is a | - Limited to converting the database file to the following types if the attribute is a | ||
- | source physical file. CSV, DIF, TXT, XLS | + | source physical file. CSV, DIF, TXT, XLS, XLSX |
- Limited to retaining the initial format if the database file to the following types if the attribute is a | - Limited to retaining the initial format if the database file to the following types if the attribute is a | ||
source save file. | source save file. | ||
- | - CSV - Maximum columns 255, Maximum column width 256 | + | - CSV - The maximum length of a database record is 32766 characters |
- | - DIF - Maximum columns 255, Maximum column width 256 | + | - DIF - The maximum length of a database record is 32766 characters |
- XLS - Maximum columns 255, Maximum column width 256 | - XLS - Maximum columns 255, Maximum column width 256 | ||
- TXT - Maximum columns 255, Maximum column width 256 | - TXT - Maximum columns 255, Maximum column width 256 | ||
+ | |||
+ | * iMail 6.90 and above supports blank, comma or semi-colon as address separators in TO, CC and BC addresses. | ||
+ | |||
</ | </ | ||
- | + | | |
- | | + | |
===== ESNDDBFS ===== | ===== ESNDDBFS ===== | ||
Line 224: | Line 236: | ||
</ | </ | ||
- | ===== ESNDFILURL ===== | + | ===== ESNDFILURL |
- | + | iDocs provides a utility to send a file from the IBM i to other system (ESNDFILURL) and receive files from other system to the IBM i (ERCVFILURL) via secured HTTP methods. With these commands, iDocs can facilitate the exchange of data with other systems via web services and a trust store. Since the integration is highly customized for each application, | |
- | This command will send a IFS File to a URL. It was added to iMail version 6.91 on 5/31/18. | + | |
+ | Below is an example for ESNDFILURL: | ||
< | < | ||
Send IFS File to URL (HTTPS) (ESNDFILURL) | Send IFS File to URL (HTTPS) (ESNDFILURL) | ||
Line 248: | Line 260: | ||
| | ||
| | ||
- | | + | |
| | ||
Type choices, press Enter. | Type choices, press Enter. | ||
Line 270: | Line 282: | ||
| | ||
</ | </ | ||
+ | Below is an example for ERCVFILURL: | ||
+ | < | ||
+ | | ||
+ | | ||
+ | Type choices, press Enter. | ||
+ | | ||
+ | HTTPS URL . . . . . . . . . . . '/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | IFS Output Directory . . . . . . '/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
- | The following describes the command qualifiers and their expected values: | + | |
- | + | </ | |
- | * **Key Value** – Enter the printer file name in this command qualifier | + | |
- | * **Data Value** – Enter the iSeries spool file attributes. | + | |
- | | ||
===== ESNDMAIL ===== | ===== ESNDMAIL ===== | ||
Line 342: | Line 378: | ||
* **MSG** – Enter the message body in this parameter value. The message text can contain a macro substitution variable that will be used to insert an email message. This message will be derived from a text file identified with a '&' | * **MSG** – Enter the message body in this parameter value. The message text can contain a macro substitution variable that will be used to insert an email message. This message will be derived from a text file identified with a '&' | ||
* **CCADDR** - Enter the copied recipients email address in this parameter. | * **CCADDR** - Enter the copied recipients email address in this parameter. | ||
- | * **BCCADDR** - Enter the blind copied recipients email address in this parameter. | + | * **BCCADDR** - Enter the blind copied recipients email address in this parameter. |
* **FROMADDR** - Enter the from email address. | * **FROMADDR** - Enter the from email address. | ||
* **ATTACH** - Enter one or more IFS directory files. | * **ATTACH** - Enter one or more IFS directory files. |
pub/imailapis.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1