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

Recent Posts

TRichView 24.1.3 – Copying and pasting images

This update improves clipboard image support in the Windows version of TRichView. Previously, the components…

4 weeks ago

ReportWorkshop 7.0 – charts, SVG shapes

We are pleased to announce a new release of ReportWorkshop. This update is free for…

2 months ago

TRichView 24.0.3 – New images for dialogs

RichView 24.0.3 includes a new set of images for dialog boxes of RichViewActions and ScaleRichView…

6 months ago

TRichView 24.0.2 – new background dialogs

This update completes the work on the new background definition system (well, almost).The new properties…

7 months ago

RVMedia 11.2 – RAD Studio 13 Florence, second remuxing

We are pleased to announce a new release of RVMedia. RVMedia now supports RAD Studio…

8 months ago

TRichView 24 – RAD Studio 13 Florence, chat, background

We are pleased to announce new releases of TRichView, ScaleRichView, and ReportWorkshop. All components now…

8 months ago