How to send an email from the Hipchat Server terminal

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Purpose

To describe methods by which email can be sent from the Hipchat Server terminal/command-line interface.

Solution

Hipchat Server includes a Postfix mail environment, which uses the sendmail command. To send an email using this command:

  1. Generate an email using vim or nano with the following format:

    To: <toAddressGoesHere>
    Subject: <emailSubjectGoesHere>
    <MessageBodyGoesHere>
    Please note that the "To:" address defined above will not determine where the email is sent - it only modifies the appearance of the email in the recipients inbox.

  2. Use the following command to send the message:

    sendmail email@example.com < <messageFile>



Last modified on Jan 19, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.