Skip to main content
Skip table of contents

Get Content in Flow

The following example extracts content from a flow.

function Flow_GetContent (dpiMsg, ruleEngine)
  require 'LOG'
  -- NOTE: You can extract content from smtp, http, and/or ftp_data protocols.
  local protocol = "smtp"
  if (GetLatestApplication(dpiMsg) == protocol) then
    local smtpDataContent = GetContent(dpiMsg, protocol)
    EZINFO("Smtp Content: " .. smtpDataContent)
  end
end
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.