Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtSmtpMessageAuthenticator.StampMessage

function StampMessage(const aData: tBytes; const aReport: tSmtpAuthReport): tBytes; overload;
aData with the results field prepended, and with any inbound Authentication-Results claiming to be from this host renamed first - cSmtpForgedFieldPrefix; its authserv-id read as SmtpAuthServId reads it - when StripInboundResults is on, and any bearing a version this unit does not support removed whoever it names (SmtpAuthResultsVersion). The message below the new field is otherwise byte for byte as it was. The overload adds what it took away to aStripped, for the X-Stripped-Fields note SmtpStampDnsWarnings writes; without it that is not noted.
function StampMessage(const aData: tBytes; const aReport: tSmtpAuthReport; var aStripped: tSmtpStrippedFields): tBytes;