@johanPO said in MMM-MailMessage a question about the list of approved senders:
validSenders: [ { addr: “
[email protected]”, name: “Dad”, color: “#00ff00”, }
{ addr: “
[email protected]”, name: “Mom”, color: “#ff0000”, }
{ addr: “
[email protected]”, name: “Billy”, }
{ addr: “
[email protected]”, 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: “
[email protected]”, name: “Mom”, color: “#ff0000”, }
so the list would look like
validSenders: [
{ addr: “
[email protected]”, name: “Mom”, color: “#ff0000” },
{ addr: “
[email protected]”, name: “Billy” },
{ addr: “
[email protected]”, name: “Nana” }
]
I always try to put the [ and ] on separate lines to make them more visible