Skip to content

Commit d196d70

Browse files
committed
Compose "from" from the username@host
Otherwise with current server we get Mail command failed: 501 <***>: sender address must contain a domain
1 parent 9df4aa2 commit d196d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/daily-status.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
password: ${{ secrets.NOTIFY_SMTP_PASSWORD }}
5454
secure: ${{ secrets.NOTIFY_SMTP_SECURE }}
5555
ignore_cert: ${{ secrets.NOTIFY_SMTP_IGNORE_CERT }}
56-
from: GitHub Actions Notifications
56+
from: "GitHub Actions Notifications <${{ secrets.NOTIFY_SMTP_USERNAME }}@${{ secrets.NOTIFY_SMTP_HOST }}>"
5757
to: ${{ secrets.DAILY_STATUS_RECIPIENTS }}
5858
subject: ${{ steps.content.outputs.subject }}
5959
html_body: file://git-annex-ci-reports/index.html

0 commit comments

Comments
 (0)