vuPOP3SaveEmbeddedOne()
Clarion prototype
Prototype: vuPOP3SaveEmbeddedOne(LONG Index), SIGNED, PROC, PASCAL, RAW, NAME(‘vuPOP3SaveEmbeddedOne’)
Purpose
Saves one embedded (inline) content item from the currently loaded POP3 message by index.
Parameters
| Parameter |
Type |
Description |
| Index |
LONG |
1-based embedded content index. |
Return value / error codes
| Value |
Meaning |
| 1 |
Embedded content item saved successfully. |
| 0 |
Invalid index, item not found, or save failed. |
Example (Clarion)
rc LONG
index LONG
index = 1
rc = vuPOP3SaveEmbeddedOne(index)
IF rc = 0
MESSAGE('Embedded content save failed for index ' & index)
END
Notes
- Call vuPOP3LoadEmail before saving embedded content.
- Output folder comes from vuPOP3SetFolder / POP3 folder configuration.