MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. johanPO
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 0

    Topics

    • J

      MMM-MailMessage now showing messages

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Troubleshooting
      1
      0 Votes
      1 Posts
      263 Views
      J
      I started experimenting with the Magic Mirror a few days ago, setting up something for my mother in-law, who is now 80+. The idea of sending messages to her magic mirror is really attractive. I have everything configured, and email seems to be downloading. It shows in the log file 0|mm | [10.03.2024 11:45.10.898] [LOG] MMM-MailMessage-Helper: Mailbox Closed: INBOX 0|mm | [10.03.2024 11:45.10.944] [LOG] Mail-Seach complete 0|mm | [10.03.2024 11:45.11.569] [LOG] 8 Mails fetched I believe the configuration shown on the git page is slightly wrong, where the commas should be outside the closing curly bracket and not inside. { module: 'MMM-MailMessage', position: 'middle_center', header: 'Email - Mirror Messages', config:{ user: 'MMemail@mydomain.com', pass: 'password', host: 'mail.mydomain.com', port: 993, subjectlength: 50, validSenders: [ { addr: "dad@mydomain.com", name: "Dad", color: "#00ff00", } { addr: "mom@mydomain.com", name: "Mom", color: "#ff0000", } { addr: "son@mydomain.com", name: "Billy", } { addr: "nana@mydomain.com", name: "Nana", } ], daysToDisplay: 0, msgsToDisplay: 2, colorText: "#0000ff", }, }, I have changed that, and obviously the email addresses, nicks and tried a few different colours, but I am not getting any messages on the MM. What could I be doing wrong here?
    • J

      MMM-MailMessage a question about the list of approved senders

      Watching Ignoring Scheduled Pinned Locked Moved Utilities
      3
      0 Votes
      3 Posts
      875 Views
      S
      @johanPO said in MMM-MailMessage a question about the list of approved senders: validSenders: [ { addr: “dad@mydomain.com”, name: “Dad”, color: “#00ff00”, } { addr: “mom@mydomain.com”, name: “Mom”, color: “#ff0000”, } { addr: “son@mydomain.com”, name: “Billy”, } { addr: “nana@mydomain.com”, name: “Nana”, } ], I don’t KNOW… but this is misconfigured validSenders: [ means a comma separated list of things in this case the thing is a sender info object { addr: “mom@mydomain.com”, name: “Mom”, color: “#ff0000”, } so the list would look like validSenders: [ { addr: “mom@mydomain.com”, name: “Mom”, color: “#ff0000” }, { addr: “son@mydomain.com”, name: “Billy” }, { addr: “nana@mydomain.com”, name: “Nana” } ] I always try to put the [ and ] on separate lines to make them more visible
    • 1 / 1