Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

SmtpParsePath

function SmtpParsePath(const aArg: string; aAllowUtf8: Boolean; out aPath: string; out aWhy: string): Boolean;
Extracts the bare address from a path argument: '<a@b>' and 'a@b' both give 'a@b', '<>' gives '' with True. False means the argument was not a path this server will accept, and aWhy says why (for the 501 text).