0

ユーザーのアクションに応じて、アプリケーションから電子メールを送信できるようにしたいと考えています。ユーザーがデフォルトのメール送信者を使用しているかどうかを検出する方法はありますか。メール送信者 (Windows メール、または Outlook Express) は常に存在しているように見えますが、それが実際に使用されているかどうか、またはユーザーが Web ベースのメールを使用しているかどうかを確認する方法はありますか?

4

1 に答える 1

1

You could look at which application, if any, is registered to handle the mailto: URL moniker, which is at the registry key location: HKEY_CLASSES_ROOT\mailto\shell\open\command

It may be easier to just ask the shell to launch it for you, with a suitably constructed mailto: URI

于 2010-02-19T15:29:12.747 に答える