I originally made a PR for this change against jdelibas' fork, seeing as that one has a Dockerfile. But there's been no response there, and it seems you've made changes in the last few months, so I was hoping you might take a look at this 🙂
Details copied over from the other PR:
Currently aws-ses-local requires that both html and text bodies be present.
If you try manually sending a request to the real SES, you'll find that it does allow you to omit one of them (as long as you have the other).
This PR makes it so that requests succeed as long as at least one of the two has been given.
Coverage increased (+2.6%) to 88.095% when pulling 09f12676c4dda45a9ac0e38868ac4b2b9fe29f28 on camjackson:allow-text-or-html into 1381c029d8ed5f22a00de559544e225af0b81d52 on Si1kIfY:master.
I originally made a PR for this change against jdelibas' fork, seeing as that one has a Dockerfile. But there's been no response there, and it seems you've made changes in the last few months, so I was hoping you might take a look at this 🙂
Details copied over from the other PR:
Currently aws-ses-local requires that both html and text bodies be present.
If you try manually sending a request to the real SES, you'll find that it does allow you to omit one of them (as long as you have the other).
This PR makes it so that requests succeed as long as at least one of the two has been given.