Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
mailclt
Published Nov 10, 2017

mailclt

Nov 10, 2017
Subscribe

To send emails from the CLI, use the mailclt utility. It is located at /opt/phion/bin. It is an internal mail client that you can use to distribute reports that are generated by specific services. For example, you can send reports that are generated by the Revision Control System.

List of all mailclt options:

[root@bart:/opt/phion/bin]# mailclt -f sender -r recipient -s subject -m mailserver-IP TEXT -a attachment -t textfile

Options

The following sections provide more information on the options that you can use with mailclt.

  • 1 -f <sender address>
  • 2 -r <recipient address>
  • 3 -s <subject>
  • 4 -m <mail server IP address>
  • 5 -a <path to attachment>
  • 6 -t <text file>
  • 7 without option
-f <sender address>

Specifies the sender's email address.

-r <recipient address>

Specifies the recipient’s email address.

-s <subject>

Specifies the email subject.

-m <mail server IP address>

Specifies the IP address for the mail server.

-a <path to attachment>

Specifies the path and name for a file attachment.

-t <text file>

Specifies a text file.

without option

IP address, but NOT the MX record of a reachable SMTP server because DNS resolution is not supported by mailclt.

Example Usage

[root@bart:/]# /opt/phion/bin/mailclt -f sender@domain.com -r recipient@domain.com -s "Mail Subject" -m 10.0.8.112 "This is the email content" -a /home/username/image.gif -t /home/username/file.txt

   


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
    • Updating CloudGen Firewalls and Control Centers
    • CloudGen Firewall Cold Spare Replacement
    • How to Generate a System Report for Barracuda Networks Technical Support
    • Command-Line Interface
      • acpfctrl
      • admintcpdump
      • Configuration Files and Tree
      • conftool
      • Dynamic Network Start and Stop Scripts
      • How to Create PAR or PCA Files on the Command Line
      • How to Back Up and Restore CC Archive PAR Files on the Command Line
      • Public Cloud Provisioning Command Line Tools
      • ktinactrl
      • Linux Networking Commands
      • ltectrl
      • mailclt
      • phibstest
      • phion
      • phionar and conftool
      • phionctrl
      • phionrcscleanup
      • showbdb
      • statcheck
      • vpnadminclt
      • How to Perform a Release Check
      • CLI Commands for Barracuda 3G USB Modems
      • Basic Linux Command Line Interface Guide
      • How to Configure SSH
    • Cronjobs
    • How to Configure the Bootloader
    • How to Configure Advanced Barracuda OS System Settings
    • How to Configure SMS Control
    • Backups and Recovery
    • How to Update the BIOS on the CloudGen Firewall
    • Interpreting SSD Wearout Indicators for CloudGen Firewall Hardware Models
    • How to Display Server-to-Assigned-Services migrated HA Firewalls with the Server-Services Node Structure (for maintenance purposes only)
    • IPMI Appliance Management
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 13, "requestCorrelationId": "d147ac518cdd4de19adda45bd874a2f9"}