mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
23 lines • 916 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var AwsSesSendResult_1 = __importDefault(require("../AwsSesSendResult"));
var CoreAwsSesServiceClient = (function () {
function CoreAwsSesServiceClient(service) {
this.service = service;
}
CoreAwsSesServiceClient.prototype.sendEmail = function (toAddress, fromAddress, subject, body) {
var args = {
body: body,
fromAddress: fromAddress,
subject: subject,
toAddress: toAddress
};
return this.service.callFunction("send", [args], AwsSesSendResult_1.default.Decoder);
};
return CoreAwsSesServiceClient;
}());
exports.default = CoreAwsSesServiceClient;
//# sourceMappingURL=CoreAwsSesServiceClient.js.map