mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
832610fd2a
fixes https://github.com/TryGhost/Team/issues/2560 When an email fails, and you reschedule the post, the error dialog was shown (from the previous try). The retry button on that page allowed you to retry sending the email immediately, which could be very confusing. - The email error dialog is no longer shown for scheduled emails - The email status is no longer polled for scheduled emails - Retrying an email is not possible via the API if the post status is not published or sent - Added some extra snapshot tests - When retrying an email, we immediately update the email status to 'pending' to have a better API response (instead of still returning failed). - Disabled email sending retrying in development (otherwise very hard to test failed emails if it takes 10 mins before it gives up automatic retrying) |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |
Email Service
Manages how posts are sent via email
Usage
Develop
This is a monorepo package.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Test
yarn lint
run just eslintyarn test
run lint and tests