Author |
|
g.lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 25 July 2005 at 4:32am | IP Logged
|
|
|
I have an html file like this:
<P><FONT face=Arial size=2>Test</FONT></P>
<P><IMG alt="" hspace=0 src="file:///C:/Tmp/Test.jpg" align=baseline border=0></P>
...and i use oSMTP.Message.ImportBodyText(sFileName, True).
Why the message is non converted in multipart as embedded object?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 25 July 2005 at 8:20am | IP Logged
|
|
|
URLs (file:///, http://, etc) are not yet supported in src attributes.
MailBee will import the file if src is somewhat like "C:\Tmp\Test.jpg".
Regards,
Alex
|
Back to Top |
|
|
g.lionello Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 24 January 2006 at 4:00am | IP Logged
|
|
|
We can replace the SRC URLs "http://" with MSHTML document object model after the download of the images?
You have suggestions?
Thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 24 January 2006 at 11:02am | IP Logged
|
|
|
Yes, if you can somehow download images locally, you can then iterate through document.images collection and modify IMG URLs in HTML document to apply new (local) paths to these images, and then save this HTML to disk and then import it into MailBee.Message with ImportBodyText method.
Regards,
Alex
|
Back to Top |
|
|