aheckmann / node-ses

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

Unable to overwrite client key in sendEmail options #43

Closed bondo closed 7 years ago

bondo commented 7 years ago

I believe this line https://github.com/aheckmann/node-ses/blob/ac619185d77604650987cfa0cb51c690f972ec43/lib/ses.js#L60 should read options.key = options.key || this.key; (like it does in the sendRawEmail case)

markstos commented 7 years ago

Looks right to me. Published as node-ses@2.0.5.