Page 1 of 1

Inline Images

Posted: Wed Apr 02, 2025 1:29 am
by Aeperd
Good day! Any idea how to include inline images when sending an email using html? The images where added during composing an email using richviewedit.

Re: Inline Images

Posted: Wed Apr 02, 2025 2:04 pm
by Sergey Tkachenko
What components do you use to save HTML email?
We have demos that use Indy, CleverComponents, and Outlook COM object.

Re: Inline Images

Posted: Thu Apr 03, 2025 4:38 am
by Aeperd
Mind sharing here sir? Ill take a look. Thanks a lot.

Re: Inline Images

Posted: Thu Apr 03, 2025 9:39 am
by Sergey Tkachenko
  1. Sending HTML emails using Indy: https://www.trichview.com/forums/viewtopic.php?t=11
    HTML emails are created as MIME-encoded messages.
  2. Saving HTML emails using CleverComponents: demos are included in TRichView setup, in <TRichView Dir>\ThirdParty\CleverComponents\ folder.
    HTML emails are created as MIME-encoded messages.
  3. Sending HTML emails using Microsoft Outlook COM object: https://www.trichview.com/forums/viewtopic.php?t=10734
    Images are embedded directly in HTML code. This is not a good solution, because not all email clients support this kind of image representation. For example, GMail does not.
    I'll update this demo to use MIME.

Re: Inline Images

Posted: Thu Apr 03, 2025 5:59 pm
by Aeperd
Super Thanks So Much Sir! Ill check it out.