Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set sendgrid details ? #46

Closed
vamsiikrishna opened this issue Apr 2, 2013 · 4 comments
Closed

How to set sendgrid details ? #46

vamsiikrishna opened this issue Apr 2, 2013 · 4 comments

Comments

@vamsiikrishna
Copy link

How do I pass sendgrid auth details ?

regards

@vamsiikrishna
Copy link
Author

I am trying it like this , but still not receiving email .

 var godot = require('godot');

 godot.createServer({

type: 'tcp',
reactors: [
  godot.reactor()
    .where('service', '*/health/heartbeat')
    .expire(1000 * 60)
    .email({ 
      auth: {
        user: 'xx',
        key: 'xx'
      },
      to: 'example@example.com' 
    })
]

}).listen(9876);

update, getting this error

this.client = options.client || new SendGrid(this.auth);
^
ReferenceError: SendGrid is not defined

@jcrugzz
Copy link
Member

jcrugzz commented Apr 7, 2013

Looking into this @vamsiikrishna :)

@mmalecki
Copy link
Contributor

mmalecki commented Apr 7, 2013

@vamsiikrishna b7b691a should fix this. Can you confirm?

@vamsiikrishna
Copy link
Author

@mmalecki solved, thanks .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants