How to render cids images

I have an email read with CFPOP, with 2 embeded images.
I did a cfdump of the cids :
I can see the 2 images names and cids,
But is it possible to render at least one image in the webmail via the CFPOP ?
Thanks for help.

Here is part of the solution : Working when cids files are loaded.
The image src is like : cid:[email protected]
<cfloop collection="#cids#" item="x">
      <cfset i=#findnocase("<",cids[x])#>
      <cfif i is not 0>
       <cfset j = findnocase(">",cids[x],i)>
       <cfif j is not 0>
        <cfset cid1=removechars(cids[x],j,len(cids[x]))>
        <cfset cid1=removechars(cid1,1,i)>
        <cfset cid1="cid:" & cid1>
        <cfset at_file=http_start & "/attach_Rec/" & x>     <!--- full path of the downloaded file --->
        <cfset tbody=replacenocase(body,cid1,at_file)>
       </cfif>
      </cfif>
   </cfloop>
There is may be an other solution in new tags or CF functions ?
And when the CID file is not downloaded, this cannot not work.
The CID code should correspond to an Internet adress (http://xxxxxxx) but I do not know how to understand this CID.
The src image is like :
cid:[email protected]

Similar Messages

  • How to render an image (byte array) in a JSP

    I don't know how to solve this:
    I have a bean 'Details' with a property 'photo'
    This bean is read in a servlet and put into session scope like this:
    PhotoDetails Details = getPhotoDetail(some_id);
    HttpSession session = request.getSession();
    session.setAttribute("photo", Details);
    Then I forward to a JSP, where properties of the bean are listed:
    <bean:write scope="session" name="photo" property="photo_description" />
    Till now, it works fine,
    but now I want to display the 'photo' property. This fails ....
    I try to do this:
    <html:img src="/servlets/PhotoDisplayer" />
    I use an html:img tag and I call a servlet which should stream the photo
    to the JSP page. I hope the servlet pick the photo attribute from the
    session.
    Here is the PhotoDisplayer Class:
    public class PhotoDisplayer extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    PhotoDetails photoDetail = (PhotoDetail)
    request.getSession(true).getAttribute("photo");
    byte[] photo = photoDetail.getPhoto();
    response.setContentType("image/jpg");
    OutputStream os = response.getOutputStream();
    BufferedOutputStream bos = new BufferedOutputStream(os);
    bos.write(photo, 0, photo.length);
    bos.close();
    But nothin happens, I don't see a picture/photo on the JSP page.
    If someone can help with this, I will appreciate that.
    kind regards,
    Harryvanrijn

    Karthik:
    It should not be difficult to debug what is exactly the cause of your problem.
    Firstly, use your servlet to display an existing .jpeg or .jpg file that you know it is good.
    If it is ok, then the problem lies in getting the image from the blob. To confirm it, you can try saving the image from the blob into a .jpeg file and viewing it through any graphic viewer, like the Windows accessory "paint".
    If it is not ok, then the problem lies in your servlet or browser. Make an html that contains a link to your image. Save it to the disk as a .jpg file through the browser. Is it the same as the file saved from blob directly? View the file through a graphic viewer.
    Well, that is the idea. Just try various variations and locate the exact place where it goes wrong in your situation. Please tell me if this helps or not.

  • How to Hyperlink an image on the hard drive

    We are converting to iMac from Windows and keep our photography business data in excel spreadsheets. Each image name links to an image on the PC hard drive. On the iMac in Numbers, I can link text in a cell to a webpage or an email but if I use the path to the location on the hard drive, it doesn't work. What I would like is to pop the image in Safari when I click the hyperlink in the Numbers cell. Example:
    The iMac name is butterfly, the user is reniepoole and the path to the image is Documents/image.jpg. If I put file://butterfly/users/reniepoole/Documents/image.jpg into the address bar in Safari, it will render the image OK. If I use the same address as the URL when I try to insert the image as a hyperlink in a Numbers cell, it doesn't work. Does anyone know how to render the image in Safari from a link in Numbers?

    Here is a script doing the trick.
    --[SCRIPT openFileFromNumbers]
    Enregistrer le script en tant que Script : openFileFromNumbers.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Sélectionner une cellule contenant un chemin d'accès à un fichier.
    menu Scripts > Numbers > openFileFromNumbers
    Le script ouvrira le fichier.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    (* à vérifier avec Snow Leopard *)
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as Script : openFileFromNumbers.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Select a cell containing a link to a file.
    menu Scripts > Numbers > openFileFromNumbers
    The script will open the file.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2009/12/28
    --=====
    property useSafari : true
    true = use Unix paths and open thru Safari
    example : file://Macintosh HD/Users/yvan_koenig/Documents/95.jpg
    false = use HFS paths and open thru Finder
    example : Macintosh HD:Users:yvan_koenig:Documents:95.jpg
    on run
    set {dName, sName, tName, rname, rowNum1, colNum1, rowNum2, colNum2} to my getSelParams()
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    set thePath to value of cell rowNum1 of column colNum1
    end tell
    if useSafari then
    tell application "Safari" to open location thePath
    else
    tell application "Finder" to open file thePath
    end if
    end run
    --=====
    on getSelParams()
    local r_Name, t_Name, s_Name, d_Name, col_Num1, row_Num1, col_Num2, row_Num2
    set {d_Name, s_Name, t_Name, r_Name} to my getSelection()
    if r_Name is missing value then
    if my parleAnglais() then
    error "No selected cells"
    else
    error "Il n'y a pas de cellule sélectionnée !"
    end if
    end if
    set two_Names to my decoupe(r_Name, ":")
    set {row_Num1, col_Num1} to my decipher(item 1 of two_Names, d_Name, s_Name, t_Name)
    if item 2 of two_Names = item 1 of two_Names then
    set {row_Num2, col_Num2} to {row_Num1, col_Num1}
    else
    set {row_Num2, col_Num2} to my decipher(item 2 of two_Names, d_Name, s_Name, t_Name)
    end if
    return {d_Name, s_Name, t_Name, r_Name, row_Num1, col_Num1, row_Num2, col_Num2}
    end getSelParams
    --=====
    set {rowNumber, columnNumber} to my decipher(cellRef,docName,sheetName,tableName)
    apply to named row or named column !
    on decipher(n, d, s, t)
    tell application "Numbers" to tell document d to tell sheet s to tell table t to return {address of row of cell n, address of column of cell n}
    end decipher
    --=====
    set { d_Name, s_Name, t_Name, r_Name} to my getSelection()
    on getSelection()
    local _, theRange, theTable, theSheet, theDoc, errMsg, errNum
    tell application "Numbers" to tell document 1
    repeat with i from 1 to the count of sheets
    tell sheet i
    set x to the count of tables
    if x > 0 then
    repeat with y from 1 to x
    try
    (selection range of table y) as text
    on error errMsg number errNum
    set {_, theRange, _, theTable, _, theSheet, _, theDoc} to my decoupe(errMsg, quote)
    return {theDoc, theSheet, theTable, theRange}
    end try
    end repeat -- y
    end if -- x>0
    end tell -- sheet
    end repeat -- i
    end tell -- document
    return {missing value, missing value, missing value, missing value}
    end getSelection
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) lundi 28 décembre 2009 18:38:42

  • How to render image dynamically in ADF using URL

    Hi all,
    I have a requirement where i need to render the images dynamically using the url. As the url are of the IPM Application and each of the url is associated to a particular image of a particular document. I have tried making the URL Data Control but couldn't able to get the Image as per the document,even the image is not being rendered onto the page.I want the whole IPM console to be rendered on my jspx page.
    Note- It is not a wsdl url.
    Please suggest how should i implement this
    thanks in advance

    if you decompile the imaging.ear file, there is a web.xml file which you can add the following parameter:
    <context-param>
    <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
    <param-value>never</param-value>
    </context-param>
    or take a look at      Receiving "Warning: Unable to load content in a frame. Frame content will load at the top level." When Trying to Use the <af:inlineFrame> Component [ID 1266770.1] on Oracle Support.
    Make sure you take a copy of the imaging app before you make changes. You can then upload back through the weblogic console.
    Sudi

  • How to Conditionally Rende the Images in af:treeTable...

    Hi,
    I need to conditionally render the Images in af:treeTable.
    First let me explain my requirement clearly...
    I need to display Dept --> Emp in a tree View format... Some thing like
    Dallas
    --> Smith
    --> Scott
    --> Tiger
    New York
    --> XXXX
    --> YYYY
    --> ZZZZz
    Along with these i need to display Add and Delete Command links in second column.
    But Delete Operation should not available for Departments...
    So how to conditionally stop delete image from rendering for departments...
    Waiting for your response...
    Thanks in Advance...

    You don't need disabled though rendered property. Sorry.
    You'll find it in property inspector for image component. There you will enter the binding to the method that you should write in backing bean (method name must start with "get"). You can also use binding editor for entering correct binding string while working in property inspector.
    Method in backing bean, for example:
    public Boolean getRenderedImage(){  
    Object obj = FacesContext.getCurrentInstance().getApplication().
    createValueBinding("#{row.row.currentRow.dataProvider}").
    getValue(FacesContext.getCurrentInstance());
    /* next ushould cast this object to whatever it is and se if it should be rendered or not and return true or false. To see what is the cast object you could put break point after getting obj and see Class name.
    One thing. You should see what is the binding name for row elements in your table. By default it is "row" if you did drag&drop. If it is "row1" you should change the string above to: "#{row1.row.currentRow.dataProvider}".

  • How to render image from binary property of node?

    Hello!
    How to put the image to the page from binary property of node in cms? How tags can i use?

    Hi,
    I have an additional question, regarding the images of a page. As stated above, rendering them works fine. But now I would also like to have them resized within certain boundaries. Is there a way to define the min/max width/height in the design of the page component for these images?
    I tried adding a node (name='image', jcr:primaryType=nt:unstructured) to /etc/designs/<myproject>/jcr:content/<mypagecomponent>. I then added minHeight, minWidth, maxHeight, ... properties to that node, but it seems they are not being picked up by the img.png.java servlet from the libs/foundation/page component.
    I created this design node based on a similar node which was added in the design of <mypagecomponent> for an 'image' in a 'par' when I changed the design of it.
    So I'm wondering if it is at all possible to define a design for the image of a page and if it, how I should do it.
    Kind regards,
    Luc

  • How to attach an image in xls report

    Hi, does anyone knows how to insert an image in excel report?..
    We'd been working this for so long and it seems that the report cannot locate/render the image properly ..
    I hope someone can give me some tips and help..
    Thanks ..
    --original sql code  TEXT format                               
    OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    HTP.P('Content-Disposition: attachment; filename="' || V_RPT_TITLE_NO_SPACE || '.xls"');
    OWA_UTIL.HTTP_HEADER_CLOSE;
    --end of original sql code
    --begin DEV mode Insert Image - Logo
    --OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    owa_util.mime_header( 'application/octet-stream', FALSE );
    htp.p('Content-Type: application/ms-excel');
    HTP.P('Content-Type: multipart/related; boundary="----=_NextPart_01CA74F8.C8882F00"');
    HTP.P('------=_NextPart_01CA74F8.C8882F00');
    htp.p('Content-Disposition: attachment; filename="filename.xls"');
    -owa_util.http_header_close;
    --end DEV mode
    base64 code (image)
    HTP.P('------=_NextPart_01CA74F8.C8882F00
    Content-Location: file:image001.jpg
    Content-Transfer-Encoding: base64
    Content-Type: image/jpeg
    /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
    AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBg.....')

    Two thoughts.
    The first is to ask Microsoft since it is their software.
    The second is to throw Excel away and get a real report writer like Business Objects or Cognos or one of the many report creating projects Oracle provides.
    Excel, by definition, is a violation of audit trail rules.

  • [Forum FAQ] How to display an image from Http response in Reporting Services?

    Question:
    There is a kind of scenario that users want to display an image which is from URL. In Reporting Services, if the URL points to an image file, we can directly display it by typing the URL in embedded image. However, some URLs are just sending Http requests
    to server side, then redirect to another position and the server will return the image. For these kind of URLs, Reporting Services can’t directly render the image from Http response.
    Answer:
    To achieve this goal, we can add custom code into the report. Pass the URL as argument into our custom function so that we can create HttpRequest and get the HttpResponse. Then we can use custom function to return the Bytes() from the HttpResponse and render
    it into an image in report.
    Ps: In Reporting Services, it only support drawing Bytes() array into image, so we need to have our custom function return Bytes array.
    Add the assembly and custom code into the report.
    Public shared Function GetImageFromByte(Byval URL as String) As byte() 
                    Dim photo as System.Drawing.Image 
             Dim Request As System.Net.HttpWebRequest 
           Dim Response As System.Net.HttpWebResponse 
                  Request = System.Net.WebRequest.Create(URL)         
                     Response = CType(Request.GetResponse, System.Net.WebResponse) 
                 If Request.HaveResponse Then  
                      If Response.StatusCode = Net.HttpStatusCode.OK Then                    
                           photo = System.Drawing.Image.FromStream(Response.GetResponseStream) 
                     End If 
                 End If 
                  Dim ms AS System.IO.MemoryStream = new System.IO.MemoryStream() 
                 photo.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg) 
                    Dim imagedata as byte()  
                    imagedata = ms.GetBuffer()  
                    return imagedata
    End Function
    Grant the permission for assemblies. 
    Go to: 
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\RSpreviewPolicy.config 
    C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\rssrvpolicy.config
    Give “FullTrust” for Report_Expressions_Default_Permissions.
    Insert an image into report. 
    Expression:
    =Code.GetImageFromByte("https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcSrVwPoAtlcA2A3KaiAJi-XjS4icr1QUnKYr7uzpX3IL3g2GPisAQ")
    The Result looks below:
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    >
    Hi, I'd like to display a dynamic image from the web inside a JLabel or any other swing component it could work in. I've been looking on the Swing tutorials and others forums, all I can have is that a JLabel can load an Icon object, defined by an image URL, but can this URL be like "http://xxxxx/image.jpg" somehow or can it only be a local image URL?>
    I do not know why you start talking about an image on the web then go on to show concerns about whether it will work for a 'local' URL.
    But perhaps this answer will cover the possibilities.
    So long as you can from an URL to the image, and the bytes are available for download (e.g. some web sites wrap a direct call to an image in HTML that embeds the image), the URL based icon constructors will successfully load it.
    It does not matter if that URL points to
    - a web site,
    - a local server ('localhost'),
    - an URL representation of a File on the local file system, or
    - it is inside a Jar file that is on the application's run-time classpath.
    How you go about forming a valid URL to a 'local resources' (or indeed what you regard as local resources) is another matter, depending on the form of the project, and how the resources are stored (see list above).
    Probably the main reason that examples use images at a hard coded URL on the net is that it makes an 'image example' self contained. As soon as we compile and run it, we can see the result. I have posted a few examples like that on these forums.
    Edit 1:
    BTW - Welcome to the Sun forums
    Edited by: AndrewThompson64 on Apr 21, 2009 12:15 PM

  • How do I store images in a jar file to be displayed on a jsp?

    Afternoon all,
    I have created a java component which accepts some parameters and returns a string. The returned string contains html tags to display a table in a webpage when rendered through a browser.
    I want to be able to add this component to any java web project to display my table. The problem is that I want to use images in my table to give the appearance of curved corners.
    How do I store images in my component and render to a webpage?
    Thanks in advance,
    Alex

    You won't be able to make the install of this library as simple as the installation of a jar file. You can't access the images directly in the jar.
    There are a few approaches you can take:
    1 - jar file + resources:
    Have the install as being a jar and a "resources" directory which you store all the images in. Thus the images become part of the web application/web site and are accessible. Probably need to allow an entry in web.xml to configure where/what this directory is called.
    2 - jar file only:
    Provide a servlet to access the images, which will load them from the jar file, using the ClassLoader.getResourceAsStream(). Requires declaration of a servlet in the web.xml file. Won't be as efficient as having the images on disk, but will keep them bundled in the jar file.
    you would generate code such as <img src="myImgServlet?img=.....">
    Cheers,
    evnafets

  • How to put an image to any part of an e-mail using UTL_SMTP

    We need to send an e-mail with the following format.
    |COMPANY LOGO (JPEC IMAGE)          |
    |                                    |
    |                                    |
    |              HTML table            |
    |                                    |
    |                                    |
    ------------------------------------The exact format is shown here: http://postimage.org/image/76v4e5tmd/
    Above the Automatic Payment Advice is the JPEG image.
    How do we CONSTRUCT THIS e-mail? Our DB is a 10g R2. We use UTL_SMTP. Problem is how to insert an image to any part of the e-mail (not as a separate attachment)?
    Edited by: Channa on May 24, 2012 5:51 AM

    Yes. It is possible. Read this posts of Billy Verreynne to uderstand the MIME format.
    Re: Sending HTML mail with inline/embeded images (My code is constructed on this input)
    embeded image in email body in pl/sql
    DECLARE
      /*LOB operation related varriables */
      v_src_loc  BFILE := BFILENAME('TEMP', 'otn.jpg');
      l_buffer   RAW(54);
      l_amount   BINARY_INTEGER := 54;
      l_pos      INTEGER := 1;
      l_blob     BLOB := EMPTY_BLOB;
      l_blob_len INTEGER;
      v_amount   INTEGER;
      /*UTL_SMTP related varriavles. */
      v_connection_handle  UTL_SMTP.CONNECTION;
      v_from_email_address VARCHAR2(30) := '[email protected]';
      v_to_email_address   VARCHAR2(30) := '[email protected]';
      v_smtp_host          VARCHAR2(30) := 'x.xxx.xxx.xxx'; --My mail server, replace it with yours.
      v_subject            VARCHAR2(30) := 'Your Test Mail';
      l_message            VARCHAR2(32767) := '<html>
    <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
    <body background=3D"cid:[email protected]">
    ..rest of mail
    </body>
    </html>
      /* This send_header procedure is written in the documentation */
      PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
      BEGIN
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                            pi_name || ': ' || pi_header || UTL_TCP.CRLF);
      END;
    BEGIN
      /*Preparing the LOB from file for attachment. */
      DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
      l_blob_len := DBMS_LOB.getlength(l_blob);
      /*UTL_SMTP related coding. */
      v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
      UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
      UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
      UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
      UTL_SMTP.OPEN_DATA(v_connection_handle);
      send_header('From', '"Sender" <' || v_from_email_address || '>');
      send_header('To', '"Recipient" <' || v_to_email_address || '>');
      send_header('Subject', v_subject);
      --MIME header.
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'MIME-Version: 1.0' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: multipart/related; ' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          ' boundary= "' || 'SAUBHIK.SECBOUND' || '"' ||
                          UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      -- Mail Body
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: text/html;' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          ' charset=US-ASCII' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Transfer-Encoding: quoted-printable' || UTL_TCP.CRLF);                     
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      -- Mail Attachment
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Disposition: inline; filename="otn.jpg"' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: image/jpg; name="otn.jpg"' ||
                          UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-ID: <[email protected]>; ' ||
                          UTL_TCP.CRLF);                     
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      -- Close Email
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || '--' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
      UTL_SMTP.CLOSE_DATA(v_connection_handle);
      UTL_SMTP.QUIT(v_connection_handle);
      DBMS_LOB.FREETEMPORARY(l_blob);
      DBMS_LOB.FILECLOSE(v_src_loc);
    EXCEPTION
      WHEN OTHERS THEN
        UTL_SMTP.QUIT(v_connection_handle);
        DBMS_LOB.FREETEMPORARY(l_blob);
        DBMS_LOB.FILECLOSE(v_src_loc);
        RAISE;
    END;Otn logo is in my database server and It will embade otn logo all over the mail body!.
    Edited by: Saubhik on May 24, 2012 9:06 PM
    Changed the original IP and email address. I should have done this earlier!: Saubhik on May 25, 2012 11:20 AM

  • Render tiff images in flex

    Hi,
         I'm a new guy to flex.In my project i got a requirement to render multi-page tiff images in flex application.Can anyone help me how to render multi-page tiff images in flex.It will be very helpful for me in my development.
    Thanks in advance,
    Swetha.

    http://stackoverflow.com/questions/2149365/reading-tiff-files-in-adobe-flex-based-applicat ion
    http://stackoverflow.com/questions/3300244/16-bit-tiff-decoder-for-flex
    But do not expect to find an easy solution.    

  • HELP need examples how to render off screen!

    I just cant figure out how to render a scene to an image.
    Please somebody post a complete example from building graph untill the ready image.
    my code just doesnt work. :-(

    I just can't get it. I just need the s*6%" to render the stuff on an IMAGE. I get some Screen3D exceptions or NullPointer stuff.
    I just need:
    Something like that...
    BifferedImage image = new BufferedImage(x,y,...);
    "render refering to image size"
    // stuff is on the image.
    g.drawImage(...);
    !done!
    PLEASE. DUKE'S WAITING!

  • How to display the images in the custom pluggable navigation.

    Hi,
    I have created a custom pluggable navigation and i need to show my custom images for the tabs in the primary navigation. where do i need to put my images and how will i need to render the images. Any thoughts will be helpful.
    Thanks in advance - Emmanuel

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • How Adobe viewer scales images?

    Hi,
    I am putting a JPEG file of lesser resolution than the PDF and is scaling it inside PDF. I have a doubt how the viewer scales the image while rendering? Is it just pixel replication or can we specify inside PDF to use some filters for scaling to get better quality? Can someone please help me regarding this doubt?
    Thanks,
    Sham

    I found the answer myself from the PDF standard. Image interpolation is done if the /Interpolate field in the image XObject is set true. I am quoting from the PDF standard below.
    "When the resolution of a source image is significantly lower than that of the output device, each source sample covers many device pixels. As a result, images can appear jaggy or blocky. These visual artifacts can be reduced by applying an image interpolation algorithm during rendering. Instead of painting all pixels covered by a source sample with the same color, image interpolation attempts to produce a smooth transition between adjacent sample values. Image interpolation is enabled by setting the Interpolate entry in the image dictionary to true. It is disabled by default because it may increase the time required to render the image."

  • Inline (CID) Images in eMail dont show any more

    I get 4-5 bussiness status emails every day with many cid attached images in them.
    This are about 2MB images via email every day.
    I got this emails since years.
    Some weeks ago the (CID-)images stoped from showing inline the HTML-mails.
    They now show as tiny grey squares.
    I had this effect with iPhone 4s and iPad2.
    Receiving the emails with Outlook, the mail was perfect with all the images.
    Colleagues getting the same emails. They can see the images after waiting for some minutes!! (Not seconds).
    I restarted the devices - no change.
    Question:
    Is there any counter,memory or something else witch can be reseted to bring the images back "inline" my HTML Mails?

    Before mp3 player became so in-depth, it was enough to just have the artist & title displayed for the file. This has changed with the current software capabilities, it is more important to have the "tags" correct for the player to recognize them. This helps you get the most from the player. Here's one way to correct missing/ unorganized tags. Realize that this can be a lengthy process, depending on how many songs and how many are not listed correctly.
    1. Open iTunes- go to your "Library"
    2. Make sure that all of your mp3s are in this folder.
    3. Using either the ctrl+click, or the click+shift method, select all the songs of a particular artist.
    4. right-click, select "get info" & go to the "Info" tab.
    5. Now click the pertinent box for the songs and type the relative info into the corresponding field.
    6. click "okay"
    This is just something you have to play with, don't be afraid of the tabs, spend some time figuring it out and you'll speed up the process for future files.

Maybe you are looking for

  • BSOD! 0x0000009c Machine_Check_Exception

    I recently about a 1 1/2 weeks ago purchased a new Wirless N Router and Wireless N Card for my desktop system "WRT300" . 5 minutes after installing the software and the wireless card (yes I did follow the instructions properly)  I recieved a BSOD err

  • XI - restrict access to Communication Channel and Receiver Agreement

    Hello Experts, We are trying to restrict the access to certain communication channels and receiver agreement in our XI system. We are able to restrict access to business service but not the afore mentioned objects. Our XI system version is 7.0 with S

  • How to disable row of a jtable

    hi, i am making an application in which i have jtable what i wants to do is that i am selecting row and inserting the values of this row into another jtable now what i wanst is to disable the already selected row so that i can not be selected again.

  • Where is the Connections Panel??

    I purchased a download version of Adobe Dreamweaver CS4 from the OEM Soft Store in October, 2009 - it installed and ran ok.  I have used it much but in assuming more web site duties, I have bit the bullet and and using it more frequently.  When I cli

  • Blackberry email does not honor the Reply To field?

    I've noticed that my blackberry replys to the FROM and ignores the REPLY TO field. Do you know anything about that? When I reply to this specific email on my outlook, it responds to the REPLY TO address. If i do the same on my Blackberry, it reply to