Я ищу способ открыть пользовательскую программу электронной почты по умолчанию для написания нового сообщения электронной почты и указать вложение из приложения С#. Сейчас я могу начать электронную почту и указать получателя, тему, тело и т.д., Но я не могу найти способ указать вложение.
System.Diagnostics.Process.Start(@"mailto:[email protected]&subject=Hi&body=%0D%0DSent from my Kinect");
Это отлично подходит для основного электронного письма, но нет возможности добавить вложение. Для небольшого фона мой босс хочет использовать голосовые команды для получения моментального снимка от Kinect, а затем отправить его кому-то по электронной почте.
Просматривая "Вопрос с похожими заголовками", я нашел этот, что может быть неправильным языком, но это заставляет меня думать, что может быть способ Меньше всего это делать с Microsoft Outlook. Это то, что подавляющее большинство людей на моей работе использует, но я действительно надеялся на то, что будет работать с любым почтовым клиентом.
Я не хочу просто отправлять электронную почту через С#, так как я хочу, чтобы пользователь мог редактировать электронную почту в своем почтовом клиенте перед ее отправкой.
Итак, вопрос: есть ли способ указать вложение при открытии пользовательской программы электронной почты по умолчанию? А если нет, где я могу найти ресурсы при использовании С# для создания электронной почты в Microsoft Outlook с вложением?