Sending email in D365 - with x++, how to override 'sender from email' and 'sender name' ? (by using standard send report as attachment over email functionality) ?


I`m sending reports as pdf to email as attachment using standard send report over email functionality - how to override sender name and sender email in x++ in it ? i want to change sender email and name to my own custom, different each time