Error on MYOB AccountRight Premier version 19.15 when emailing out with Office 365 Outlook 2019 installed is "The attachment file was created successfully but there was an error writing it."

 

Solution:

On Windows 10, go to Settings -> Apps -> Default Apps -> Mail -> Outlook