dawidd6 / action-send-mail

:gear: A GitHub Action to send an email to multiple recipients
MIT License
443 stars 186 forks source link

Retry on error mechanism #203

Closed pPrecel closed 5 months ago

pPrecel commented 5 months ago

Description:

From time to time I got the error:

Error: Invalid login: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect.

It looks like something is not ok with creds passed to the action, but it's not. Re-running the failed workflow or this specific step is enough to send mail.

It would be really helpful if the send-mail action had a configurable retry mechanism to cover such cases when a step fails with such a dummy error

dawidd6 commented 5 months ago

Is this PR something you would be happy with? https://github.com/dawidd6/action-send-mail/pull/197

If not, please submit another PR.

pPrecel commented 5 months ago

yes! thanks. I can't wait for the new release :)