How do I launch the Outlook Mail app from my development app?

I want to start the mail application from the development application, but the mail application made by Apple starts. It doesn't work even if I change the default email application to Outlook.

When you delete the Apple Mail app, Outlook starts. I want to automatically attach the generated pdf file to the email, but that doesn't work either.

Please tell me how to code.

How do I launch the Outlook Mail app from my development app?
 
 
Q