GetLastMailError

Error handling

Description

Returns the validation, temporary-save, platform or transport error from the most recent SendDocumentByMail call on this instance

A successful send clears the value; the string is diagnostic text and is not a stable machine-readable error code

Syntax

Delphi

Function TPDFlib.GetLastMailError: WideString;

Return values

Empty stringNo mail error is currently recorded
Non-empty stringDescription returned by the validation, save or provider layer