1
0

added mime version to sendQAMail

This commit is contained in:
Robert Rosendahl 2025-01-16 18:40:49 +01:00
parent d30326433c
commit aa4bff58a3

View File

@ -38,6 +38,7 @@ jobs:
echo "From: ${{ vars.SMTP_SENDER }}" > email.html echo "From: ${{ vars.SMTP_SENDER }}" > email.html
echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html echo "To: ${{ vars.SMTP_QA_RECIPIENT }}" >> email.html
echo "Content-Type: text/html; charset=UTF-8" >> email.html echo "Content-Type: text/html; charset=UTF-8" >> email.html
echo "Mime-Version: 1.0" >> email.html
echo "" >> email.html echo "" >> email.html
echo "<html>" >> email.html echo "<html>" >> email.html
@ -47,7 +48,7 @@ jobs:
echo "<p><strong>Milestone:</strong> ${{ inputs.milestone }}</p>" >> email.html echo "<p><strong>Milestone:</strong> ${{ inputs.milestone }}</p>" >> email.html
echo "<p>Eine Auflistung der gelösten Issues findest du <a href="https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}">hier</a></p>" >> email.html echo "<p>Eine Auflistung der gelösten Issues findest du <a href="https://gitea.greyhound-software.com/greyhound/dashboard/milestone/${{ inputs.milestone }}">hier</a></p>" >> email.html
echo "</body>" >> email.html echo "</body>" >> email.html
echo "</html>" >> email.html echo "</html>" >> email.html
- name: Send Email - name: Send Email
run: | run: |
msmtp --debug ${{ vars.SMTP_QA_RECIPIENT }} < email.html msmtp --debug ${{ vars.SMTP_QA_RECIPIENT }} < email.html