Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Doubt about GetHtmlAndSaveRelatedFiles Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
americofernando
Newbie
Newbie


Joined: 02 August 2013
Location: Brazil
Online Status: Offline
Posts: 2
Posted: 02 August 2013 at 12:34pm | IP Logged Quote americofernando

I already tested the method GetHtmlAndSaveRelatedFiles after setting the WorkingFolder property to a folder and it generated the html with the path to the images correctly.

My question is, if I don't set the WorkingFolder and call the GetHtmlAndSaveRelatedFiles it generates an html code with base64 images embedded, but this images aren't showing in browser, they look broken.

There's a way to generate a html with embedded images in base64?

This is the html example generated calling the GetHtmlAndSaveRelatedFiles without setting the WorkingFolder (the image don't appear in browser):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
     <head>
          <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" /><title>
          </title>
          <style type="text/css">
               .cs2654AE3A{text-align:left;text-indent:0pt;margin:0pt 0pt 0pt 0pt}
               .cs566403DE{color:#000000;background-color:transparent;font-family:Times New Roman; font-size:12pt; font-weight:normal; font-style:normal; }
          </style>
     </head>
     <body>
          <span><p class="cs2654AE3A"><span><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkwAAACCCAYAAAC0GZcuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALoSURBVHhe7dtLbsJAAAXBHJ2jcTPigThyEEPH2WVUJT2MkfG6xedjczMzM zOzt3s8AAAwJ5gAAIJgAgAIggkAIAgmAIAwDabL5XL7y77eDgCwjLfBdMb1eh33EkwAwHIEEwBA+H0wbdfet3s6F0wAwKqmgfPyE6Y9kvYdCCYAYFXTwJl+JfcilgbBBACs6lww7bG070AwAQCrmgaO3zABADxMA2f6ldyEYAIAVnUqmLaXzwwAYAnTsJkF02+M6+43A QBYwJ+CaRz3Hc93X+cAAEuYhk0F0/E4PD/fBgCwhGnYCCYAgIdp2IxgGv98O257+TuIjsfh+fk2AIAlvAubPXx+7BBEdQ4AsISzYXMPojKue1wOAPD/nQ6mEwMAWIKwAQAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIg gkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgA gAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAA IJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACIIJACAIJgCAIJgAAIJgAgAIggkAIAgmAIAgmAAAgmACAAiCCQAgCCYAgCCYAACCYAIACCOYzMzMzOzlPm6f6gv6rbXKdNoAAAAASUVORK5CYII=" alt="" style="border-width:0px;" /></span></p><p class="cs2654AE3A"><span class="cs566403DE"> </span></p></span></body>
</html>
Back to Top View americofernando's Profile Search for other posts by americofernando
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 05 August 2013 at 2:56am | IP Logged Quote Igor

I've just responded to the same inquiry you've posted in HelpDesk. To assist you here, we'll need the original message saved as EML file. Thanks.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
americofernando
Newbie
Newbie


Joined: 02 August 2013
Location: Brazil
Online Status: Offline
Posts: 2
Posted: 06 August 2013 at 7:03am | IP Logged Quote americofernando

Ok, tks. Please remove this post.
Back to Top View americofernando's Profile Search for other posts by americofernando
 

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