Generating an email activity report using the CLI

Prev Next

Use the commands in this section to generate a consolidated Email Activity report.

Note

Before a report can be generated and sent through email, ensure that the SMTP server or domain is configured. You must also specify the email address of the report recipient. For details about configuring these report settings, refer to the Email Security — Server System Administration Guide

To generate an Email Activity report:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify an Email Activity report.

    hostname (config) # report generate type email_activity
  3. Write the report to an Adobe PDF file.

    hostname (config) # report generate type email_activity report_format pdf
  4. Specify the time period for this report.

    • To specify for the past week:

      hostname (config) # report generate type email_activity report_format <report_format> time_frame past_week
    • To specify for the past month:

      hostname (config) # report generate type email_activity report_format <report_format> time_frame past_month
  5. Specify the delivery method for the report. The default delivery is email.

    • To deliver the report through email:

      hostname (config) # report generate type email_activity report_format <report_format> time_frame <time_frame> transport email
    • To deliver the report as a file:

      hostname (config) # report generate type email_activity report_format <report_format> time_frame <time_frame> transport file

The following example shows how to deliver an Email Activity report as a .pdf file covering the past week:

hostname (config) # report generate type email_activity report_format pdf time_frame past_week transport file
Execute report command. Check email or WebUI for report.