How can a Delphi Program send an Email with Attachments via the DEFAULT E-mail Client?

前端 未结 5 901
醉梦人生
醉梦人生 2020-12-24 15:31

Within my program, I am composing an email to send using the default e-mail client software installed on a user\'s machine.

I have composed the mailto address, the

5条回答
  •  温柔的废话
    2020-12-24 15:44

    This article shows how Delphi can simulate the "Send to..." shell context menu command and open the default mail client with attachments programatically.

    This solution does not need MAPI and works with the default mail client, but is not complete, because the message recipients, body and subject will not be filled in automatically. (The message body could be copied using the clipboard).

提交回复
热议问题