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

add support for categories #24

Closed
wants to merge 3 commits into from
Closed

Conversation

elesdoar
Copy link

@elesdoar elesdoar commented Apr 8, 2016

This commit provides support for categories with option categories.

var email = {
    to: ['[email protected]', '[email protected]'],
    from: '[email protected]',
    subject: 'Hi there',
    text: 'Awesome sauce',
    html: '<b>Awesome sauce</b>',
    categories: 'category-a,category-b'
};

or

var email = {
    to: ['[email protected]', '[email protected]'],
    from: '[email protected]',
    subject: 'Hi there',
    text: 'Awesome sauce',
    html: '<b>Awesome sauce</b>',
    categories: ['category-a', 'category-b']
};

@thinkingserious
Copy link
Contributor

Awesome! We've added this to our backlog for review.

@RobAWilkinson
Copy link

would love to see this merged!

@thinkingserious
Copy link
Contributor

Hello @RobAWilkinson,

We no longer support this library. The official SendGrid Node.js client library can be found here: https://github.com/sendgrid/sendgrid-nodejs

Thanks!

@glesage
Copy link

glesage commented Oct 6, 2016

FYI just rebuilt this module for the new Sendgrid 4.x framework, and supports categories...

It definitely lacks more thorough tests but it'll do (: #28

@elesdoar elesdoar closed this Oct 6, 2016
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

Successfully merging this pull request may close these issues.

4 participants