Hi there,
I am trying to create a schedule that sends a dashboard to more than one email address. But I receive an error when I give two email addresses to the “address” param. here is my code:
does anyone know how I can pass multiple recipients to the schedule in python?
Hey Mehrnaz,
I did that using requests, not the SDK, but I guess that it’ll be the same. You need to duplicate all the destination plan configuration changing the email:
"scheduled_plan_destination":[{"format":"'+FORMAT+'","apply_formatting":"true","address":"email1@gmail.com","message":"'+MESSAGE+'","type": "email"},{"format":"'+FORMAT+'","apply_formatting":"true","address":"email2@gmail.com","message":"'+MESSAGE+'","type": "email"}]
Best
Pol