Giter Club home page Giter Club logo

Comments (5)

tlex avatar tlex commented on July 18, 2024

This functionality is currently not implemented. The python smtplib library supports it, but it's currently called with a string, not a list.

I could imagine adding a function to parse the string from the environment variable on #L32, however this will take a bit of time (probably until the weekend).

In the meanwhile, as a workaround, you can call the script multiple times, for every destination address you have.

from grafana-email.

rbuffi avatar rbuffi commented on July 18, 2024

That would be great. I got a large list of recipients so for now I will sent the reports to myself and redistribute. Let me know when the function is implemented so I can test it for you. Thanks again!

from grafana-email.

tlex avatar tlex commented on July 18, 2024

I have made the changes, but haven't merged them yet to master.

A new image already has been built, if you want to try it out: registry.gitlab.com/ix.ai/grafana-email:dev-branch. I have tested it successfully with two recipients.

Personally, I still recommend as the more elegant solution to use a mailing list as recipient - this way there's no need to change the systemd timer / cron job every time someone wants to be added / removed.

Edit: forgot to mention - just use a space separated list for SMTP_TO (such as email1@domain email2@domain2 email12@domain14)

from grafana-email.

tlex avatar tlex commented on July 18, 2024

The changes have been merged. I'll release a new version with support for the space-separated list.

from grafana-email.

tlex avatar tlex commented on July 18, 2024

Well, this was released 8 months ago in version v0.6.0. Closing the issue.

from grafana-email.

Related Issues (3)

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.