Problema para ver imagen en el icono PDF

Buenas tardes
Tengo problema al ubicar los archivos PDF, ya que al crearlos con el Adobe Acrobat 8, me aparece unicamente el
icono PDF pero no visualiza ninguna imagen relacionada al archivo, instale la version de prueba del Adobe Acrobat Pro XI,
pero el problema persiste,
Necesito urgente su ayuda gracias

Otra opción, directa, es editar el Registro de Windows, se recomienda guardar una copia previamente. Proceder con cuidado.
Windows allows you to preview pictures and certain other file types by selecting the icon view in Explorer. This document preview is available for Adobe Acrobat’s PDF file format as well ,but for some versions of Windows, is not installed by default. If you only see a blank PDF icon when previewing Acrobat icons in Windows Explorer, you can enable the thumbnail preview with a simple registry entry.
Instructions
1. Left-click on the Windows Start button to open the main menu.
2. Type “regedit” (without the quotation marks) in the main menu’s Run box.
3. Navigate to the HKEY_CLASSES_ROOT\AcroExch.Document.7\Shellex key. Find the HKEY_CLASSES_ROOT key in the left pane of the registry editor. Click on each subsequent entry to expand the tree until you reach the “Shellex” value.
4. Right-click on the “Shellex” entry in the left pane of the directory structure. Select “New” from the drop-down menu.
5. Select “Key” from the subsequent drop-down menu. Enter the value {BB2E617C-0290-11d1-9A0B-00C04FC2D6C1}. Include the curly braces at the beginning and end of the string. Press the “Enter” key.
6. Edit the default value by double-clicking the key in the right-hand pane of the registry editor window. Enter {F9DB53220-233E-11D1-9F84-707F02C10627}. Include the curly braces at the beginning and end of the string. Click “OK” to close the registry editor.
Tips & Warnings
You may need to reboot your computer for the changes to take effect in Windows Explorer.
Read more: http://www.ehow.com/how_6782183_enable-thumbnail-preview-pdf-files.html#ixzz2YXJQL8Ol

