Exception: Failed to send message: contextual project key required

newuser
newuser Registered Posts: 4 ✭✭✭✭

It has been only a week since I started using DataIKU.

While trying to send an email from DSS notebook the below way, receive this "Exception: Failed to send message: contextual project key required" error

from dataiku.core.message_sender import MessageSender

s = MessageSender(channel_id='abc123', type='mail-scenario', configuration={})


s.send(sender="abc@abc.com",
recipient="def@def.com",
subject="Long Running Jobs",
message="Long Running Jobs")

Best Answer

Setup Info
    Tags
      Help me…