Giter VIP home page Giter VIP logo

Comments (7)

SachaG avatar SachaG commented on July 17, 2024

Telescope's email package also does the following:

  • Wrap email contents in a nice layout (with header, footer, common styling, etc.)
  • Auto-generate the text version of the email.

from guide.

stubailo avatar stubailo commented on July 17, 2024

What about sending SMS messages, etc? Or is that super different?

from guide.

SachaG avatar SachaG commented on July 17, 2024

I don't know, but the Herald package can help manage notifications across multiple media.

from guide.

stubailo avatar stubailo commented on July 17, 2024

Whoa, interesting!

from guide.

SachaG avatar SachaG commented on July 17, 2024

Here's how it's used in Telescope: https://github.com/TelescopeJS/Telescope/blob/master/packages/telescope-notifications/lib/notifications.js

First I set up a bunch of notifications, then for each I define "couriers" that manage the notification for the various media (in my case, just email and on-site).

And here's how I actually trigger a notification:

https://github.com/TelescopeJS/Telescope/blob/4d2d328da12fd78f6e5d7b4f0b3b90b3f9283700/packages/telescope-notifications/lib/callbacks.js#L20

from guide.

Pushplaybang avatar Pushplaybang commented on July 17, 2024

This is a big one, and would be deserving of a proper discussion in the Meteor guide, from simple to advanced. + 1

should include :

  • Basic emails
  • HTML email
  • Service integration (mandrill, mailchimp etc)

While packages can solve problems like this, have a guide that walks you through these sorts of core application features will aid developers in building more advanced functionality on top.

from guide.

tmeasday avatar tmeasday commented on July 17, 2024

This feels more like a cookbook article than a guide article, see https://forums.meteor.com/t/community-contributed-docs-examples-from-stackoverflow/20888/6

from guide.

Related Issues (20)

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.