Open default mail client on windows
Contents
In this article I will introduce 3 ways to open mail client on windows:
Open a default mail client on windows10
In this article I will introduce 3 ways to open mail client on windows:
- mailto:
- mapi
- regestry
Comparision
- mailto is a protocal to open a mail client which is surpported by most clients, but no attachment can be specifed.
- MAPI is suited for MicroSoft Office development, so it is good surpported by Micosoft Ofice suites.
- registry has the default mail client, so you can use command line options to handle the email.
Code example(with Qt)
Reference
Author tonghao
LastMod 2020-02-11