aheckmann / node-ses

An Amazon SES api for nodejs with proper error handling.
http://aheckmann.github.com/node-ses
MIT License
200 stars 37 forks source link

One of your two methods doesn't exist #23

Closed AndrewRayCode closed 9 years ago

AndrewRayCode commented 9 years ago

There is no sendEmail function. Really hope I'm missing something!

Verified on linux and osx

Version 1.0.2

$ node
> var ses = require('node-ses');
undefined
> var client = ses.createClient({ key: 'a', secret: 'b' });
undefined
> client.sendEmail();
TypeError: Object #<SESClient> has no method 'sendEmail'
markstos commented 9 years ago

You are confusing the published source code from npmjs.org with the documentation for an unreleased version on Github.

On Fri, Aug 21, 2015, 9:30 PM Andrew Ray notifications@github.com wrote:

There is no sendEmail function. Really hope I'm missing something!

Verified on linux and osx

Version 1.0.2

$ node

var ses = require('node-ses'); undefined var client = ses.createClient({ key: 'a', secret: 'b' }); undefined client.sendEmail(); TypeError: Object # has no method 'sendEmail'

— Reply to this email directly or view it on GitHub https://github.com/aheckmann/node-ses/issues/23.