Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Multipart messages Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
g.lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 25 July 2005 at 4:32am | IP Logged Quote g.lionello

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 View g.lionello's Profile Search for other posts by g.lionello
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 25 July 2005 at 8:20am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
g.lionello
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 24 January 2006 at 4:00am | IP Logged Quote g.lionello

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 View g.lionello's Profile Search for other posts by g.lionello
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 24 January 2006 at 11:02am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide