New docs portal launching December 21st! All Exabeam, LogRhythm, and API documentation is moving to docs.exabeam.com. Existing links will redirect automatically, but we recommend updating your bookmarks.
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0
5.0.7 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 5.0.0

Get SMTP Content in Flow

The following example extracts SMTP content from a flow.

function Flow_GetSmtpContentInFlow (dpiMessage, ruleEngine) require 'LOG' local my_application = GetLatestApplication(dpiMessage) if my_application == 'smtp' then local smtp_content = GetSmtpContent(dpiMessage) if smtp_content ~= nil and smtp_content ~= '' then -- smtp_content contains data from the SMTP flow. else EZINFO('Empty SMTP content') end endend