send an email using the Outlook object
Posted: Mon May 13, 2024 5:07 pm
Hello friends,
I am trying to send an email using the Outlook object. I want the images to be embedded. ChatGPT suggests using:
oAttachment.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", "image003").
But here, I receive a link error.
Does anyone have experience with sending emails with embedded images, or are there updates for the Outlook object?
Best regards,
Otto
I am trying to send an email using the Outlook object. I want the images to be embedded. ChatGPT suggests using:
oAttachment.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x3712001E", "image003").
But here, I receive a link error.
My question:Lines 68, Functions/Procedures 2, pCodes 136
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
C:\FWH\samples\msendok.c:
Error E2209 C:\FWH\samples\msendok.c 20: Unable to open include file 'OATTACHMENT.xns'
Error E2141 C:\FWH\samples\msendok.c 21: Declaration syntax error
Error E2451 C:\FWH\samples\msendok.c 53: Undefined symbol 'OATTACHMENT'
Error E2141 C:\FWH\samples\msendok.c 53: Declaration syntax error
Error E2190 C:\FWH\samples\msendok.c 53: Unexpected }
Error E2040 C:\FWH\samples\msendok.c 53: Declaration terminated incorrectly
Error E2190 C:\FWH\samples\msendok.c 61: Unexpected }
Does anyone have experience with sending emails with embedded images, or are there updates for the Outlook object?
Best regards,
Otto