I am using DNN 9 and I want to send a notification with an attachment file, but seems that DNN doesn't allow to do that.
Is there is a way (or any workaround) to do that?
Here is the DNN code of the NotificationsController

and here is my code that calls the DNN code
//...
Notification dnnNotification = new Notification
{
NotificationTypeID = notification.NotificationTypeId,
From = notification.From,
Subject = notification.Subject,
Body = notification.Body
};
NotificationsController.Instance.SendNotification(dnnNotification, portalId, dnnRoles, dnnUsers);