Giter Site home page Giter Site logo

aws-lambda-send-ses-email's People

Contributors

mwhouser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-lambda-send-ses-email's Issues

Hidden email list of receiver

Hi guy,
Thank you for the public repos. I have an issues when I sent an email to a list email.
How can I hide other emails from the receiver?

Thanks and regards,

Video tutorial

Would be great to have a Video tutorial on how to set this up from start to finish!

Only able to send mail with email address on config.js

Hi,

I implemented your configuration but I have issue. I would like to launch automatic notification with value of Input Parameters to the test event and not parameters on the Config.js file .

With config.js :

var config = {
"templateBucket" : "JudesBucket",
"templateKey" : "Templates/Template.html",
"fromAddress": "[email protected]",
"targetAddress" : "[email protected]"
}
module.exports = config

With test event parameters input:
{
"name": "JuDes notification",
"email": "[email protected]"
"message": " test message"
}

Template.html :

Email: {{email}}
Name: {{name}}

{{message}}

On the Lambda Success message, I receive the success notification " email sent to [email protected]" . It will be correct if It was the case .... but it is not send for this address but for the targetAddress "[email protected]" on the config.js file.

I`m not able to comment targetAddress else i obtained error with requiere parameters.

Are you able to help me please,

Thanks by advance

Cannot call method 'match' of undefined

Created my own ZIP as described with the provided code and added the mentioned Markup.js. However, there were some minor errors:

  1. You have to declare the AWS region if not in the standard one.
  2. There is a typo in index.js when invoking the Markup.js (Markup-js instead of Markup.js)

Once solved these it throws the "Cannot call method 'match' of undefined" error.

Here's the log:
START RequestId: 15c2b976-fa62-11e5-ae3d-eb178e7400bf Version: $LATEST 2016-04-04T12:38:08.765Z 15c2b976-fa62-11e5-ae3d-eb178e7400bf Event: {"email":"[email protected]","name":"Customer Name","message":"Hello World! Going to the moon!"} 2016-04-04T12:38:08.765Z 15c2b976-fa62-11e5-ae3d-eb178e7400bf Loading template from Templates/Template.html in mailtest.staticmailer.com 2016-04-04T12:38:09.405Z 15c2b976-fa62-11e5-ae3d-eb178e7400bf Template Body: ���2016-04-04T12:38:09.566Z 15c2b976-fa62-11e5-ae3d-eb178e7400bf TypeError: Cannot call method 'match' of undefined at Object.Mark.up (/var/task/markup.js:158:25) at Response.<anonymous> (/var/task/index.js:62:32) at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:354:18) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:596:14) at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:21:10) at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12) at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10 at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:37:9) END RequestId: 15c2b976-fa62-11e5-ae3d-eb178e7400bf REPORT RequestId: 15c2b976-fa62-11e5-ae3d-eb178e7400bf Duration: 892.83 ms Billed Duration: 900 ms Memory Size: 128 MB Max Memory Used: 16 MB Process exited before completing request

Any idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.