Categories: DemosTRichView

Demo: how to send emails using Outlook

We already have demo projects showing how to create an independent email client for sending HTML emails created in TRichViewEdit:

This demo is different: it sends emails using Microsoft Outlook, accessed as OLE/COM object.
Messages are composed in a TRichView editor, and are sent using Outlook.

To use this demo, Outlook object must be imported in Delphi.
To do it, open the menu “Component | Import Component”, choose “Import a Type Library”, select “Microsoft Outlook 16.0 Object Library”, and install it into some package.

The demo allows:

  • sending email (to place it in Outbox)
  • saving email (in Drafts)
  • printing email using Outlook.
  • OutlookSendEmail.png (15.44 KiB) Viewed 65 times

Images are embedded directly in email body.

This demo was created in Delphi 11 (but should work in Delphi XE7 and newer)

Download link is in the forum post: https://www.trichview.com/forums/viewtopic.php?f=3&t=10734

Sergey Tkachenko

Share
Published by
Sergey Tkachenko

Recent Posts

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

1 week ago

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components The main new feature in…

2 weeks ago

ANN: RVMedia 11.1 – error handling and UDP streaming

RVMedia 11.1 has been released Main new features: UDP streaming with FFmpeg improved error handling…

3 weeks ago

TRichView 23.1 – RichViewActions for Lazarus for Linux

We have released TRichView 23.1 and updates of related components The main new feature in…

3 months ago

IDEInstaller v2.4

We've released our installer program as freeware with source code:http://www.trichview.com/ideinstall/ It was updated to version…

4 months ago

TRichView 23 – Lazarus for Linux, equations in files

We have released TRichView 23 and updates of related components This update is free for…

4 months ago