Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtSmtpSmarthostAgent.Probe

function Probe(const aMailFrom: string; var aError: string): tSmtpProbeResult;
OPENS A SESSION WITH EXACTLY THE CONFIGURATION Deliver USES, then - when aMailFrom is not '' - asks whether that reverse path is acceptable and resets, then closes. NOTHING IS SUBMITTED. It never raises for a network outcome: aError gets what Deliver would have put there, and the caller decides what of it may be printed. What it proves is that this host answers, that its certificate validates against the configured anchors, that it takes this credential and that it would take mail from this sender. What it cannot prove is that a letter would be DELIVERED beyond it.