Log port and TLS details for a failed delivery