Similar Messages

  • Problema para ver Thumbnails en Photoshop

    Me instalé todo el paquete CC 2014 y todo funciona bien, pero en Photoshop cuando quiero abrir un PSD no me deja ver la previsualización de dicho archivo (thumbnail).
    ¿Alguien sabe cómo solucionar esto? Ya está seteado que al guardar el archivo PSD se incluya el thumbnail. Pero aún así cuando quiero abrirlo, no me lo muestra la previsualización con el contenido del archivo.
    Muchas gracias por su ayuda.

    El problema es el maldito Güindous.  Las miniaturas (thumbnails) las proporciona el OS (sistema operativo) no Photoshop, y Güindous no sabe qué hacer con los ficheros PSDs, 
    Yo soy maquero (usuario de Mac) y no tengo ese problema.   Tengo entendido que los PeCeros (usuarios de PC) se ven obligados a adquirir una chimisturria que se llama codec o algo por el estilo para ver las miniaturas en Windows.
    Desde luego, puedes usar Bridge para ver las miniaturas.
    …o te compras un Mac. 

  • Problema para ver configuracion web en LINKSYS SPA922 ?

    Buenas,
    Los telefonos estaban funcionando normal por la web, pero a la hora de crear una vlan de voz y separarlos se ha estado teniendo problemas para ingresar a la interfaz web del telefono, no muestra la configuracion. su ayuda por favor.
    Gracias

    Turn on debug, then catch syslog and debug messages, together with HTTP request and response. It should help you to analyse the problem.
    Debug and syslog Messages from the SPA3xx, SPA5xxG, SPA9xx, & WIP310 IP Phones
    Installing and Using Wireshark for Capturing Network Traffic

  • Problemas para ver series.ly

    hola!! acabo de comprarme el macbook air, y veo que no me deja ver los videos de los distintos servidores de la página series.ly. ¿alguien sabe cuál es el problema? graciaaaas.

    Bem para poder ver vídeos em qualquer site você precisa ter instalando o Adobe Flash Player que e padrão para rodar a maioria dos vídeos e jogos na internet. Depois de ter instalado será possível rodar os vídeos e jogos sem problemas. Esse programa e achado facilmente para baixar gratuitamente na internet.

  • PROBLEMA PARA VER GALERIA CREADA CON BRIDGE

    Buenos días a todos, es mi primera vez en un foro así que pido disculpas si me salteo algún paso.
    He creado una galería web con adobe bridge.  si la abro desde mi sitio local funciona perfectamente, pero cuando la subo al servidor no la puedo ver, la dirección aparece en la barra de direcciones pero no se carga.
    Me podrían ayudar??
    gracias a todos

    Hola Fernando,
    1. General: En todas estas discusiones en el foro, no se recomienda el uso de iframes en lugar de buscar una solución con CSS. Lo siento, sé que para el caso, sólo enlaces a sitios web en Inglés. Buenos sitios ejemplo, su origen puede ser utilizado como una plantilla, se encuentran:
    http://alt-web.com/TEMPLATES/CSS-Semi-liq-photo-sheet.shtml
    y
    http://alt-web.com/TEMPLATES/2-col-fixed-with-grid.shtml
    2. Cómo agregar una galería de puente en el DW se puede encontrar aquí:
    "Incorporating an Adobe Bridge Web Gallery into a Dreamweaver Page" http://foundationphp.com/tutorials/gallery/embed1.php
    3. Lo que me sorprende es su fuente de esta pequeña diferencia:
    Su texto:
    <iframe name="cuadro" id="cuadro" src="Galerias_de_productos/G1/senpreventivo/index.html" width="900" height="580"> </ iframe>
    Mi texto:
    <iframe src = "........" name = "......." href = "1024 " marginwidth = "0" alt = "1200" marginheight = "0"align = "middle" desplazamiento = "auto" frameborder = "0" hspace = "100" vspace = "0" allowtransparency = "true"> </ iframe>
    Para esto aún debe examinar más de cerca.
    Hans-G.

  • Photoshop Elements 3.0, problemas para ver miniaturas en windows

    Desde que he instalado Photoshop Elements 3.0 no logro ver las miniaturas de las imágenes guardadas en formato psd desde las ventanas de windows en vista de miniaturas, solo se ven desde el explorador de archivos del propio Photoshop. Con Photoshop Elements 1.0 se veian perfectamente como las jpg ¿puede alguien ayudarme?

    Have you tried the Photoshop Elements forum?
    This the Premiere Elements forum.

  • HT201317 Problema para ver las fotos en streaming en mi pc Windows

    Tengo un Windows y cuando entro en Mis documentos y pincho sobre fotos en streaming no me deja abrirlos siempre me dice que lo tengo desactivado, que acceda al panel de control de icloud y lo active, abro icloud  lo activo pero nada no me deja acceder, pincho sobre las fotos y me dice lo mismo y cuando estoy en el panel de control de icloud y pincho sobre opciones para poder cambiar la ubicación de las fotos no hace nada.

    Are you running a Managed or a Referenced Library?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • Problema para usar exemplos ou templates do Muse versão de avaliação

    Olá povo do Adobe Muse. Acabei de baixar cópia de avaliação; gostei muito da idéia do programa, mas estou com um problema para efetivamente poder testar o mesmo: Sou bastante leigo no assunto de criação de sites e pensei em começar pelos exemplos ou por um template, o problema é que nenhum do que eu baixei do site funcionam na minha versão de avaliação do Muse, eu só recebo a mensagem: "Não é possível abrir o arquivo  Este arquivo do Adobe Muse requer uma versão mais recente do Adobe Muse. Atualize para a versão mais recente." A versão que está instalada aqui é Adobe Muse CC v.7.4, Build 30, CL 784238; como faço para atualizar e efetivamente conseguir testar o programa?

    Hi,
    You can download the Creative Cloud Desktop app from creative.adobe.com/products/creative-cloud .
    And then you can update Muse to the latest version i.e. MUSE CC  2014.1   using the Creative Cloud Desktop Application.
    Regards,
    Rohit Nair

  • Bonjour, j'ai envoyé aujourd'hui le 170315 vers 15 h des fichiers .pdf par Adobe Send et un message d'erreur s'est affiché. J'ai relancé les fichiers, et je n'ai pas eu de nouveau message d'erreur. Mais je ne vois pas cet envoi dans les fichiers envoyés.

    Bonjour, j'ai envoyé aujourd'hui le 170315 vers 15 h des fichiers .pdf par Adobe Send et un message d'erreur s'est affiché. J'ai relancé les fichiers, et je n'ai pas eu de nouveau message d'erreur. Mais je ne vois pas cet envoi dans les fichiers envoyés. Comment m'assurer que les fichiers ont bien été envoyés? Merci.

    What error messages did you get? Is this error occurring with all files or just specific ones?

  • Problema para guardar en pdf

    Cuando pongo GUARDAR en PDF.. se queda ahi sin hacer nada el programa, no puedo hacer nada.. pero si toco ESC ya esta normal, pero no me salen opciones de GUARDADO DE PDF; por lo cual no puedo hacer nada.
    No se si toque alguna configuracion o que. Necesito ayuda, gracias!

    Illustrator 5.1 , cuando quiero guardar en PDF... no hace nada.. se queda congelado... y no puedo hacer nada.. y si toco ESC ya vuelvo a la normalidad, pero sin poder guardar en PDF 
    Por favor ayudeme.
    Gracias
    Date: Wed, 15 Feb 2012 13:19:47 -0700
    From: [email protected]
    To: [email protected]
    Subject: Problema para guardar en pdf
        Re: Problema para guardar en pdf
        created by Dave Stromfeld in Adobe CreatePDF - View the full discussion
    Hola, Alejandro.Lo siento por los problemas que tiene usted.¿Qué programa usa usted para guardar los archivos de PDF? Nuestro servicio de CreatePDF o Adobe Acrobat o Adobe Reader? Vamos a tratar de ayudar a usted mas.Dave
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4208984#4208984
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4208984#4208984. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe CreatePDF by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Tengo problemas para ingresar y convertir un archivo.

    hola
    tengo problemas para convertir un archivo
    dice que se ha producido un error al intentar acceder al servicio.
    este mensaje esta del lado derecho en la parte de herramientas

    Converting what to what?  Using what service?
    PDF Pack → http://forums.adobe.com/community/createpdf
    ExportPDF → http://forums.adobe.com/community/exportpdf
    Spanish language forum → http://forums.adobe.com/community/international_forums/espanol

  • Para ver a cual numero puedo marcar para liberar mi iphone

    para ver a cual sí puedo Marcar numero Parr Liberar mi iphone

    saludos, despues que actualice mi iphone 4s a IOS 7 no puedo activar el internet tampoco ver el balance $ de mi telefono, en mi pais para activar el internet se llama asi *111# y ver el balance *122# pero cuando marco sale como si fuera una llamada de voz, antes me salian mensajes con diferentes opciones a responder.    si alguien tiene la solucion a este problema favor ayudarme en eso
    iPhone 4S

  • ¿No de pueden ver vídeos en un pdf dentro del iPad?

    ¿No de pueden ver vídeos en un pdf dentro del iPad?

    Hola, Maristu,
    es posible que hayas activado los servicios web en el PC y no en el cRIO. Cuando vayas a Tools >> Options para activar los Web Services, asegúrate de que tienes el cRIO marcado en el proyecto. En caso contrario, sólo activas los del PC.
    Un saludo.
    Jesús.

  • Processo de Retorno: Problema para associar taxa correta de ICMS considerando novo NCM

    Bom dia Pessoal,
    Criamos novos NCMs considerando sua extensão (TIPI) para diferenciação de taxas de impostos.
    Exemplo:
    NCM
    DESCRIÇÃO
    ALÍQUOTA (%)
    7323.10.00
    Ex 01 - Esponja de lã de aço
    5
    Associamos nosso sku a esse novo NCM 7323.10.00.01 (já considerando o Ex 01).
    Não tivemos problemas para fazer o processo de saída, todos os impostos foram associados corretamente, porém na hora de fazer o retorno de skus com esses novos NCMs, a alíquota de impostos não está sendo associada corretamente.
    Exemplo:
    Faturamos o material XPTO com o NCM 7323.10.00 em Junho e agora, esse produto passou a ter esse novo NCM 7323.10.00.01 e ao fazer o retorno desse sku a alíquota de ICMS não está sendo associada corretamente pois o ECC não está encontrando o cadastro de imposto na sequência de acesso correta.
    Está pegando a regra geral (grupo 98) ao invés de achar a exceção por NCM (grupo 85).
    Acredito que o ECC está considerando o NCM do sku que está na J_1BNFLIN ao invés de ir buscar no Mestre de Materiais.
    Já procurei por NOTAS sobre esse tema, porém não achei nada específico para esse tema.
    Alguém já passou por situação parecida ? Como resolveu ?
    Obrigado.

    Bom dia Pessoal,
    Criamos novos NCMs considerando sua extensão (TIPI) para diferenciação de taxas de impostos.
    Exemplo:
    NCM
    DESCRIÇÃO
    ALÍQUOTA (%)
    7323.10.00
    Ex 01 - Esponja de lã de aço
    5
    Associamos nosso sku a esse novo NCM 7323.10.00.01 (já considerando o Ex 01).
    Não tivemos problemas para fazer o processo de saída, todos os impostos foram associados corretamente, porém na hora de fazer o retorno de skus com esses novos NCMs, a alíquota de impostos não está sendo associada corretamente.
    Exemplo:
    Faturamos o material XPTO com o NCM 7323.10.00 em Junho e agora, esse produto passou a ter esse novo NCM 7323.10.00.01 e ao fazer o retorno desse sku a alíquota de ICMS não está sendo associada corretamente pois o ECC não está encontrando o cadastro de imposto na sequência de acesso correta.
    Está pegando a regra geral (grupo 98) ao invés de achar a exceção por NCM (grupo 85).
    Acredito que o ECC está considerando o NCM do sku que está na J_1BNFLIN ao invés de ir buscar no Mestre de Materiais.
    Já procurei por NOTAS sobre esse tema, porém não achei nada específico para esse tema.
    Alguém já passou por situação parecida ? Como resolveu ?
    Obrigado.

  • Problem with package that create mail with PDF attachment

    Hola,
    I've this problem when I use the Oracle Package called "demo_mail",
    that I have download from this forum en september.
    The code of the Package, I post bottom, now I
    write the records of the Package,
    that I believe is the core of the problem:
    demo_mail.begin_attachment( conn => conn,
    mime_type => 'application/pdf',
    inline => TRUE, filename => ''|| VC_NOMEFILE ||'',
    transfer_enc => 'base64');
    The mime_type is correct?
    Why when I open the attachment of the mail, it say me that file type
    is not correct or the file has been damneged? I need help!
    Thank's
    *********************************************************The steps that I've done:
    1. PACKAGE demo_mail
    2. PACKAGE BODY demo_mail
    3. procedure P_SPEDMAILSERVATTA (that call package) this
    Cannot write the code, because this the result. :(((
    thank's
    CREATE OR REPLACE PACKAGE demo_mail IS
    -- Customize the SMTP host, port and your domain name below.
    smtp_host VARCHAR2(256) := 'XXX.YYYY.IT';
    smtp_port PLS_INTEGER := 25;
    smtp_domain VARCHAR2(256) := 'YYYY.it';
    -- Customize the signature that will appear in the email's MIME header.
    -- Useful for versioning.
    MAILER_ID CONSTANT VARCHAR2(256) := 'Mailer by Oracle UTL_SMTP';
    --------------------- End Customizable Section ---------------------
    -- A unique string that demarcates boundaries of parts in a multi-part email
    -- The string should not appear inside the body of any part of the email.
    -- Customize this if needed or generate this randomly dynamically.
    BOUNDARY CONSTANT VARCHAR2(256) := '-----7D81B75CCC90D2974F7A1CBD';
    FIRST_BOUNDARY CONSTANT VARCHAR2(256) := '--' || BOUNDARY || utl_tcp.CRLF;
    LAST_BOUNDARY CONSTANT VARCHAR2(256) := '--' || BOUNDARY || '--' ||
    utl_tcp.CRLF;
    -- A MIME type that denotes multi-part email (MIME) messages.
    MULTIPART_MIME_TYPE CONSTANT VARCHAR2(256) := 'multipart/mixed; boundary="'||
    BOUNDARY || '"';
    MAX_BASE64_LINE_WIDTH CONSTANT PLS_INTEGER := 76 / 4 * 3;
    -- A simple email API for sending email in plain text in a single call.
    -- The format of an email address is one of these:
    -- someone@some-domain
    -- "Someone at some domain" <someone@some-domain>
    -- Someone at some domain <someone@some-domain>
    -- The recipients is a list of email addresses separated by
    -- either a "," or a ";"
    PROCEDURE mail(sender IN VARCHAR2,
              recipients IN VARCHAR2,
              subject IN VARCHAR2,
              message IN VARCHAR2);
    -- Extended email API to send email in HTML or plain text with no size limit.
    -- First, begin the email by begin_mail(). Then, call write_text() repeatedly
    -- to send email in ASCII piece-by-piece. Or, call write_mb_text() to send
    -- email in non-ASCII or multi-byte character set. End the email with
    -- end_mail().
    FUNCTION begin_mail(sender IN VARCHAR2,
              recipients IN VARCHAR2,
              subject IN VARCHAR2,
              mime_type IN VARCHAR2 DEFAULT 'text/plain',
              priority IN PLS_INTEGER DEFAULT NULL)
              RETURN utl_smtp.connection;
    -- Write email body in ASCII
    PROCEDURE write_text(conn IN OUT NOCOPY utl_smtp.connection,
              message IN VARCHAR2);
    -- Write email body in non-ASCII (including multi-byte). The email body
    -- will be sent in the database character set.
    PROCEDURE write_mb_text(conn IN OUT NOCOPY utl_smtp.connection,
                   message IN VARCHAR2);
    -- Write email body in binary
    PROCEDURE write_raw(conn IN OUT NOCOPY utl_smtp.connection,
              message IN RAW);
    -- APIs to send email with attachments. Attachments are sent by sending
    -- emails in "multipart/mixed" MIME format. Specify that MIME format when
    -- beginning an email with begin_mail().
    -- Send a single text attachment.
    PROCEDURE attach_text(conn IN OUT NOCOPY utl_smtp.connection,
                   data IN VARCHAR2,
                   mime_type IN VARCHAR2 DEFAULT 'text/plain',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
              last IN BOOLEAN DEFAULT FALSE);
    -- Send a binary attachment. The attachment will be encoded in Base-64
    -- encoding format.
    PROCEDURE attach_base64(conn IN OUT NOCOPY utl_smtp.connection,
                   data IN RAW,
                   mime_type IN VARCHAR2 DEFAULT 'application/octet',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
                   last IN BOOLEAN DEFAULT FALSE);
    -- Send an attachment with no size limit. First, begin the attachment
    -- with begin_attachment(). Then, call write_text repeatedly to send
    -- the attachment piece-by-piece. If the attachment is text-based but
    -- in non-ASCII or multi-byte character set, use write_mb_text() instead.
    -- To send binary attachment, the binary content should first be
    -- encoded in Base-64 encoding format using the demo package for 8i,
    -- or the native one in 9i. End the attachment with end_attachment.
    PROCEDURE begin_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                   mime_type IN VARCHAR2 DEFAULT 'text/plain',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
                   transfer_enc IN VARCHAR2 DEFAULT NULL);
    -- End the attachment.
    PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                   last IN BOOLEAN DEFAULT FALSE);
    -- End the email.
    PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection);
    -- Extended email API to send multiple emails in a session for better
    -- performance. First, begin an email session with begin_session.
    -- Then, begin each email with a session by calling begin_mail_in_session
    -- instead of begin_mail. End the email with end_mail_in_session instead
    -- of end_mail. End the email session by end_session.
    FUNCTION begin_session RETURN utl_smtp.connection;
    -- Begin an email in a session.
    PROCEDURE begin_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection,
                        sender IN VARCHAR2,
                        recipients IN VARCHAR2,
                        subject IN VARCHAR2,
                        mime_type IN VARCHAR2 DEFAULT 'text/plain',
                        priority IN PLS_INTEGER DEFAULT NULL);
    -- End an email in a session.
    PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection);
    -- End an email session.
    PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection);
    END;
    CREATE OR REPLACE PACKAGE BODY demo_mail IS
    -- Return the next email address in the list of email addresses, separated
    -- by either a "," or a ";". The format of mailbox may be in one of these:
    -- someone@some-domain
    -- "Someone at some domain" <someone@some-domain>
    -- Someone at some domain <someone@some-domain>
    FUNCTION get_address(addr_list IN OUT VARCHAR2) RETURN VARCHAR2 IS
    addr VARCHAR2(256);
    i pls_integer;
    FUNCTION lookup_unquoted_char(str IN VARCHAR2,
                        chrs IN VARCHAR2) RETURN pls_integer AS
    c VARCHAR2(5);
    i pls_integer;
    len pls_integer;
    inside_quote BOOLEAN;
    BEGIN
    inside_quote := false;
    i := 1;
    len := length(str);
    WHILE (i <= len) LOOP
         c := substr(str, i, 1);
         IF (inside_quote) THEN
         IF (c = '"') THEN
         inside_quote := false;
         ELSIF (c = '\') THEN
         i := i + 1; -- Skip the quote character
         END IF;
         GOTO next_char;
         END IF;
         IF (c = '"') THEN
         inside_quote := true;
         GOTO next_char;
         END IF;
         IF (instr(chrs, c) >= 1) THEN
         RETURN i;
         END IF;
         <<next_char>>
         i := i + 1;
    END LOOP;
    RETURN 0;
    END;
    BEGIN
    addr_list := ltrim(addr_list);
    i := lookup_unquoted_char(addr_list, ',;');
    IF (i >= 1) THEN
    addr := substr(addr_list, 1, i - 1);
    addr_list := substr(addr_list, i + 1);
    ELSE
    addr := addr_list;
    addr_list := '';
    END IF;
    i := lookup_unquoted_char(addr, '<');
    IF (i >= 1) THEN
    addr := substr(addr, i + 1);
    i := instr(addr, '>');
    IF (i >= 1) THEN
         addr := substr(addr, 1, i - 1);
    END IF;
    END IF;
    RETURN addr;
    END;
    -- Write a MIME header
    PROCEDURE write_mime_header(conn IN OUT NOCOPY utl_smtp.connection,
                   name IN VARCHAR2,
                   value IN VARCHAR2) IS
    BEGIN
    utl_smtp.write_data(conn, name || ': ' || value || utl_tcp.CRLF);
    END;
    -- Mark a message-part boundary. Set <last> to TRUE for the last boundary.
    PROCEDURE write_boundary(conn IN OUT NOCOPY utl_smtp.connection,
                   last IN BOOLEAN DEFAULT FALSE) AS
    BEGIN
    IF (last) THEN
    utl_smtp.write_data(conn, LAST_BOUNDARY);
    ELSE
    utl_smtp.write_data(conn, FIRST_BOUNDARY);
    END IF;
    END;
    PROCEDURE mail(sender IN VARCHAR2,
              recipients IN VARCHAR2,
              subject IN VARCHAR2,
              message IN VARCHAR2) IS
    conn utl_smtp.connection;
    BEGIN
    conn := begin_mail(sender, recipients, subject);
    write_text(conn, message);
    end_mail(conn);
    END;
    FUNCTION begin_mail(sender IN VARCHAR2,
              recipients IN VARCHAR2,
              subject IN VARCHAR2,
              mime_type IN VARCHAR2 DEFAULT 'text/plain',
              priority IN PLS_INTEGER DEFAULT NULL)
              RETURN utl_smtp.connection IS
    conn utl_smtp.connection;
    BEGIN
    conn := begin_session;
    begin_mail_in_session(conn, sender, recipients, subject, mime_type,
    priority);
    RETURN conn;
    END;
    PROCEDURE write_text(conn IN OUT NOCOPY utl_smtp.connection,
              message IN VARCHAR2) IS
    BEGIN
    utl_smtp.write_data(conn, message);
    END;
    PROCEDURE write_mb_text(conn IN OUT NOCOPY utl_smtp.connection,
                   message IN VARCHAR2) IS
    BEGIN
    utl_smtp.write_raw_data(conn, utl_raw.cast_to_raw(message));
    END;
    PROCEDURE write_raw(conn IN OUT NOCOPY utl_smtp.connection,
              message IN RAW) IS
    BEGIN
    utl_smtp.write_raw_data(conn, message);
    END;
    PROCEDURE attach_text(conn IN OUT NOCOPY utl_smtp.connection,
                   data IN VARCHAR2,
                   mime_type IN VARCHAR2 DEFAULT 'text/plain',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
              last IN BOOLEAN DEFAULT FALSE) IS
    BEGIN
    begin_attachment(conn, mime_type, inline, filename);
    write_text(conn, data);
    end_attachment(conn, last);
    END;
    PROCEDURE attach_base64(conn IN OUT NOCOPY utl_smtp.connection,
                   data IN RAW,
                   mime_type IN VARCHAR2 DEFAULT 'application/octet',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
                   last IN BOOLEAN DEFAULT FALSE) IS
    i PLS_INTEGER;
    len PLS_INTEGER;
    BEGIN
    begin_attachment(conn, mime_type, inline, filename, 'base64');
    -- Split the Base64-encoded attachment into multiple lines
    i := 1;
    len := utl_raw.length(data);
    WHILE (i < len) LOOP
    IF (i + MAX_BASE64_LINE_WIDTH < len) THEN
         -- After upgrade to Oracle 9i, replace demo_base64.encode with the
         -- native utl_encode.base64_encode for better performance:
         -- utl_smtp.write_raw_data(conn,
    -- utl_encode.base64_encode(utl_raw.substr(data, i,
         -- MAX_BASE64_LINE_WIDTH)));
         utl_smtp.write_raw_data(conn,
    utl_encode.base64_encode(utl_raw.substr(data, i,
         MAX_BASE64_LINE_WIDTH)));
    ELSE
         -- After upgrade to Oracle 9i, replace demo_base64.encode with the
         -- native utl_encode.base64_encode for better performance:
         -- utl_smtp.write_raw_data(conn,
         -- utl_encode.base64_encode(utl_raw.substr(data, i)));
         utl_smtp.write_raw_data(conn,
         utl_encode.base64_encode(utl_raw.substr(data, i)));
    END IF;
    utl_smtp.write_data(conn, utl_tcp.CRLF);
    i := i + MAX_BASE64_LINE_WIDTH;
    END LOOP;
    end_attachment(conn, last);
    END;
    PROCEDURE begin_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                   mime_type IN VARCHAR2 DEFAULT 'text/plain',
                   inline IN BOOLEAN DEFAULT TRUE,
                   filename IN VARCHAR2 DEFAULT NULL,
                   transfer_enc IN VARCHAR2 DEFAULT NULL) IS
    BEGIN
    write_boundary(conn);
    write_mime_header(conn, 'Content-Type', mime_type);
    IF (filename IS NOT NULL) THEN
    IF (inline) THEN
         write_mime_header(conn, 'Content-Disposition',
         'inline; filename="'||filename||'"');
    ELSE
         write_mime_header(conn, 'Content-Disposition',
         'attachment; filename="'||filename||'"');
    END IF;
    END IF;
    IF (transfer_enc IS NOT NULL) THEN
    write_mime_header(conn, 'Content-Transfer-Encoding', transfer_enc);
    END IF;
    utl_smtp.write_data(conn, utl_tcp.CRLF);
    END;
    PROCEDURE end_attachment(conn IN OUT NOCOPY utl_smtp.connection,
                   last IN BOOLEAN DEFAULT FALSE) IS
    BEGIN
    utl_smtp.write_data(conn, utl_tcp.CRLF);
    IF (last) THEN
    write_boundary(conn, last);
    END IF;
    END;
    PROCEDURE end_mail(conn IN OUT NOCOPY utl_smtp.connection) IS
    BEGIN
    end_mail_in_session(conn);
    end_session(conn);
    END;
    FUNCTION begin_session RETURN utl_smtp.connection IS
    conn utl_smtp.connection;
    BEGIN
    -- open SMTP connection
    conn := utl_smtp.open_connection(smtp_host, smtp_port);
    utl_smtp.helo(conn, smtp_domain);
    RETURN conn;
    END;
    PROCEDURE begin_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection,
                        sender IN VARCHAR2,
                        recipients IN VARCHAR2,
                        subject IN VARCHAR2,
                        mime_type IN VARCHAR2 DEFAULT 'text/plain',
                        priority IN PLS_INTEGER DEFAULT NULL) IS
    my_recipients VARCHAR2(32767) := recipients;
    my_sender VARCHAR2(32767) := sender;
    BEGIN
    -- Specify sender's address (our server allows bogus address
    -- as long as it is a full email address ([email protected]).
    utl_smtp.mail(conn, get_address(my_sender));
    -- Specify recipient(s) of the email.
    WHILE (my_recipients IS NOT NULL) LOOP
    utl_smtp.rcpt(conn, get_address(my_recipients));
    END LOOP;
    -- Start body of email
    utl_smtp.open_data(conn);
    -- Set "From" MIME header
    write_mime_header(conn, 'From', sender);
    -- Set "To" MIME header
    write_mime_header(conn, 'To', recipients);
    -- Set "Subject" MIME header
    write_mime_header(conn, 'Subject', subject);
    -- Set "Content-Type" MIME header
    write_mime_header(conn, 'Content-Type', mime_type);
    -- Set "X-Mailer" MIME header
    write_mime_header(conn, 'X-Mailer', MAILER_ID);
    -- Set priority:
    -- High Normal Low
    -- 1 2 3 4 5
    IF (priority IS NOT NULL) THEN
    write_mime_header(conn, 'X-Priority', priority);
    END IF;
    -- Send an empty line to denotes end of MIME headers and
    -- beginning of message body.
    utl_smtp.write_data(conn, utl_tcp.CRLF);
    IF (mime_type LIKE 'multipart/mixed%') THEN
    write_text(conn, 'This is a multi-part message in MIME format.' ||
         utl_tcp.crlf);
    END IF;
    END;
    PROCEDURE end_mail_in_session(conn IN OUT NOCOPY utl_smtp.connection) IS
    BEGIN
    utl_smtp.close_data(conn);
    END;
    PROCEDURE end_session(conn IN OUT NOCOPY utl_smtp.connection) IS
    BEGIN
    utl_smtp.quit(conn);
    END;
    END;
    PROMPT     **********************************************************
    PROMPT     CREAZIONE PROCEDURA P_SPEDMAILSERVATTA
    PROMPT     **********************************************************
    create or replace procedure P_SPEDMAILSERVATTA( VC_DESCDENOAZIE IN VARCHAR2,
                                  VC_DESCINDIEMAI IN VARCHAR2,
                                  VC_NUMEBOLL     IN VARCHAR2,
                                  VC_PATHFILE     IN VARCHAR2,
                                  VC_NOMEFILE     IN VARCHAR2,
                                  VC_DESCINDIEMAIMITT IN VARCHAR2)
    IS
    conn utl_smtp.connection;
    req utl_http.req;
    resp utl_http.resp;
    data RAW(200);
    BEGIN
    conn := demo_mail.begin_mail(
    sender => 'SIAG srl <'|| VC_DESCINDIEMAIMITT ||'>',
    recipients => ''|| VC_DESCDENOAZIE ||' '||'<'|| VC_DESCINDIEMAI ||'>'||'',
    subject => 'Invio Bollettino n.'|| VC_NUMEBOLL ||'',
    mime_type => demo_mail.MULTIPART_MIME_TYPE);
    demo_mail.attach_text(
    conn => conn,
    data => 'Spett.le <b>'|| VC_DESCDENOAZIE ||'</b> <br> in allegato Le invio il Bollettino n. '|| VC_NUMEBOLL ||'.<br> <br> Distinti Saluti <br><br> <hr align="left" width="20%"> ',
    mime_type => 'text/html');
    demo_mail.begin_attachment(
    conn => conn,
    mime_type => 'application/pdf',
    inline => TRUE,
    filename => ''|| VC_NOMEFILE ||'',
    transfer_enc => 'base64');
    -- In writing Base-64 encoded text following the MIME format below,
    -- the MIME format requires that a long piece of data must be splitted
    -- into multiple lines and each line of encoded data cannot exceed
    -- 80 characters, including the new-line characters. Also, when
    -- splitting the original data into pieces, the length of each chunk
    -- of data before encoding must be a multiple of 3, except for the
    -- last chunk. The constant demo_mail.MAX_BASE64_LINE_WIDTH
    -- (76 / 4 * 3 = 57) is the maximum length (in bytes) of each chunk
    -- of data before encoding.
    req := utl_http.begin_request('http://localhost/'|| VC_PATHFILE ||'/'|| VC_NOMEFILE ||'');
    resp := utl_http.get_response(req);
    BEGIN
    LOOP
    utl_http.read_raw(resp, data, demo_mail.MAX_BASE64_LINE_WIDTH);
    demo_mail.write_raw(
    conn => conn,
    message => utl_encode.base64_encode(data));
    END LOOP;
    EXCEPTION
    WHEN utl_http.end_of_body THEN
    utl_http.end_response(resp);
    END;
    demo_mail.end_attachment( conn => conn );
    demo_mail.end_mail( conn => conn );
    END;
    Message was edited by:
    mosquito70
    Message was edited by:
    mosquito70

    Hola, I've this problem when I use the Oracle Package called "demo_mail",
    that I have download from this forum en september.
    The code of the Package, I post bottom, now I
    write the records of the Package,
    that I believe is the core of the problem:
    demo_mail.begin_attachment( conn => conn,
    mime_type => 'application/pdf',
    inline => TRUE, filename => ''|| VC_NOMEFILE ||'',
    transfer_enc => 'base64');
    The mime_type is correct?
    Why when I open the attachment of the mail, it say me that file type
    is not correct or the file has been damneged? I need help!
    Thank's
    The steps that I've done:
    1. PACKAGE demo_mail
    2. PACKAGE BODY demo_mail
    3. procedure P_SPEDMAILSERVATTA (that call package)
    I cannot post the code :((

Maybe you are looking for

  • Combined Report for Purchasing and Inventory Management.

    Hi All, Is there any standard SAP Report available where I can get all the information related to Purchasing and Inventory Management in one. Like Material,Purchasing details of the material (vendor, price etc ) and Inventory Management (Stock qty an

  • No data in RSA3 for 2lis_11_vaitm

    hi, I am testing the extractor 2lis_11_vaitm and there is no data in RSA3. i have checked the sales orders and there is data. please let me know what the problem may be. Many thanks Emil

  • Response time for Error Messages - Please Help

    Hi I have a PRO C application talking to an Oracle database. The Response time for successful query is within desirable limits. But when there is a error condition (eg SQLError -3113,or connection refused) it takes more than 9 minutes for the databas

  • After Effects CC requirements on Mac

    I know this is posted on the Adobe site, and I've checked it out several times, but I seem to be having a problem installing After Effects CC on my late 2009 iMac.  I keep getting a message that it can't be installed on this machine and that an error

  • Safari 4.0.3 will not open Wells Fargo Secure Site.

    Safari 4.0.3 will open the main Wells Fargo Bank website just fine, but if I try to log in to get to the secure page with my account information, Safari gives me a "cannot find" error message. I telephoned Wells Fargo Online, and they said that somet