Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow text or html or both, but not neither #10

Merged
merged 2 commits into from Oct 25, 2017
Merged

Allow text or html or both, but not neither #10

merged 2 commits into from Oct 25, 2017

Conversation

camjackson
Copy link
Contributor

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.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.6%) to 88.095% when pulling 09f1267 on camjackson:allow-text-or-html into 1381c02 on Si1kIfY:master.

@csi-lk
Copy link
Owner

csi-lk commented Oct 25, 2017

Looks good, thanks for the PR, i'll version a new npm release hopefully tonight

@csi-lk csi-lk merged commit 9c91a41 into csi-lk:master Oct 25, 2017
@camjackson camjackson deleted the allow-text-or-html branch October 27, 2017 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants