Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    MailReport suppress headers

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 637 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jdw
      last edited by

      MailReport provides the executed command in the command output displayed in emails, with a <pre> html tag on lines 63-65 of mail_reports_generate.php
      This can be problematic for html formatted command output. It would be really nice to have a "Hide Executed Command" option next to the Skip If No Content check box, on lines 235-240 of status_mail_report_edit.php.

      Report Settings
      Hide Executed Command
      Do not send the executed command string in output
      If checked, the report will only provide the raw output of the command and not the command line input used to generate output.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.