Comments (3)
Are you comparing the current approach returning strings or returning Error objects?
from node-ses.
I'm concerned about the Object usage instead of Error.
Particularly when the Error
interface is lost
The used property Message
is not compliant with the javascript world.
The error handling will be a nightmare.
from node-ses.
I agree that returning an Error object instead of plain object could be helpful.
The properties Type
, Code
and Message
were chosen for consistency with the other responses that Amazon provides.
You are welcome to propose the specifics of an alternate approach. If it's not backwards-compatible, impact on existing code bases using node-ses
should be considered.
The official AWS JavaScript SDK and node-mailer
may be useful references.
from node-ses.
Related Issues (20)
- AWS SES having problems and the library fails at email.js line 230 HOT 2
- Unable to overwrite client key in sendEmail options HOT 1
- Set ConfigurationSetName HOT 4
- Using within Lambda HOT 1
- How do i send html emailer via raw message? HOT 1
- Does this conform with RFC 2822? HOT 1
- credentials HOT 1
- Add Promise-based interface (breaking change) HOT 1
- Add TypeScript types HOT 1
- SignatureDoesNotMatch HOT 12
- Signing broken in `v3.0.0` HOT 8
- sendEmail() doesn't work with special character in message HOT 9
- Serverless sls lambda error HOT 1
- How to use my html template? HOT 1
- SIGv4 signed requests using header will start to fail progressively after 10/29 HOT 1
- Signature Version 4 requests that include a signed \'connection\' header HOT 2
- InvalidClientTokenId HOT 3
- Update dependencies HOT 1
- [Question] Are AWS access keys required when running within AWS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ses.