erich.wanker Posted June 1, 2017 Posted June 1, 2017 Hi .. i want to load and Save eMail in Firebird-Db and view it in UniURLFRame... The Problem is: if i save the Indy.Msg Stream - i get in the UniURLFrame: Return-Path: Received: from mout.kundenserver.de ([xxx]) by mx.kundenserver.de (mxeue010 [xxx]) with ESMTPS (Nemesis) id 1N7Rkr-1dxx7n1M for ; Thu, 01 Jun 2017 13:57:31 +0200 Received: from black1 ([xxx]) by mrelayeu.kundenserver.de (mreue0x [xxx]) with ESMTPA (Nemesis) id 0Mxx5p-1dBDexxxORq for ; Thu, 01 Jun 2017 13:57:31 +0200 From: "Erich Wanker *** xx" To: xxx Subject: blob Date: Thu, 1 Jun 2017 13:57:35 +0200 MIME-Version: 1.0 Content-Type: multipart/related; boundary="oCntjxxxY4" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AdLxxxx+pb2gm3w== X-Mi ... .... How can i show the eMail in correct wax WITH embeeded Images (like src ='cid:68736478364...) ?? The thing is... i make the hole thing because in this way - the embeeded Pictures in some eMails are also in the BLOB Field - and i should show it A Solution, where i save the eMails as HTML Files to Harddisk is running .. but the halve eMails have embeeded Images .. so i try to make a solution with BLOB Fields and LoadFromStream ThanX for Help Erich Quote
delagoutte Posted June 1, 2017 Posted June 1, 2017 For this , we have parse email msg and save in a a first table So we have a field for sender, cc, body_text, body_html, subject ,.... For the joint file we save this on a second table with one file one record with his stream. For embedded img, you could change html source of img src with data:+encoded base64 (stream of image) or save img to harddrive and change src with file://... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.