We’ve created a system flow that sends e-mails via a ‘queue’ table. We capture the SMTP status code in a process variabele and act according to the response. The SMTP status code will be updated in the queue table.
When testing we try to set-up a recipient with an incorrect e-mail address. The response we expect is status code ‘-4’ (Unsuccessful (one or more addressees could not be reached)) but the result is ‘0’ (Succeeded)
Our task then marks the e-mail as ‘sent’ because SMTP status code 0 is returned. However Outlook itself response with a ‘Delivery has failed’.
Why does the SMTP connector return 0 and not -4?