How to send an email from the Hipchat Server terminal
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
目的
To describe methods by which email can be sent from the Hipchat Server terminal/command-line interface.
ソリューション
Hipchat Server includes a Postfix mail environment, which uses the sendmail command. To send an email using this command:
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.Use the following command to send the message:
sendmail email@example.com < <messageFile>