docs

Home All functions Legacy functions Categories

vuSmtpGetFromReplyTo()

Clarion prototype

Prototype: vuSmtpGetFromReplyTo(*CSTRING OutFromEmail, *CSTRING OutReplyToEmail), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSmtpGetFromReplyTo’)

Purpose

Reads default From and Reply-To values from vuMailKit runtime globals.

Parameters

| Parameter | Type | Description | |—|—|—| | OutFromEmail | *CSTRING | Output buffer receiving current sender address. | | OutReplyToEmail | *CSTRING | Output buffer receiving current reply-to address. |

Return value / error codes

| Value | Meaning | |—|—| | 1 | Success. |

Example (Clarion)

rc        LONG
fromAddr  CSTRING(260)
replyTo   CSTRING(260)

CLEAR(fromAddr)
CLEAR(replyTo)
rc = vuSmtpGetFromReplyTo(fromAddr, replyTo)
IF rc = 1
  MESSAGE('From=' & fromAddr & ' Reply-To=' & replyTo)
ELSE
  MESSAGE('vuSmtpGetFromReplyTo failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories