Base64 decoding - perl & openssl vs. html embedded image

I am having a strange problem. I have a TIFF image stored in a SQLite database encoded as Base64. When I retrieve the Base64 characters, save them to a file using an applescript writing a utf-8 text file to disk (or just saving it in TextWrangler), and then try to feed that file into openSSL using the Base64 decoding option, I get an empty file or just a small (not nearly large enough) file that will not open. BUT! When I put that same string into a img tag using base64 decoding in an HTML document, it displays properly in a browser window. Anyone have an idea why this might happen? It does not work using perl either.
The html code is here: http://web.me.com/danaleighton/base64.html
The file I am feeding into openSSL is here: http://web.me.com/danaleighton/base64sm.txt
I am using the following command: openssl enc -base64 -d -in base64sm.txt -out testscript.tiff
This perl command also does not work: perl -i.txt -MMIME::Base64 -e 'undef $/;while(){print decode_base64($_);}' base64sm
Thanks in advance for any help!!!

it's most likely the text you're extracting from the database is either corrupted or wasn't encoded as you expect. Note that your success with the img tag decoding may be misleading. I can't give you details that apply to this case, but browsers typically use smarter decoding tools which are more robust ...
1) Was the text in the database produced by an internal encoder or was it obtained either from a standard e-mail attachment or produced by this command or its equivalent?:
Thanks Ray - I was afraid of that. I am extracting the image from a database written by a commercial application. I checked with the developers, and they said it was base64, so that's all I have to go on. I reported this anomaly to them but haven't heard back in over a week.
2) Are you sure you're retrieving exactly the same bytes that were stored in the database?
As sure as I can be. For testing, I invoke sqlite from a shell to do the select statement and dump the result to the terminal. Then copy and paste from terminal to a TextWrangler document. I have done the same with an Applescript.
One complicating factor: the text stored in the database has these weird markup tags that I can't find any documentation. They look like this: <iimg><preferredFilename>Embedded image</preferredFilename><segment>TU0AK...=
</segment><segment>UdSVL...=
</segment></iimg>
I strip these out of the field coming from the database.
To isolate the problem...
Unfortunately, since I am not creating the database, I am loath to write to it. I could, but since the problem is likely in the way the developers are encoding or storing the data, it wouldn't do much to solve my problem...
Thanks so much for your suggestions!! Very helpful.

Similar Messages

  • Mac Mail has problems to display HTML embedded images

    Well Im new here , but have a real problem.
    I create  HTML pages with embedded images and send them off as MIME/multipart etc. mail through active server pages.
    So far so good. All PC users see the mails with 2 embedded images at correct positions using windows e-mail .
    However all Mac users receiving this mail have a problem,  then MAC mail show embedded images just as a box , the 2 images become attachements of the email.
    If a PC user forwards such a  received HTML e-mail to a MAC user , the MAC Mail sees the 2 images are correctly displayed.
    Thanks for hints and comments .

    Hello BDAqua
    Thanks for the dump hint - I could use it.
    Well I have not been able to track down the exact cause of the problem, but at the end I have succeeded to see the pictures even on the Mac. Initially , because I tested the HTML code against Safari/Foxpro/IE9 with success and the PC's received it as a mail  perfect with the pictures , I ruled out the code.
    After sending it with various different parameters for 7-bit coding , multipart/alternative; multipart/mixed, with and without alternative ascii-text body, etc. and having no change of the problem (in one instance Mac stuck the pictures at the end of the mail instead of having it as attachement - but never displayed inside the page) I thought about the HTMLcode again (the mail small but was consisting of a cluster of multi nested tables, where in the pictures where placed). I started from scratch with one simple table and one picture - and saw it also on the Mac, so repeated reconstruction every table layer and picture with testing each step again - and at the end - it worked all. So my conclusion is that the mentioned browsers and windows mail are made more HTML fault tolerant for little code mistakes than mac mail.  It seems that when forwarding the page from windows-mail to Mac mail , windows even corrects and thats why then it was seen ok on the Mac.
    I think that a number of people had similiar experiences. I contacted one advertising company (all Mac freaks and only Mac's there, they do a lot of Internet/Intranet design and develeopments for large companies) and asked them wether they know of any hints or problems - they simply said forget it it's not possible - which is not true - but seeing the HTML correct in all browsers doesn't mean it might ok for the mac mail.
    Well any way I now know where I am and know where to look if suddenly a picture is not shown anymore...
    Thanks for the help and all the best.
    Rgds
    peter

  • Embedded image in html body of the email is not appearing in Outlook mail box

    My application Basically gets the un delivered emails from the outlook account.Composes the email from information then also appends the signature of email.The signatures may be multiple , form will show these signatures as a dropdown usin webbrowser control there both image as well as links appear well.But the same if draft them to outlook drafts folder the image in the signature misses and shows image not available.II fetch the signature from user local signature folder , convert it base64 string and set the string as source for image element and append this body of the email.I basically use Outlook COM object to achieve thesepublic void AddImageContentToHtml(List<TamDetails> tamList,string html,string key)
    string htmlContent = html as string;
    string imageSource = string.Empty;
    HtmlNode signatureNode = null;
    HtmlNodeCollection nodeCollection = null;
    List<string> imagePaths = null;
    string requiredImage = string.Empty;
    string base64Image = string.Empty;
    if (!string.IsNullOrWhiteSpace(key))
    imagePaths = ImageDict[key];
    foreach (string strPath in imagePaths)
    //string appDataDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\\Microsoft\\Signatures";
    requiredImage = strPath;
    string [] commonPath = { Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Microsoft", "Signatures")};
    string[] validPaths = requiredImage.Split(commonPath, StringSplitOptions.RemoveEmptyEntries);
    if (validPaths.Count() > 1)
    var path1 = commonPath[0];
    var path2 = validPaths[1];
    int index = path2.IndexOf('/');
    path2.Remove(index);
    requiredImage = path1 + path2;
    if (!string.IsNullOrEmpty(requiredImage))
    if (File.Exists(requiredImage))
    base64Image = CreateBase64Image(requiredImage);
    string fileExtension = Path.GetExtension(requiredImage);
    imageSource = "data:image/" + fileExtension.Remove(0, 1) + ";base64," + base64Image;
    if (!string.IsNullOrWhiteSpace(htmlContent))
    try
    HtmlDocument htmlDoc = new HtmlDocument();
    if (!string.IsNullOrEmpty(imageSource))
    htmlContent=htmlContent.Replace(requiredImage, imageSource);
    htmlDoc.LoadHtml(htmlContent);
    // HtmlNode node = new HtmlNode()
    signatureNode = (htmlDoc.DocumentNode.Descendants("body").FirstOrDefault());
    nodeCollection = signatureNode.ChildNodes;
    catch (Exception ex)
    AppLogException.LogError("Error in appending Signature Image", ex);
    if (tamList != null)
    tamList.ForEach(a =>
    //StringWriter sw = new StringWriter(new StringBuilder(a.MailItem.HTMLBody));
    HtmlDocument doc = new HtmlDocument();
    doc.LoadHtml(a.SourceEmail);
    var node = doc.DocumentNode.Descendants("div").FirstOrDefault();
    if(nodeCollection != null && node != null)
    foreach (var childNode in nodeCollection)
    node.AppendChild(childNode);
    a.MailItem.HTMLBody = doc.DocumentNode.OuterHtml;
    //using(HtmlTextWriter htmlWriter = new HtmlTextWriter(sw,a.MailItem.HTMLBody))
    // htmlWriter.RenderBeginTag(HtmlTextWriterTag.Div);
    // if(!string.IsNullOrWhiteSpace(signatureNode))
    // htmlWriter.
    // htmlWriter.RenderEndTag();
    }My mail html body is <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:w="urn:schemas-microsoft-com:office:word"
    xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
    xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
    <meta name=ProgId content=Word.Document>
    <meta name=Generator content="Microsoft Word 14">
    <meta name=Originator content="Microsoft Word 14">
    <link rel=File-List href="Sanjay%20S_files/filelist.xml">
    <link rel=Edit-Time-Data href="Sanjay%20S_files/editdata.mso">
    <!--[if !mso]>
    <style>
    v\:* {behavior:url(#default#VML);}
    o\:* {behavior:url(#default#VML);}
    w\:* {behavior:url(#default#VML);}
    .shape {behavior:url(#default#VML);}
    </style>
    <![endif]--><!--[if gte mso 9]><xml>
    <o:OfficeDocumentSettings>
    <o:AllowPNG/>
    </o:OfficeDocumentSettings>
    </xml><![endif]-->
    <link rel=themeData href="Sanjay%20S_files/themedata.thmx">
    <link rel=colorSchemeMapping href="Sanjay%20S_files/colorschememapping.xml">
    <!--[if gte mso 9]><xml>
    <w:WordDocument>
    <w:View>Normal</w:View>
    <w:Zoom>0</w:Zoom>
    <w:TrackMoves/>
    <w:TrackFormatting/>
    <w:PunctuationKerning/>
    <w:ValidateAgainstSchemas/>
    <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
    <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
    <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
    <w:DoNotPromoteQF/>
    <w:LidThemeOther>EN-US</w:LidThemeOther>
    <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
    <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
    <w:DoNotShadeFormData/>
    <w:Compatibility>
    <w:BreakWrappedTables/>
    <w:SnapToGridInCell/>
    <w:WrapTextWithPunct/>
    <w:UseAsianBreakRules/>
    <w:DontGrowAutofit/>
    <w:SplitPgBreakAndParaMark/>
    <w:EnableOpenTypeKerning/>
    <w:DontFlipMirrorIndents/>
    <w:OverrideTableStyleHps/>
    <w:UseFELayout/>
    </w:Compatibility>
    <m:mathPr>
    <m:mathFont m:val="Cambria Math"/>
    <m:brkBin m:val="before"/>
    <m:brkBinSub m:val="&#45;-"/>
    <m:smallFrac m:val="off"/>
    <m:dispDef/>
    <m:lMargin m:val="0"/>
    <m:rMargin m:val="0"/>
    <m:defJc m:val="centerGroup"/>
    <m:wrapIndent m:val="1440"/>
    <m:intLim m:val="subSup"/>
    <m:naryLim m:val="undOvr"/>
    </m:mathPr></w:WordDocument>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
    DefSemiHidden="true" DefQFormat="false" DefPriority="99"
    LatentStyleCount="267">
    <w:LsdException Locked="false" Priority="0" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
    <w:LsdException Locked="false" Priority="9" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
    <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
    <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
    <w:LsdException Locked="false" Priority="10" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Title"/>
    <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
    <w:LsdException Locked="false" Priority="11" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
    <w:LsdException Locked="false" Priority="22" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
    <w:LsdException Locked="false" Priority="20" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
    <w:LsdException Locked="false" Priority="59" SemiHidden="false"
    UnhideWhenUsed="false" Name="Table Grid"/>
    <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
    <w:LsdException Locked="false" Priority="1" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 1"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
    <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
    <w:LsdException Locked="false" Priority="34" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
    <w:LsdException Locked="false" Priority="29" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
    <w:LsdException Locked="false" Priority="30" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 1"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 2"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 2"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 3"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 3"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 4"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 4"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 5"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 5"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
    <w:LsdException Locked="false" Priority="60" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
    <w:LsdException Locked="false" Priority="61" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light List Accent 6"/>
    <w:LsdException Locked="false" Priority="62" SemiHidden="false"
    UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
    <w:LsdException Locked="false" Priority="63" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
    <w:LsdException Locked="false" Priority="64" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
    <w:LsdException Locked="false" Priority="65" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
    <w:LsdException Locked="false" Priority="66" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
    <w:LsdException Locked="false" Priority="67" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
    <w:LsdException Locked="false" Priority="68" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
    <w:LsdException Locked="false" Priority="69" SemiHidden="false"
    UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
    <w:LsdException Locked="false" Priority="70" SemiHidden="false"
    UnhideWhenUsed="false" Name="Dark List Accent 6"/>
    <w:LsdException Locked="false" Priority="71" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
    <w:LsdException Locked="false" Priority="72" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
    <w:LsdException Locked="false" Priority="73" SemiHidden="false"
    UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
    <w:LsdException Locked="false" Priority="19" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
    <w:LsdException Locked="false" Priority="21" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
    <w:LsdException Locked="false" Priority="31" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
    <w:LsdException Locked="false" Priority="32" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
    <w:LsdException Locked="false" Priority="33" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
    <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
    <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
    </w:LatentStyles>
    </xml><![endif]-->
    <style>
    <!--
    /* Font Definitions */
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;
    "Times New Roman";
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    margin:0in;
    margin-bottom:.0001pt;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    "Times New Roman";
    "Times New Roman";
    p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
    "E-mail Signature Char";
    margin:0in;
    margin-bottom:.0001pt;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    "Times New Roman";
    "Times New Roman";
    span.E-mailSignatureChar
    {"E-mail Signature Char";
    "E-mail Signature";}
    .MsoChpDefault
    font-size:11.0pt;
    "Times New Roman";
    "Times New Roman";
    @page WordSection1
    {size:8.5in 11.0in;
    margin:1.0in 1.0in 1.0in 1.0in;
    div.WordSection1
    {page:WordSection1;}
    -->
    </style>
    <!--[if gte mso 10]>
    <style>
    /* Style Definitions */
    table.MsoNormalTable
    {"Table Normal";
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    </style>
    <![endif]-->
    </head>
    <body lang=EN-US style='tab-interval:.5in'>
    <div
    <p S<o:p></o:p></p>
    <p
    <p
    <p gte vml 1]><v:shapetype id="_x0000_t75"
    coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe"
    filled="f" stroked="f">
    <v:stroke joinstyle="miter"/>
    <v:formulas>
    <v:f eqn="if lineDrawn pixelLineWidth 0"/>
    <v:f eqn="sum @0 1 0"/>
    <v:f eqn="sum 0 0 @1"/>
    <v:f eqn="prod @2 1 2"/>
    <v:f eqn="prod @3 21600 pixelWidth"/>
    <v:f eqn="prod @3 21600 pixelHeight"/>
    <v:f eqn="sum @0 0 1"/>
    <v:f eqn="prod @6 1 2"/>
    <v:f eqn="prod @7 21600 pixelWidth"/>
    <v:f eqn="sum @8 21600 0"/>
    <v:f eqn="prod @7 21600 pixelHeight"/>
    <v:f eqn="sum @10 21600 0"/>
    </v:formulas>
    <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    <o:lock v:ext="edit" aspectratio="t"/>
    </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:381.75pt;
    height:63.75pt'>
    <v:imagedata src="Sanjay%20S_files/image001.png" o:title="Signature"/>
    </v:shape><![endif]--><![if !vml]><img width=509 height=85
    src="Sanjay%20S_files/image001.png" v:shapes="_x0000_i1025"><![endif]><o:p></o:p></p>
    <p
    </div>
    </body>
    </html>

    Hi ssanjay.brillio,
    According to your description, you'd like to send a email with an embedded image in the signature.
    I suggest you sending the image in the last of the body of email instead of operating the signature of email.
    The following example codes demonstrate how to send email using ImportHtml method with embedded images.
    SmtpMail oMail = new SmtpMail("TryIt");
    SmtpClient oSmtp = new SmtpClient();
    // Set sender email address, please change it to yours
    oMail.From = "[email protected]";
    // Set recipient email address, please change it to yours
    oMail.To = "[email protected]";
    // Set email subject
    oMail.Subject = "test HTML email with embedded image";
    // Your SMTP server address
    SmtpServer oServer = new SmtpServer("smtp.emailarchitect.net");
    // User and password for ESMTP authentication, if your server doesn't require
    // User authentication, please remove the following codes.
    oServer.User = "[email protected]";
    oServer.Password = "testpassword";
    // If your smtp server requires SSL/TLS connection, please add this line
    // oServer.ConnectType = SmtpConnectType.ConnectSSLAuto
    try {
    // Import html body and also import linked image as embedded images.
    // 'test.gif is in c:\\my picture
    oMail.ImportHtml("<html><body>test <img src=\"test.gif\"> importhtml</body></html>", "c:\\my picture", ImportHtmlBodyOptions.ImportLocalPictures | ImportHtmlBodyOptions.ImportCss);
    Console.WriteLine("start to send email with embedded image ...");
    oSmtp.SendMail(oServer, oMail);
    Console.WriteLine("email was sent successfully!");
    } catch (Exception ep) {
    Console.WriteLine("failed to send email with the following error:");
    Console.WriteLine(ep.Message);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • UTL_SMTP send HTML email with embedded image?

    Hi, I can use UTL_SMTP to send an HTML email ok, but does anyone have an example of how to include an inline embedded image in the email? Thanks!

    If you want to send the html page and have it
    reference the images and css files on your web
    site, that's pretty easy. Just create a message
    with text/html content that is your html page.
    If you want to include all the images and css files
    in your message along with the html page, you'll
    need to create a multipart/related message and
    you'll need to change all the html to reference the
    images and css files using "cid:" references.

  • OBIEE v11.1.1.5 - Cannot view embedded images  ( PDF/HTML)

    Hi Everyone,
    I have a OBIEE 11g report with embedded images and I scheduled to run every week using an agent.
    When I specify Delivery content and format as ( PDF or Plain HTML ) the email does not display any images
    Error if format is HTML : The linked image cannot be displayed. The File moved,renamed, or deleted. Verify  that the link points to the correct  file and location.
    I also tried printing to pdf, but images are not displayed.
    Tried using both fmap and html syntax to link images. Has any one encountered this issue in v 11.1.1.5 ?
    Please suggest
    Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • PDF to html conversion with embedded images in java

    hi all,
    i want to convert any pdf file to its html equivalent. currently i am using PDFBOX java api to do that. it works fine with simple pdf files having no images, but if there are embedded images in pdf file then it do not show these images.
    anyone who has clue of solving this problem. i can convert individual pdf pages to jpg pictures if all embedded images would also be in these pictures.
    help me regarding pointers to other APIs, code snippets etc that can solve my purpose.
    thanks in advance

    Hi..
    really soorry i am not having any solution for u.
    But i am having one problem regarding pdf box, i think u know pdf box, i am reading japanese file using pdf box, its giveing
    caught a class java.io.IOException
    with message: Unknown encoding for 'UniJIS-UCS2-H'
    I have wrriten code like this.....
    PDDocument pdfDocument = null;
    PDFParser parser = new PDFParser( new FileInputStream(file));
    parser.parse();
    pdfDocument = parser.getPDDocument();
    PDFTextStripper stripper = new PDFTextStripper();
    String text = stripper.getText(pdfDocument);
    reader = new StringReader(text);

  • Pdf file to html conversion with embedded images

    hi all,
    i want to convert any pdf file to its html equivalent. currently i am using PDFBOX java api to do that. it works fine with simple pdf files having no images, but if there are embedded images in pdf file then it do not show these images.
    anyone who has clue of solving this problem. i can convert individual pdf pages to jpg pictures if all embedded images would also be in these pictures.
    help me regarding pointers to other APIs, code snippets etc that can solve my purpose.
    thanks in advance

    Hi..
    really soorry i am not having any solution for u.
    But i am having one problem regarding pdf box, i think u know pdf box, i am reading japanese file using pdf box, its giveing
    caught a class java.io.IOException
    with message: Unknown encoding for 'UniJIS-UCS2-H'
    I have wrriten code like this.....
    PDDocument pdfDocument = null;
    PDFParser parser = new PDFParser( new FileInputStream(file));
    parser.parse();
    pdfDocument = parser.getPDDocument();
    PDFTextStripper stripper = new PDFTextStripper();
    String text = stripper.getText(pdfDocument);
    reader = new StringReader(text);

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • MIME emails not showing embedded images

    Hello.
    When I receive e-mails from a GroupWare solution (extra.groupcare.dk), embedded images are not shown in Mail 3.4. If I use Gmail or any version of Microsoft Outlook, even Mail 2.1 on Tiger it works fine.
    The images are shown as mime-attachment-x, and can be viewed with quick look.
    Here is an example of the original message.
    Return-Path: <[email protected]>
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by mail1.unoeuro.com (Postfix) with ESMTP id C486515046BE
    for <[email protected]>; Mon, 8 Sep 2008 08:57:32 +0200 (CEST)
    X-Spam-Flag: NO
    X-Spam-Score: 1.578
    X-Spam-Level: *
    X-Spam-Status: No, score=1.578 tagged_above=-999 required=3
    tests=[BADENCHEADER=1.81, BAYES_00=-2.599, HTMLIMAGE_ONLY16=1.526,
    HTML_MESSAGE=0.001, HTMLSHORT_LINK_IMG2=0.001, MPARTALTDIFF=0.739,
    RDNS_NONE=0.1]
    Received: from mail1.unoeuro.com ([127.0.0.1])
    by localhost (mail1.unoeuro.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id KFQYIUOwjdYq for <[email protected]>;
    Mon, 8 Sep 2008 08:57:25 +0200 (CEST)
    Received: from smtp.groupcare.dk (unknown [195.215.6.93])
    by mail1.unoeuro.com (Postfix) with ESMTP id 018311504693
    for <[email protected]>; Mon, 8 Sep 2008 08:57:19 +0200 (CEST)
    Received: from compnet02 ([127.0.0.1])
    by smtp.groupcare.dk (IceWarp 9.1.1) with ESMTP id OPN49915
    for <[email protected]>; Mon, 08 Sep 2008 08:57:15 +0200
    MIME-Version: 1.0
    From: "=?utf-8?Q?Jesper N=C3=B8rregaard Henriksen?=" <[email protected]>
    Sender: "=?utf-8?Q?Jesper N=C3=B8rregaard Henriksen?=" <[email protected]>
    To: [email protected]
    Date: 8 Sep 2008 08:57:15 +0200
    Subject: =?utf-8?B?SW52aXRhdGlvbiB0byBqb2luIEplc3BlcnNHUlA=?=
    Content-Type: multipart/alternative;
    boundary=--boundary0f027f802-c3aa-47d1-923c-d81cfe8e7a5c
    Message-Id: <[email protected]>
    ----boundary0f027f802-c3aa-47d1-923c-d81cfe8e7a5c
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: base64
    PHByZT48cHJlPkludml0YXRpb24gdG8gZ3JvdXAuDQ1IaQ1KZXNwZXIgTiYjMjQ4O3JyZWdh
    YXJkIEhlbnJpa3NlbiBoYXMgaW52aXRlZCB5b3UgdG8gYmVjb21lIGEgbWVtYmVyIG9mIHRo
    ZSBpbnRlcm5ldCBncm91cA0KSmVzcGVyc0dSUC4gVGhlIGNvbW1vbiBlbWFpbCBhZGRyZXNz
    IG9mIHRoZSBncm91cCBpcyBqZXNwZXJzZ3JwQGV4dHJhLmdyb3VwY2FyZS5kaywgd2hlbg0K
    bWVzc2FnZXMgYXJlIHNlbnQgdG8gdGhpcyBhZGRyZXNzIHRoZXkgYXJlIGRpc3RyaWJ1dGVk
    IHRvIGFsbCBtZW1iZXJzLg0NQ2xpY2sgdGhlIG9rIGJ1dHRvbiB0byBqb2luIHRoZSBncm91
    cC4NR3JvdXAgTmFtZTogSmVzcGVyc0dSUA1Hcm91cCBEZXNjcmlwdGlvbjoNR3JvdXAgRW1h
    aWw6IGplc3BlcnNncnBAZXh0cmEuZ3JvdXBjYXJlLmRrDQ1SZWdhcmRzLA1KZXNwZXIgTiYj
    MjQ4O3JyZWdhYXJkIEhlbnJpa3Nlbg0KPC9wcmUPC9wcmUDQoNClNpZ251cCBVUkw6IGh0
    dHA6Ly9leHRyYS5ncm91cGNhcmUuZGsvU2lnbnVwLmFzcHg/aWQ9ZGE2NTA4OWEtYmY4Ny00
    ZTBhLTg3MTEtMTBjYzJlNjA2MzBmJmludklkPTU2NjMwNDRmLTQxMzUtNDFlMC05ZTMyLTM5
    YzUzZWUwNTg1MA0KDQpEZWNsaW5lIFVSTDogaHR0cDovL2V4dHJhLmdyb3VwY2FyZS5kay9E
    ZWNsaW5lSW52aXRhdGlvbi5hc3B4P2lkPWRhNjUwODlhLWJmODctNGUwYS04NzExLTEwY2My
    ZTYwNjMwZiZpbnZJZD01NjYzMDQ0Zi00MTM1LTQxZTAtOWUzMi0zOWM1M2VlMDU4NTA=
    ----boundary0f027f802-c3aa-47d1-923c-d81cfe8e7a5c
    Content-Type: multipart/related;
    boundary=--boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf; type="text/html"
    ----boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: base64
    PGh0bWwPGhlYWQPC9oZWFkPjxib2R5Pjx0YWJsZSBjZWxsc3BhY2luZz0nMCcgY2VsbHBh
    ZGRpbmc9JzAnIGJvcmRlcj0nMCc+PHRyPjx0ZCBhbGlnbj0nbGVmdCcgd2lkdGg9JzElJz48
    aW1nIHNyYz0nY2lkOkdjTG9nbycPC90ZD48dGQgd2lkdGg9Jzk5JScPC90ZD48L3RyPjx0
    cj48dGQgY29sc3Bhbj0nMic+PGhyIHN0eWxlPSdoZWlnaHQ6MXB4O2NvbG9yOiNCREM4RDMn
    Lz48L3RkPjwvdHIPHRyPjx0ZCBjb2xzcGFuPScyJz4mbmJzcDs8L3RkPjwvdHIPHRyPjx0
    ZCBjb2xzcGFuPScyJz48cHJlPjxwcmU+SW52aXRhdGlvbiB0byBncm91cC4NDUhpDUplc3Bl
    ciBOJiMyNDg7cnJlZ2FhcmQgSGVucmlrc2VuIGhhcyBpbnZpdGVkIHlvdSB0byBiZWNvbWUg
    YSBtZW1iZXIgb2YgdGhlIGludGVybmV0IGdyb3VwDQpKZXNwZXJzR1JQLiBUaGUgY29tbW9u
    IGVtYWlsIGFkZHJlc3Mgb2YgdGhlIGdyb3VwIGlzIGplc3BlcnNncnBAZXh0cmEuZ3JvdXBj
    YXJlLmRrLCB3aGVuDQptZXNzYWdlcyBhcmUgc2VudCB0byB0aGlzIGFkZHJlc3MgdGhleSBh
    cmUgZGlzdHJpYnV0ZWQgdG8gYWxsIG1lbWJlcnMuDQ1DbGljayB0aGUgb2sgYnV0dG9uIHRv
    IGpvaW4gdGhlIGdyb3VwLg1Hcm91cCBOYW1lOiBKZXNwZXJzR1JQDUdyb3VwIERlc2NyaXB0
    aW9uOg1Hcm91cCBFbWFpbDogamVzcGVyc2dycEBleHRyYS5ncm91cGNhcmUuZGsNDVJlZ2Fy
    ZHMsDUplc3BlciBOJiMyNDg7cnJlZ2FhcmQgSGVucmlrc2VuDQo8L3ByZT48L3ByZT48L3Rk
    PjwvdHIPHRyPjx0ZCBhbGlnbj0nbGVmdCcgY29sc3Bhbj0nMicDQoNCjxicj48YSBocmVm
    PSdodHRwOi8vZXh0cmEuZ3JvdXBjYXJlLmRrL1NpZ251cC5hc3B4P2lkPWRhNjUwODlhLWJm
    ODctNGUwYS04NzExLTEwY2MyZTYwNjMwZiZpbnZJZD01NjYzMDQ0Zi00MTM1LTQxZTAtOWUz
    Mi0zOWM1M2VlMDU4NTAnPjxpbWcgc3R5bGU9J2JvcmRlci1jb2xvcjpXaGl0ZScgc3JjPSdj
    aWQ6SW52aXRhdGlvbkFjY2VwdCc+PC9hPg0KDQo8YSBocmVmPSdodHRwOi8vZXh0cmEuZ3Jv
    dXBjYXJlLmRrL0RlY2xpbmVJbnZpdGF0aW9uLmFzcHg/aWQ9ZGE2NTA4OWEtYmY4Ny00ZTBh
    LTg3MTEtMTBjYzJlNjA2MzBmJmludklkPTU2NjMwNDRmLTQxMzUtNDFlMC05ZTMyLTM5YzUz
    ZWUwNTg1MCc+PGltZyBzdHlsZT0nYm9yZGVyLWNvbG9yOldoaXRlJyBzcmM9J2NpZDpJbnZp
    dGF0aW9uRGVjbGluZScPC9hPjwvdGQ+PC90cj48dHIPHRkIGNvbHNwYW49JzInPiZuYnNw
    OzwvdGQPC90cj48dHIPHRkIGNvbHNwYW49JzInPjxociBzdHlsZT0naGVpZ2h0OjFweDtj
    b2xvcjojQkRDOEQzJy8PC90ZD48L3RyPjwvdGFibGUPC9ib2R5PjwvaHRtbD4=
    ----boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: base64
    Content-ID: <InvitationAccept>
    R0lGODlhQwAYANUAAAAAAP///wAAgAAAMwAzmQBmzJnM/6bK8Mzs/zOZzGbM/5nMzJnMZpnM
    M8zMM5mZM8zMZpmZZszMmf//zOfn1q2pkP/78P/MZsxmAP/MmZkzAGYAADMAAPHx8erq6uPj
    493d3dfX18vLy8DAwLKyspaWloaGhoCAgAQEBP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACkALAAA
    AABDABgAAAb/wIBwSCwaj8ikcik8OJ/QqHRKrVqvgQNoy16v+CweCwZEGdtHrNbrvf8Lgb
    ZNbK2Y8H5c7vr+lnbiSDhIMVeRUkfotygHZtJoWEDA0QIyaMHRMbAwaZaY5obRVHDg4SHyVw
    myitAghpm52fHaFupEUUph2pbxcor5qcnrKen7ajRhIOEAG9bRQaKApqvwQIxdEoBYvIbKQU
    FkOmEs6qbRkcs2npncUY24zeaxXLzQG6Dh3mbunBscNkRUBxTV4dUd+WnQpgT8gzNu2MdYjI
    qlXBbgdvBYBgKl85ftCkUUtjDdsGFAmkJTAYKJkFjqb0OTyHjkOwiMI6/frXZ54ag1z5mA15
    2KYiMFg5PcG7yAfQghAekglR+BEkrU8eQiwIQOLAB0giwoqI8GCE2BEnrtL6cIBEgBELvLIJ
    QbduhLp11WZiu2CEEBJxv+od7MYDX7dCRgDWQqax48ddQhxYQMLvEMVdr2jezBkK5cpGMEsa
    Tbq06dOoLR9Bzbq1a0mqhQQBADs=
    ----boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: base64
    Content-ID: <InvitationDecline>
    R0lGODlhXAAYANUAAAAAAP///wAAgAAAM6CgpAAzmTNmzABmzJnM/6bK8Mzs/zOZzGbM/wBm
    ZpnMzJmZZv//zOfn1q2pkMyZM//MZsxmAJlmM//Mme/WxpkzAMxmM2YAADMAAMyZmfHx8erq
    6uPj493d3dfX18zMzMvLy8DAwLKyspaWloaGhgQEBP///wAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAACoALAAA
    AABcABgAAAb/wIBwSCwaj8ikcslsChPQqHRKrVqv2Kx2G0iEvuCweEwum8/oNDrRDXne8Lh8
    Tq/b7/i8PcT2ziMWEXaAgnqGh4h0fG1zFhoaKCeSkycojxaJmZp5i35yEY8aIyCkpCOhJJuq
    chAbAwiInW5zJ6ERQ6CPJyJ1rSm/KQyrdq2vsX2zchK5GrfMGAS8cxQpAgpvFcLDdMWwh7J0
    EgHPth7Rc77acL6/xhccAw+/C28RGcAHHvbAwt3HjHPEjQv16JY5aXHeWbOjUMG7FAcapvNw
    wUC3i668GQIXcAiGUBiEHJxW7RqrDcCsvXvVjVoBkx5cXquQYoG/b8jCCWFWMMBI4jkNgcJD
    0Erl0G4TIMZJCmzezY05O5Ir+DPOxKUpXhZ1eDSjTDhf12X850kZM2cgz5Fc6CGbTGpGWWac
    WPHqBAZP9XCUU6vnzlC76jzk1/ZXgw1xiY7d9ysf4194xIM4EDEh02ijBLta3zoQ8iHAQw
    kQCEHEcaOpBYzZpEh0ueYcBkcBEgBIOSscBREKE79/SQSSTZwObQclhJjIbbq480wfjtsW
    UmK5FzXYs2vfHkZEAgcmkgpTnqL+fPo00sBH94IeRPw48ufT7++/fv48uPL/7I/v8ABijg
    fP0JEQQAOw==
    ----boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: base64
    Content-ID: <GcLogo>
    R0lGODlhowAfAMQAAPv8/Ofr7/f4tjd5cTM2MzT3fP19+Pn7dTa4sjQ2tzh5vu8t/k6tDX
    4O/x9MDJ1f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    ACwAAAAAowAfAAAF/yAkjmRpnmiqrmzrvnAsz3Rt33ius4YTMMDgwSHYGY/IJMRwGDQaiqED
    MBI4mgVFUcntekmCAyIxCBhegQTjy27HAIHDFiJQFBINxOIEl6MABQMmVg4OZySFhXMlhFOM
    DiZEIwCJjoOJVJcnPYknlZ00BgQPpAEBBQ8DDgOkDwWZIqKtASgCBJAiAAitpAlbDrykCLAA
    DcFrI8a4IsANIwzBBAqTCsGCYKTIJMa8CbTMwaSHMru8UVTA5tu8BLAlA9qoDWdww+AFhacP
    ziLGCEUOEjw4kOzBMgjNnqUqdGAUsmoFihhAUKAEtAcJTBiTUu3BIWD4KtUItxiK34iSPi
    YHAtAEZ3iPZVIQWu3QhgBAoeTCgCmrYFMgWQWmRCoLE965axQsbzhgGBvMa55IWABNRW40og
    QLZrGoqmAGhCgFaVBClcymKi9DkCqDOXFVMAReCyrM4RS8GhpCFgVzlSewFcNUjCpEw+t0Sg
    +ubp8MRU/R5oi0wQQtqbh8dKzmVsGrS9JnYFADBqUVo4Dwj8clUJJouLDQQEeKIApgAnCA6K
    mN2AgeueGVMSRhgEVzpzmYxNtryZ+c7M0PA0GPVKM2hsOSGw8hq527LjrXSreErqAIMn6BsM
    kIgg/ROk592vZ5RYhMBvswUyZY1qsvIS/zmnlkLSKcDYZyl8Vgj/NNlRdkBq7oAkkgsXEWAA
    K+GkBl4wYmT40iRZrMOdZvs5Y8BZeD0wIgSjoDWcXgotJ8KDwZ0w2Cx37bJXUy4UQ8orG3qY
    4ShCajOAXTNiVFhzPDGYCVzYPJDciwhB11wJJz5AlAhA1QhBNSidNkplVV6nggCouELFX0K2
    KWR2A1QHhkMxwqjYA2WR9gBju1wDQZ8kANrTlQCqyUxlnZGQ5RaXAeWRnS3IYiiLblYq5AKB
    /BYAdU/QWWYVY8bCqUByLjGKdKTCwhYfqOCBioVCPUoCKl5dpp2hQcpqgp6pbZGlpcCysyIj
    B6BnYCYCMIDUbg0wFsYTdA0ixhNlRMiApniTBNAeAgegA0QkDODn2yQIzJdsEEFseWcpmAXr
    LgHLuiEvGyZ56ai7ljbw27z8HhEruwrh6ya8/RbchWEHGSZwOOMa7DAS3Iij6HkLW6Puwxjb
    MBhjAVc8X8Yg6xDxh0sKrMa+Iaccg8IRlRysHirHjAMg4QxwiMJCNouyzDz3yCYvDdwYDBmj
    9Ww0DqsQ6SYUAVx89NMz9IBuEAtYAvXVWGetcggAOw==
    ----boundary1bf4e0ee6-0c12-47de-8a15-708b7ae8eabf--
    ----boundary0f027f802-c3aa-47d1-923c-d81cfe8e7a5c--
    Hope you can help!

    I tried to convert your base64 code and it seemed valid.
    The situation you describe is normal to me, though, because I have unticked "Show external images in HTML-messages" in Mail's preferences to save bandwidth when I'm on a mobile connection or similar. Whenever i get one of thoses HTML-mails, e.g. from iTunes Store with a lot of missing images, there will be a blue field at the top of the mail window stating that "This messages contents unloaded images" (or whatever the English translation would be). Additionally, there's a "Download images"-button to get the the missing images.
    I don't want to be unpolite, but could that be the case for you too?

  • Embeded image in email body in pl/sql

    Hi, i need to embend images in the email body.
    Someone have an example?
    Thankls

    HI,
    please see my code want to add image in mail body .
    V_CLOB := '<html>
       <head>
         <title>Test HTML with Embedded Image</title>
       </head>
       <body>
         <h1>Test HTML with Embedded Image</h1>
         <p>And here it is:</p>
         <img src="data:image/gpg;base64,';
      get_enc_img_from_tab (922,l_clob);
      insert into ANUP(MAILID)VALUES(blob_to_clob(l_clob));
      V_CLOB := blob_to_clob(V_BLOB) ||'" alt="Site Logo" />
      <p>The end.</p>
      </body>
      </html>';
      /* THIS IF CONDITION DENOTED FOR PLAIN TEXT NOT FOR HTML TEXT*/
      IF V_HTML_TEXT IS NOT NULL THEN
        UTL_SMTP.WRITE_DATA(V_MAIL_CONN, '--' || V_BOUNDARY || UTL_TCP.CRLF);
       UTL_SMTP.WRITE_DATA(V_MAIL_CONN, 'Content-Type:text/html; charset="iso-8859-1"' || UTL_TCP.CRLF || UTL_TCP.CRLF);
        UTL_SMTP.WRITE_DATA(V_MAIL_CONN,V_CLOB);
        UTL_SMTP.WRITE_DATA(V_MAIL_CONN, UTL_TCP.CRLF || UTL_TCP.CRLF);
      END IF;Edited by: BluShadow on 08-Mar-2013 10:44
    added {noformat}{noformat} tags.  Please see {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Re: Base64 Decoder in TOOL requested

    Brendan Duddridge wrote:
    >
    Does anyone have a Base64 decoder written in TOOL? I'm looking for one
    for a project I'm
    working ong.I've enclosed a zip archive with an encoder/decoder class I wrote. This
    is not completely Base64 compliant, but it uses the same algorithm for
    encoding binary data as text. In the Encode and Decode methods, it uses
    the underscore character "_" for padding. Base64 actually uses "=" (the
    equal sign) for this purpose, so you'll need to change this. You'll also
    want to change the last two characters in the ENCODE_ALPHABET constant
    from "$" and "-" to "+" and "/". (Note the comment at the start of the
    Encode method regarding this.) If you need to parse files in MIME
    format, you'll need to do additional work, as well, but that shouldn't
    be too hard. This code, with minor changes, should be able to handle the
    Base64 decoding/encoding for you.
    One major caveat, though. For my purposes, I just wanted to be able to
    serialize a graph of Forte objects into a textual format that could be
    safely embedded into an HTML form field for later retrieval. I wrote
    this class for that purpose, and based it on the Base64 algorithm for
    that. But I haven't really tested it to ensure it really complies with
    Base64. I'm pretty sure it does (with the exception of the 3 characters
    I've changed to avoid using characters that have special meaning on the
    web), but you'll need to test it to make sure. I also don't deal with
    line breaks; it just creates, or decodes, a character stream without
    line breaks, so you'll need to add line break logic if you need to deal
    with MIME format files, or Base64 files with line breaks in them.
    If you have any questions, feel free to ask me.
    Michael Brennan
    Programmer/Analyst
    Amgen Inc.

    Brendan Duddridge wrote:
    >
    Does anyone have a Base64 decoder written in TOOL? I'm looking for one
    for a project I'm
    working ong.I've enclosed a zip archive with an encoder/decoder class I wrote. This
    is not completely Base64 compliant, but it uses the same algorithm for
    encoding binary data as text. In the Encode and Decode methods, it uses
    the underscore character "_" for padding. Base64 actually uses "=" (the
    equal sign) for this purpose, so you'll need to change this. You'll also
    want to change the last two characters in the ENCODE_ALPHABET constant
    from "$" and "-" to "+" and "/". (Note the comment at the start of the
    Encode method regarding this.) If you need to parse files in MIME
    format, you'll need to do additional work, as well, but that shouldn't
    be too hard. This code, with minor changes, should be able to handle the
    Base64 decoding/encoding for you.
    One major caveat, though. For my purposes, I just wanted to be able to
    serialize a graph of Forte objects into a textual format that could be
    safely embedded into an HTML form field for later retrieval. I wrote
    this class for that purpose, and based it on the Base64 algorithm for
    that. But I haven't really tested it to ensure it really complies with
    Base64. I'm pretty sure it does (with the exception of the 3 characters
    I've changed to avoid using characters that have special meaning on the
    web), but you'll need to test it to make sure. I also don't deal with
    line breaks; it just creates, or decodes, a character stream without
    line breaks, so you'll need to add line break logic if you need to deal
    with MIME format files, or Base64 files with line breaks in them.
    If you have any questions, feel free to ask me.
    Michael Brennan
    Programmer/Analyst
    Amgen Inc.

  • OBIEE 10G Embedded Image not displayed on PDF

    Hi
    We have some embedded images (source on network share or on the webserver) on a dashboard. On the screen the images are displayed without problems.
    But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
    Is there a known bug that images can't be printed on dashboard pages or do we have to embed them different?
    Thank you

    Hi Team,
    I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
    I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
    Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
    Thanks in advance.

  • OBIEE 11G Embedded Image not displayed on PDF

    Hi
    I have some embedded images on a dashboard. On the screen the images are displayed without problems.
    But if we want to print the dashboard (f.e. PDF) the images are not printed. In html-view the images would be displayed.
    All the images are referenced with the fmap path.
    Any way to print the images in the pdf ?
    Thank you
    obiee 11.1.1.5
    O.S : Oracle Linux 5.6 x64

    Hi Team,
    I do face the same issue of image not displayed in only pdf output format. Our client has deployed OBIEE 10.1.3.4.1 using Weblogic application server and is accesible through a secured url access.
    I have followed the fmap syntax to locate the image, also made sure the image is getting accessed through url, tried with different images of different sizes . In all cases the image display is appearing fine in HTML & Excel output. But not getting displayed only for pdf output.
    Can you please help me with this regard if am missing any specific setup for pdf output. Is there is any pointers or documentation available to get around this issue.
    Thanks in advance.

  • PrintDataGrid's DataGridColumn - Embedded image not printing when you use TextFlow in the item rende

    I'm printing a datagrid using something like  this...
    <mx:PrintDataGrid
      id="printDataGrid" 
      width="100%" 
      height="100%"
      showHeaders="false"
      borderVisible="false"
      horizontalGridLines="false"
      variableRowHeight="true"
      dataProvider="{titles}"
      >
      <mx:columns>
       <mx:DataGridColumn 
        itemRenderer="renderer.TitlePrintRenderer" 
        />
      </mx:columns>
    </mx:PrintDataGrid>
    TitlePrintRenderer.mxml has s:RichText component. I use  RichText's textFlow property to render the text. The approach is working fine  except that if the textFlow has embedded images (<img source=... />), the  images are not printed!
    Is this a bug? Is it a limitation? Has anyone come  across this issue?
    I'm using Flex SDK 4.5.1

    After struggling for 4+ days on using timer / events for printing PrintDataGrid with embedded images in RichText's textFlow, I tried your other suggestion... to convert <img> tags to InlineGraphicElement and give it Bitmap from image loaded from a .gif file. The approach works but the printout skips images in a few rows!
    I've this test case in which, every time I print, it skips printing image in the second row! I also implemented this approach in a more complex test case and depending on the total number of rows, it would skip printing image in different number of rows. I'm suspecting that even if you construct InlineGraphicElement from bitmap loaded from an image, PrintDataGrid's renderer still skips printing image intermittently.
    I would very much appreciate it if you could create small project from my following code and verify this behavior. I'm at my wit's end in getting this printing to work.
    PrintImagesTest.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955" minHeight="600"
        initialize="initData();"
        viewSourceURL="srcview/index.html"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="20" paddingRight="20"
                paddingTop="20" paddingBottom="20"
                />
        </s:layout>
        <mx:Button
            label="Print"
            click="printClickHandler();"
            />
        <fx:Script>
            <![CDATA[
                import flash.utils.setTimeout;
                import flashx.textLayout.elements.InlineGraphicElement;
                import flashx.textLayout.elements.ParagraphElement;
                import flashx.textLayout.elements.SpanElement;
                import flashx.textLayout.elements.TextFlow;
                import mx.collections.ArrayCollection;
                import mx.printing.*;
                import mx.utils.OnDemandEventDispatcher;
                public var contentData:ArrayCollection;
                private var embeddedImages:ArrayCollection;
                private var numberOfImagesLoaded:int;
                public var printJob:FlexPrintJob;
                public var thePrintView:FormPrintView;
                public var lastPage:Boolean;
                private var textFlowNS:Namespace = new Namespace("http://ns.adobe.com/textLayout/2008");
                public function initData():void {
                    contentData = new ArrayCollection();
                    var page:int = 0;
                    for (var z:int=0; z<20; z++)    {
                        var content:Object = new Object();
                        content.srNo = z+1;
                        content.contentText =
                        "<TextFlow whiteSpaceCollapse='preserve' xmlns='http://ns.adobe.com/textLayout/2008'>" +
                        "<span>some text</span>" +
                        "<img width='53' height='49' source='assets/images/formula.gif'/>" +
                        "</TextFlow>";
                        contentData.addItem(content);
                public function printClickHandler():void {
                    convertToTextFlow();
                private function convertToTextFlow():void {
                    embeddedImages = new ArrayCollection();
                    numberOfImagesLoaded = 0;
                    for each (var contentElement:Object in contentData) {
                        extractImageInfo(contentElement.contentText);
                    if (embeddedImages.length > 0) {
                        loadImage(embeddedImages.getItemAt(0).source);
                    } else {
                        printData();
                private function extractImageInfo(contentText:String):void {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    for each (var img:XML in imageList) {
                        var embeddedImage:Object = new Object();
                        embeddedImage.source = String(img.@source);
                        embeddedImage.width = parseInt(img.@width);
                        embeddedImage.height = parseInt(img.@height);
                        embeddedImages.addItem(embeddedImage);
                private function loadImage(imageSource:String):void {
                    var loader:Loader = new Loader();
                    var urlRequest:URLRequest = new URLRequest(imageSource);
                    loader.load(urlRequest);
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
                private function imageLoaded(e:Event):void {
                    embeddedImages.getItemAt(numberOfImagesLoaded).bitmap = (Bitmap)(e.target.content);
                    embeddedImages.getItemAt(numberOfImagesLoaded).width = ((Bitmap)(e.target.content)).width;
                    embeddedImages.getItemAt(numberOfImagesLoaded).height = ((Bitmap)(e.target.content)).height;
                    ++numberOfImagesLoaded;
                    if (numberOfImagesLoaded < embeddedImages.length) {
                        loadImage(embeddedImages.getItemAt(numberOfImagesLoaded).source);
                    } else {
                        // all the images have been loaded... convert to textflow
                        buildContent();
                        printData();
                private function buildContent():void {
                    var contentIndex:int = 0;
                    for each (var contentElement:Object in contentData) {
                        if (hasImage(contentElement.contentText)) {
                            buildTextFlow(contentElement, contentIndex);
                            ++contentIndex;
                private function buildTextFlow(content:Object, contentIndex:int):void {
                    var textXml:XML = new XML(content.contentText);
                    var p:ParagraphElement = new ParagraphElement();
                    for each(var child:XML in textXml.children()) {
                        switch (child.localName()) {
                            case "span":
                                var span:SpanElement;
                                span = new SpanElement();
                                span.text = child;
                                span.fontSize = 10;
                                p.addChild(span);
                                break;
                            case "img":
                                var image:InlineGraphicElement;
                                image = new InlineGraphicElement();
                                image.source = embeddedImages.getItemAt(contentIndex).bitmap;
                                image.width = embeddedImages.getItemAt(contentIndex).width;
                                image.height = embeddedImages.getItemAt(contentIndex).height;
                                p.addChild(image);
                                break;
                    content.textFlow = new TextFlow();
                    content.textFlow.addChild(p);
                private function hasImage(contentText:String):Boolean {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    if (imageList.length() > 0) {
                        return true;
                    } else {
                        return false;
                private function printData():void {
                    printJob = new FlexPrintJob();
                    lastPage = false;
                    if (printJob.start()) {
                        thePrintView = new FormPrintView();
                        addElement(thePrintView);
                        thePrintView.width=printJob.pageWidth;
                        thePrintView.height=printJob.pageHeight;
                        thePrintView.printDataGrid.dataProvider = contentData;
                        thePrintView.showPage("single");
                        if(!thePrintView.printDataGrid.validNextPage) {
                            printJob.addObject(thePrintView);
                        } else {
                            thePrintView.showPage("first");
                            printJob.addObject(thePrintView);
                            while (true) {
                                thePrintView.printDataGrid.nextPage();
                                thePrintView.showPage("last"); 
                                if(!thePrintView.printDataGrid.validNextPage) {
                                    printJob.addObject(thePrintView);
                                    break;
                                } else {
                                    thePrintView.showPage("middle");
                                    printJob.addObject(thePrintView);
                        removeElement(thePrintView);
                    printJob.send();
            ]]>
        </fx:Script>
    </s:Application>
    FormPrintView.mxml
    ===============
    <?xml version="1.0"?>
    <mx:VBox
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:MyComp="myComponents.*"
        backgroundColor="#FFFFFF"
        paddingTop="50" paddingBottom="50" paddingLeft="50"
        >
        <fx:Script>
            <![CDATA[
                import mx.core.*
                    public function showPage(pageType:String):void {
                        validateNow();
            ]]>
        </fx:Script>
        <mx:PrintDataGrid
            id="printDataGrid"
            width="60%"
            height="100%"
            showHeaders="false"
            borderVisible="false"
            horizontalGridLines="false"
            variableRowHeight="true"
            >
            <mx:columns>
                <mx:DataGridColumn
                    itemRenderer="MyPrintRenderer"
                    />
            </mx:columns>
        </mx:PrintDataGrid>
    </mx:VBox>
    MyPrintRenderer.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:bslns="com.knownomy.bsl.view.component.*"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="5"
                paddingRight="5"
                paddingTop="3"
                paddingBottom="3"
                gap="5"
                horizontalAlign="left"
                clipAndEnableScrolling="true"
                />
        </s:layout>
        <fx:Declarations>
        </fx:Declarations>
        <s:HGroup
            width="100%"
            gap="5"
            verticalAlign="middle"
            >
            <s:Label
                text="{data.srNo}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
            <s:RichText
                id="title"
                width="700"
                textFlow="{myTextFlow}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
        </s:HGroup>
        <fx:Metadata>
        </fx:Metadata>
        <s:states>
            <s:State name="normal" />
            <s:State name="hovered" />
            <s:State name="selected" />
        </s:states>
        <fx:Script>
            <![CDATA[
                import flashx.textLayout.elements.TextFlow;
                [Bindable]
                private var myTextFlow:TextFlow;
                override public function set data(value:Object) : void {
                    if (value != null) {
                        super.data = value;
                        myTextFlow = data.textFlow;
            ]]>
        </fx:Script>
    </s:MXDataGridItemRenderer>

  • Why can't I print embedded images in a Thunderbird E-mail? I just get blank boxes for the images.

    I am a copyeditor who receives feedback from my clients re: manuscripts I have edited. They will often sent e-mails that include small screen captures from parts of their style guide or screen captures of the proof that is in question (small sections, like a paragraph or an equation, or a header that needs to be coded/styled differently for HTML). Now, I can see these fine in the e-mail, but when I go to print them out for my reference binder, the embedded images don't print.
    Mozilla, I need these to print; they are quite important to my job.
    To keep my e-mail from becoming too bloated, I save these important style issue e-mails into a folder on my desktop I call "Print out for binder", queuing them for the day I can print a bunch of them out and arrange them according to subject matter.
    Problem is, they are useless if they don't include these illustrative screen captures; blank boxes are worthless to the context.
    It is not my printer that is the problem. if I receive a Word doc with these screen captures, they print fine. But if I try to print from T-Bird, no go. Help. (I can't save these e-mails as Word docs either, which might solve the problem; the only options in T-Bird are "Save as file" or "Save as template".)
    Thunderbird is a powerful e-mail program, and one I have been using for over a decade. Why can't it perform this function? Please help. Or point me to an add-on. I haven't been able to find one that addresses this seemingly straightforward, common, and simple problem.

    When you select File(or AppMenu/Print)/Print Preview, do the images appear? Do the images print if you check 'Print background (colors & images)' under File/Page Setup? I don't have any problems printing a message with an embedded image, at least to an xps file.
    I devised a workaround that might help, failing a real solution: install [https://addons.mozilla.org/en-US/thunderbird/addon/unmht/ unMHT] in both TB and Firefox, and then File/Save As MHT in TB. Open the mht file in Firefox, and Print.

Maybe you are looking for

  • Muse overlap in Safari 5.1.7

    My client is telling me there is an overlap in html juicebox gallery I am using.  He is seeing it overlap the footer in safari 5.1.7.  I am not seeing it in 5.1.5 or firefox or muse itself. I have tried a ton of things to get this fixed, the overlap

  • IT0045 - How to restrict loan types to a maximum of 1 per employee?

    Hi Gurus - We have a requirement to restrict employees to only one loan type to be open at a time. This means if an employee has a Vehicle Loan currently running, he or she cannot create another one unless the previous one is closed. Setting the Time

  • My iPhone 5 - today is going to be the fifth time I have to replace it!!! What I should do?????

    iPhone 5 has one to many problems , yesterday6/21/2013 My  iPhone 5 was replace for the four time and less than 6 months !!!! I got a """"""new one""""" today crash again!!!!!!!

  • Crop operation not working in JAI 1.1.3?

    The "crop" operation seems to be broken in JAI 1.1.3 (at least for Windows): When cropping an image, the values for x and y are ignored and the new image is always the part from the upper left corner of the original image. In JAI 1.1.2 this worked co

  • Material Document No ranges

    Hi all, Can Material Document No ranges be changed for every fiscal year ? say i want to discontinue the existing no range series and start the document range with a new series for the new fiscal year . is this possible ? i tried doing this but the s