Acrobat's "Attach to Email" fails due to tooltip behavior???

OK, let me start out by acknowledging that I’m claiming
my car won’t start because the bathroom light is on …
but here goes:
I’ve got a menu of PDF’s with icons next to each
to open, print, email, or select (for multi-print/email) All of the
icons have the tooltip behavior, the only modification being a
slight increase in the offset of the tooltip. The tooltips all work
fine, the icons all work fine, everything opens, prints, or
attaches to emails (via a MAPI behavior I’ve written) as
expected … except … if you open a PDF document and
select “Attach to Email” from Acro Reader’s file
menu, a MAPI email form pops up but hitting send does nothing. Once
a particular instance of the reader has been corrupted it can no
longer email any PDF, even those opened directly by the OS,
however, my own MAPI behavior remains functional and I can still
email PDFs directly from the menu … so the corruption appears
to be in the reader, not the email client.
Before you think I’m crazy, I tried a simple test: 2
buttons, one with just the file open behavior, the other with file
open + tooltip. The file open only behavior works fine all day
long, the file open + tooltip behavior will eventually cause
problems with the reader’s email capability … maybe not
the first time, but after 5 or 6 tries the problem will eventually
surface. Once the problem has surfaced, closing the offending
document but leaving the instance of the reader open will cause all
subsequent attempts to email to fail when opening the PDF from
either button. Closing the reader will restore email if the PDF is
opened from the non-tooltip button and we’re back to where we
started.
We have demonstrated the problem with both Acro Reader 8, and
Acro 7 Pro on XP Pro. Anyone know what might be happening?

I added these additional strings via Reg Editor. Similar to a previous posting and it now works fine.

Similar Messages

  • Acrobat 9 - Attach to email - missing subject line?

    I just upgraded to CS4 from CS3. In Acrobat 8 when I am viewing a PDF if I go to the File menu and select (Attach to Email) I am taken to my mail app and an email was created with the attachment and the subject line is filled in with the file name. With Acrobat 9 when I try to do the same thing it does not include the subject line. Is there some sort of preference I can change to get it to include a subject line?
    I send a lot of PDFs to customers and that feature in Acrobat 8 is a convenient time saver.
    Thanks.

    I have both versions on my computer because some of us have clients with deadlines and can't afford to spend hours trying to find out why new software isn't working the way it used to or should.
    I sometimes produce up to 50 pdf proofs a day from InDesign layouts that need to be emailed to my clients for review. It was so smooth to be able to just hit the button, have the pdf attach itself to a new email message WITH THE NAME OF THE EMAIL AUTOMATICALLY PLACED IN THE SUBJECT LINE, type in a small note and hit send. Now, thanks to some coding anomoly in 9.0 I have to remember to hit SaveAs BEFORE I hit the email button, select the name of the file, copy the name of the file, hit the email button, then paste the name of the file in the subject line.
    This wouldn't be so frustrating if I didn't literally have YEARS of being able to use that feature. Also, if even half the features Acrobat purports to have even worked consistently I could see tweaking it, but it's been known in the industry since day one that most of the extraneous "features" don't even work like they're supposed to.
    Portable Document Format was a brilliant concept and works beautifully as a way of consistently displaying and printing layouts across platforms, it's vastly superior to Powerpoint for presentations when the original design can be created in a layout program. Unfortunately Adobe decided to attach features to it that weren't properly tested so it's clunky to actually use, many of the features don't behave consistently or at all, and people can't create their presentations in it so they turn to Powerpoint because MS figured out how to make it easy to create simple presentations right in the application. Through the years, every time I've tried to use the features in Acrobat I'm left disappointed by the outcome and so now it's reputation as anything beyond a wonderful prepress and proofing tool is tarnished.
    Also, on a Mac I don't know what kind of security issues could be in 8.0 that would leave me exposed. I open my own pdfs, files sent by my clients and others that I trust only. How is someone going to sneak past my firewall just because I'm running 8.0?
    How am I exposed?

  • Re: Acrobat 9 - Attach to email, file name as subject line?

    Where has this feature gone???
    It's a simply time saver that our studio of over 40 relied upon everyday, and surprise-surprise, we outlay heaps more money for upgrades and yet again a feature has been forgotten since the previous version.
    MY GOD THIS GIVES ME THE *****!!!!
    Surely a patch to fix it wouldn't take Adobe any time at all.
    Does anyone know a way around it??

    Where has this feature gone???
    It's a simply time saver that our studio of over 40 relied upon everyday, and surprise-surprise, we outlay heaps more money for upgrades and yet again a feature has been forgotten since the previous version.
    MY GOD THIS GIVES ME THE *****!!!!
    Surely a patch to fix it wouldn't take Adobe any time at all.
    Does anyone know a way around it??

  • Acrobat 9.0 - "attach to email" function no longer works (Win 7, MS Outlook 2010)

    Dear All,
    All of a sudden, my "attach to email" function no longer works.  If I open a PDF in Acrobat 9.0, and I try to "attach to email," nothing happens.  This feature has always worked for me in the past.  When I check for updates, Acrobat reports that I'm up to date.  I recently updated Flash Player 16 and Reader XI (11.0.10).
    My OS is Windows 7, 64 bit, and I use MS Outlook 2010.
    Thanks so much for your time.

    Hi rlee711,
    You might need to refer this kb file to resolve the issue:
    Attach To Email doesn't work | Acrobat 9.4.2
    Although, Acrobat 9 is not compatible with Outlook 10, I would like you to prefer using only the supported product.
    To understand in detail, please refer the link given below:
    Compatible web browsers and PDFMaker applications
    Regards,
    Anubha

  • Acrobat 9.4.2 update breaks 'attach to email' functionality

    Everyone - The recent 9.4.2 CPSID_83708 Acrobat update has caused the 'attach to email' function not to work.  This is happening for at least two of my users whose computers are running  Windows XP Professional. I just installed the update on my Windows Vista machine in an effort to recreate the issue, but the problem did not manifest itself in my Vista machine.
    I have read with interest the print problems that several users are reporting related to this patch. I have had no problems printing, but the 'attach to email' issue is extremely troubling to us.  I realize that the work-around is to send the attachments directly from our email program which we are doing.  However, this does not decrease the urgency to get this resolved.  Some of our users are extremely accustomed to accomplishing tasks in a certain manner, and much stress results when I try to change their habits.
    When they click 'attach to email', an error message comes up that says 'Adobe Acrobat 9.4.2 has encountered a problem and needs to close.'  I am attaching the detailed information that I could view from the error window below.  Please advise on how I can uninstall this 'uninstallable' patch.  I have currently advised users to opt out of any Adobe updates, but I am sure that people will continue to receive them.
    Thanks in advance for any help with this.
    Penny Downey

    Could someone from Adobe respond to this specific issue so that we know we are being heard?  Will the fix for the print issue also resolve the 'attach to email' problem?  Is there any work around other than telling users to attach directly from their email programs?
    Thanks in advance for your response to our concerns.
    Penny

  • Acrobat 9.4 / Outlook 2011 – Attach to email not working

    Acrobat 9.4 / Outlook 2011 / OS 10.6.4
    I am having a very annoying issue with the "Attach to email" feature in Acrobat 9.4. I keep getting the error below every time I try using this feature. I don't have the same problem if use/switch the email client Mail from Apple. Just wondering if this is an Adobe issue or a Microsoft issue.
    Thank you,

    Yes at one time Acrobat only supported Entourage, a ver obscure program called Mailsmith, and Eudora, and Apple Mail. (Eudora was taken over by Mozilla Or rather the R&D for it was handed over to Mozilla.)
    Yet most everyone on apple side of equation use ThunderBird, SeaMonkey, Even Opera.  the message I receive is That Seamonkey or Thunderbird doesn't know how to talk to your email clent. Yet in their specifications Mozilla products show they are Mbox compliant.
    On PC side they will talk to just about any Email except Mozilla Products. Its as if they put in features yet don't support software that can handle the features so most people are stuck un able to use the fetaures. Why can't Adobe get along with other software vendors. Is there Software Devopment staff so out of touch or have such a low skill set That they don't know how to write code but those name applications?
    I put a Bug report for support of Mozilla Products for uears do it about once or twice a year for last 10 years or so. Goes in one ear and out the other.

  • Acrobat 7.0 - internal error when attaching to email

    I have Acrobat 7.0 on a Windows Server 2003 machine with Outlook 2003 and everytime I click the attach to email button I get an "An Internal Error has Occured".  I want to be able to email the pdf directly from Adobe rather than save the file and attach it to an email.

    The MAPI trail was the right one.  Sever 2003 doesn't recommend the use of Outlook on Server 2003.  There are some work arounds but they are too sophisticated for me.  Thanks for your response.

  • Making 'attach to email' button as a hyperlink has disappeared in acrobat X pro

    hi
    I have upgraded to Acobat X pro from Acrobat 8 (CS3). I make brochures in indesign and then add some buttons in acrobat that can't be done in indesign. One button I nake is a 'attach to email' button. I can no longer see this option in create a link/custom link/actions/add
    can someone please advise how I can still do this as my client still wants this button on the back page of all their brochures so they customers can easily pass the brochure onto someone else

    no, this is not what I need
    Your screen dumps are to show where you can attach a pdf to an email from the file menu in a pdf. This is not what I want
    I use the draw a button using the 'link' tool in acrobat
    this tool opens a dialogue box called create a link and I choose
    custom link which opens another dialogue box and I choose
    the action tab, selct an action 'add' and choose from the options here except pro x has had the 'attach to email' action removed
    I need to get this in order to make a button on the pdf that a customer can click and then send the pdf to an email address that they enter

  • Where did "Attach to email" go as a form field action in Acrobat X?

    I just upgraded to Acrobat X from 9 and love it but there seem to be a few options missing. I build and maintain forms for several different countries in my organization and need to include a button in my forms for the user to attach the form to an email. In 9 I would just go to field properties, actions, execute meni item and select attach to email. This option does not appear in 10.
    I want to keep this action instead of a true submit button because the final destination changes based on country/location of the user. How do I get the Attach to email action back?
    Kevin

    Hi there,
    Glad you found the solution; this is actually the forum for Adobe FormsCentral, a new online form-building service (http://formscentral.adobe.com), so it's not likely that we'd have been able to give you the answer ourselves! You may want to re-post this info in the Acrobat Users' forum:
    http://www.acrobatusers.com/forum
    Best of luck!
    Rebecca

  • Acrobat Pro X 10.1.6 attach to email, Mac Outlook 2011 Doesn't work, but Adobe Reader X 10.1.6 works

    Acrobat Pro X 10.1.6 attach to email, Mac Outlook 2011 Doesn't work, but Adobe Reader X 10.1.6 works.......WHY?!?1?1?!

    Past the contents of the install.log file in the forum.  It's located at:  /var/log/install.log

  • Error: "Acrobat is unable to connect to your email program" using attach to email . . .

    Windows 7 Pro Sp1
    Thunderbird 3.1.9
    Acrobat Reader x 10.0.1
    File, "Attach to email. . . " feature returns error  "Acrobat is unable to connect to your email program"
    Thunderbird is set to default email client on Windows 7 Professional SP1.

    You can't. It isn't an e-mail client, it's a web site.
    (So far as I know. Yahoo, for example, does allow itself to be set up
    as a mail server, so you can use a mail client with it).
    Aandi Inston

  • Outlook crash when using Attach to Email...

    Strange problem occurring when attempting to email a pdf.
    I have the document open in Acrobat. I hit the Attach to Email button and a new Outlook email window opens and attaches the pdf. No problem there.
    I fill in the addressee name and then begin to write my preamble. If I send RIGHT AWAY, the email goes without a problem.
    If I take more than 30 to 45 seconds, a timeout of some kind occurs and Outlook crashes the second I hit the Send button.
    This issue has happened to myself and several users in-house on various occasions, never predictable and random. It has gotten to the point that we are afraid to leave the email and just power it out quickly, hoping that Outlook won't crash.
    We are all using Outlook 2003 and Acrobat 8 Standard, fully updated and current.
    Some help would be appreciated.
    Thanks!

    I have been seeing this off and on. It is rarely consistent and I have been waiting to find a PC that could reproduce this. I finally got one and was able to reproduce the issue about a dozen times back to back, often when the message has been open for a couple minutes. I have been using Windows Debug tools to isolate the culprit and capture a dmp file to analyze. In each instance of the problem a hang is produced after clicking OK to the message. This is where I have been starting the capture. In our case all the dumps of outlook.exe show the culprit as being valkyrie.dll, an add-in associated with Symantec Enterprise Vault. After disabling the add-in, the issue could not be reproduced. I am not 100% convinced though. I would like to know if other dumps outside of our environment point to the same culprit.
    To capture a dmp file you will need to install the debugging tools for windows from Microsoft. Once installed, go into the folder where it is installed (C:\Program Files\Debugging Tools for Windows (x86) by default) and run adplus.vbs. Dont worry about the details now, just click OK or Yes to the prompts. You will use adplus from the command line when the issue happens. To do this:
    Create the problem and click OK to the "The operation failed due to network or other communication problems. Check your connections and try again". Outlook should become unresponsive/hung up.
    Open command window (Start>Run and type cmd).
    Navigate to the folder where the debugging tools were installed (cd c:\program files\debugginf tools for windows (x86))
    Create a dmp file by running the following: adplus -hang -pn outlook.exe (-hang will tell adplus that a there is a hung application you wish to dump and -pn specifies the process name).*
    A dialog box will indicate that a folder has been created in the windows debugging folder. It will be named something like Hang_Mode__Date_... The date and time will correspond to the date and time of when the dump took place. Go into this folder and verify there is a .dmp file. The name of the file corresponds to the process ID of the process, the process name, and date and time. The file can be fairly large since it consists of a memory dump.
    To analyze this file, open Windbg from the exe or from Start>Programs>Debugging Tools for Windows>WinDbg.
    Go to File>Open Crash Dump and locate the file above.
    Dont worry about all the jiberish you initially see. In the empty line at the bottom run the following command: !analyze -v. While the file is being analyzed, the status message will say BUSY. Dont worry about the "Error: Symbol file could not be found..."
    Look for the FAULTING_MODULE and MODULE_NAME. In our case the culprit this was ntdll and Valkyrie. As mentioned above, Valkyrie.dll is associated with the Symantec Enterprise add-in and this is what we are currently looking at with Symantec.
    This is an example of the dump:
    *If outlook is crashing instead of getting hung up, then you will need to run adplus in crash mode instead. This needs to be done before the problem is created as opposed to waiting when outlook become hung. To do this run adplus -crash -pn outlook.exe. The dmp file will be created once Outlook has crashed in the windows debugging folder.

  • Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277

    in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
    following error,plese tell me where i am wrong
    ORACLE error 29277 in FDPSTP
    Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
    ORA-06512: at "SYS.UTL_SMTP", line 44
    ORA-06512: at "SYS.UTL_SMTP", line 150
    ORA-06512: at "SYS.UTL_SMTP", line 383
    ORA-06512: at "SYS.UTL_SMTP", line 399
    ORA-0651
    code:
    CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
    AS
       PROCEDURE submit_request(
          errbuf             OUT   VARCHAR2,
          retcode            OUT   VARCHAR2,
          Source_Application     varchar2,
    Application     number,
    Dummy_Parameter_0    varchar2,
    Ledger    number,
    Process_Category     varchar2,
    End_Date     varchar2,
    Create_Accounting_Flag    varchar2,
    Dummy_Parameter_1    varchar2,
    Accounting_Mode    varchar2,
    Dummy_Parameter_2    varchar2,
    Errors_Only_Flag    varchar2,
    Report    varchar2,
    Transfer_to_GL_Flag    varchar2,
    Dummy_Parameter_3    varchar2,
    Post_to_GL_Flag    varchar2,
    GL_Batch_Name    varchar2,
    Mixed_Currency_Precision    Number,
    Include_Zero_Amt_Lines_Flag    varchar2,
    Request_ID    varchar2,
    Entity_ID    Number,
    Source_Application_Name    varchar2,
    Application_Name    varchar2,
    Ledger_Name    varchar2,
    Process_Category_Name    varchar2,
    Create_Accounting    varchar2,
    Accounting_Mode_Name    varchar2,
    Errors_Only    varchar2,
    Report_Level    varchar2,
    Transfer_to_GL    varchar2,
    Post_in_GL    varchar2,
    Include_Zero_Amount_Lines    varchar2,
    Valuation_Method    varchar2,
    Security_ID_Integer_1    varchar2,
    Security_ID_Integer_2    varchar2,
    Security_ID_Integer_3    varchar2,
    Security_ID_Char_1    varchar2,
    Security_ID_Char_2    varchar2,
    Security_ID_Char_3    varchar2,
    Concurrent_Request_ID    number,
    P_INCLUDE_USER_TRX_ID_FLAG    varchar2,
    P_INCLUDE_USER_TRX_IDENTIFIERS    varchar2,
    P_DEBUG_FLAG     varchar2
       IS
          l_senderemail     VARCHAR2 (2000) := '[email protected]';
          l_request_id      NUMBER;
          errmsg            VARCHAR2 (1000);
          req_id            NUMBER;
          phase             VARCHAR2 (200);
          status            VARCHAR2 (200);
          dphase            VARCHAR2 (200);
          dstatus           VARCHAR2 (200);
          MESSAGE           VARCHAR2 (200);
          wait_stat         BOOLEAN;
          l_file_name       VARCHAR2 (200);
          l_file_path       VARCHAR2 (2000);
          crlf              VARCHAR2 (4)    := CHR (13) || CHR (10);
          v_set_layout_option  BOOLEAN;
           dir_name         varchar2(100);
        /*  CURSOR req_status
          IS
                        SELECT SUBSTR (outfile_name, 55, 23) filename,
                    SUBSTR (outfile_name, 1, 64) outfilepath
               FROM applsys.fnd_concurrent_requests
              WHERE request_id = l_request_id
                AND phase_code = 'C'
                AND status_code = 'C';*/
          directory_path    VARCHAR2 (2000);
          lv_subject        VARCHAR2 (100);
          lv_msg            VARCHAR2 (700);
          lv_msghdr         VARCHAR2 (100);
          lv_pdf_filename   VARCHAR2 (200);
       BEGIN
        apps.fnd_global.apps_initialize
                                   (user_id           => apps.fnd_global.user_id,
                                     resp_id           =>apps.fnd_global.resp_id,
                                    resp_appl_id      => apps.fnd_global.resp_appl_id
                 l_request_id :=
                apps.fnd_request.submit_request
                                      ( 'BOM',
                                        'CSTCRACCRCV',
                                         NULL,
                                         NULL,
                                         FALSE,                             
                                        Source_Application,
                                        Application     ,
                                        Dummy_Parameter_0,
                                        Ledger    ,
                                        Process_Category,
                                        End_Date     ,
                                        Create_Accounting_Flag,   
                                        Dummy_Parameter_1    ,
                                        Accounting_Mode    ,
                                        Dummy_Parameter_2,
                                        Errors_Only_Flag,
                                        Report    ,
                                        Transfer_to_GL_Flag,
                                        Dummy_Parameter_3,
                                        Post_to_GL_Flag    ,
                                        GL_Batch_Name    ,
                                        Mixed_Currency_Precision,
                                        Include_Zero_Amt_Lines_Flag,   
                                        Request_ID    ,
                                        Entity_ID,
                                        Source_Application_Name,
                                        Application_Name,
                                        Ledger_Name    ,
                                        Process_Category_Name,   
                                        Create_Accounting    ,
                                        Accounting_Mode_Name,
                                        Errors_Only    ,
                                        Report_Level,
                                        Transfer_to_GL,   
                                        Post_in_GL    ,
                                        Include_Zero_Amount_Lines,
                                        Valuation_Method    ,
                                        Security_ID_Integer_1,   
                                        Security_ID_Integer_2,   
                                        Security_ID_Integer_3,   
                                        Security_ID_Char_1    ,
                                        Security_ID_Char_2    ,
                                        Security_ID_Char_3    ,
                                        Concurrent_Request_ID,
                                        P_INCLUDE_USER_TRX_ID_FLAG,   
                                        P_INCLUDE_USER_TRX_IDENTIFIERS,   
                                        P_DEBUG_FLAG    
             COMMIT;
             IF (l_request_id <= 0)
             THEN
                errmsg := apps.fnd_message.get ();
             ELSE
                wait_stat :=
                   apps.fnd_concurrent.wait_for_request (l_request_id,
                                                         10,
                                                         360,
                                                         phase,
                                                         status,
                                                         dphase,
                                                         dstatus,
                                                         MESSAGE
                IF dphase = 'COMPLETE'
                THEN
                   dir_name :='XX_CREATE_ACCT_LOG';
                   l_file_name := 'l' || l_request_id || '.REQ';
                   lv_subject := NULL;
                   lv_msg := NULL;
                   lv_msghdr := NULL;
                   lv_pdf_filename := NULL;
                   lv_subject := 'testing mail :Request for Create Accounting not completed';
                   lv_msg :=
                         'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
                   ||  crlf;
                   lv_msghdr := 'Dear Sir' ;
                   lv_pdf_filename := l_file_name;
                   send_mail (l_senderemail,
                              '[email protected]',
                              lv_subject,
                              lv_msghdr,
                              lv_msg,
                              lv_pdf_filename,
                              'text/application',
                              dir_name
                END IF;  
             END IF;
       END submit_request;
       PROCEDURE send_mail (
          p_sender        IN   VARCHAR2,
          p_recipient     IN   VARCHAR2,
          p_subject       IN   VARCHAR2,
          p_mailbodyhdr   IN   VARCHAR2,
          p_mailbody      IN   VARCHAR2,
          p_filename      IN   VARCHAR2,
          p_filetype      IN   VARCHAR2,
          dir_name        in   VARCHAR2
       AS
          v_msg                          VARCHAR2 (32000);
          src_file                       BFILE;
          i                              INTEGER             := 1;
          v_raw                          RAW (500);
          v_length                       INTEGER             := 0;
          v_buffer_size                  INTEGER             := 57;
          v_mailconn                     UTL_SMTP.connection;
          gc_crlf                        VARCHAR2 (4)      := CHR (13)
                                                              || CHR (10);
          gc_lf                          VARCHAR2 (4)        := CHR (10);
          crlf                           VARCHAR2 (2)      := CHR (13)
                                                              || CHR (10);
          gc_mailhost                    VARCHAR2 (255)      := '172.16.11.2';
          -- gc_maildomain                  VARCHAR2 (255)      := 'pune.com';
          msg                            VARCHAR2 (32767);
          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 || '"';
       BEGIN
          DBMS_OUTPUT.ENABLE (100000);
          --fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
          v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
          UTL_SMTP.helo (v_mailconn, gc_mailhost);
          UTL_SMTP.mail (v_mailconn, p_sender);
          UTL_SMTP.rcpt (v_mailconn, p_recipient);
          UTL_SMTP.open_data (v_mailconn);
          msg :=
                'Date: '
             || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
             || crlf
             || 'From:[email protected] '
          --   || p_sender
             || crlf
             || 'Subject: '
             || p_subject
             || crlf
             || 'To: [email protected]'
            -- || p_recipient
             || crlf
             || 'MIME-Version: 3.1'
             || crlf
             ||                                          -- Use MIME mail standard
                'Content-Type: multipart/mixed;'
             || crlf
             || ' boundary="-----SECBOUND"'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type: text/plain;'
             || crlf
             || 'Content-Transfer_Encoding: 7bit'
             || crlf
             || crlf
             || p_mailbodyhdr
             || crlf
             || crlf
             || p_mailbody
             || crlf
             || crlf
             || crlf
             || crlf
             ||                                                    -- Message body
                'Regards'
             || crlf
             || 'HR and Payroll Team'
             || crlf
             || crlf
             || ' Note- Please ignore the leave status and number of days.'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type'
             || ': '
             || p_filetype
             || crlf
             || 'Content-Disposition: attachment; filename="'
           --  || 'Create Accounting'
            -- || '.REQ'     
             ||p_filename                                         -- p_filename
             || '"'
             || crlf
             || 'Content-Transfer-Encoding: base64'
             || crlf
             || crlf;
          UTL_SMTP.write_data (v_mailconn, msg);
          src_file := BFILENAME (dir_name, p_filename);
          DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
          v_length := DBMS_LOB.getlength (src_file);
          WHILE i < v_length
          LOOP
             DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
             UTL_SMTP.write_raw_data (v_mailconn,
                                      UTL_ENCODE.base64_encode (v_raw)
             UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
             i := i + v_buffer_size;
          END LOOP while_loop;
          UTL_SMTP.write_data (v_mailconn, last_boundary);
          UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
          DBMS_LOB.fileclose (src_file);
          UTL_SMTP.close_data (v_mailconn);
          UTL_SMTP.quit (v_mailconn);
       EXCEPTION
          WHEN OTHERS
          THEN
             UTL_SMTP.quit (v_mailconn);
             DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
       --   FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
       END send_mail;
    END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
    added {noformat}{noformat} tags.  Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    I didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
    Something like
    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
    /* 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;For more example see these posts:
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    Re: getting junk letters instead of photo in an email.

  • Attach to Email - more than once?

    In Acrboat X Pro, if you want to send a document via email, you go through "Share".  This then sets you up to send the current document via email.  If you want to do this twice, the document name is gone though, and unless you know the entire path structure to the document, the only option appears to be to shut down acrobat and restart it.  I'm sure I'm missing something here.  How do other people send a document out twice via email?

    I am running into this issue as well. The proposed solution does not work.
    Issue: Pressing e-mail button on toolbar, File>Attach to email, or Share ONLY works the first time. Following attempts fail unless you either click on Add File (under Share option) or close then reopen the PDF and repeat sending process.
    Question: Is there a setting, within Adobe Acrobat X Pro, which tells the software to use the same path/document for repeatedly attaching to e-mails.
    Example: I have a pdf open. I click the mail icon and send this document out to others, but forget somebody. I attempt to send the document again, but the Select Any Type of File field is blank. As a user, I want this field to auto-populate as it did for the first e-mail.
    Thank you in advance for any advice given.

  • Adobe Reader 'Attach to Email' is not working

    I have a client that is running Windows 7 and when opening a PDF with Adobe Reader is unable to use the "Attach to Email" function. We tried this with Adobe X, Adobe 9.3, Adobe 9.4.2. None of these will work. An error occurs: "Acrobat is unable to connect to your email program." We get the same error on any of these versions. For some reason Adobe 9.3.4 upgrade does not install with 9.3, where I read in a resource discussion that this version should work ion Windows 7.
    Adobe Reader X seems to be a known issue with Windows 7 for this problem. My client recently upgraded from Windows XP and did not have this problem on that OS. A current work-around is to save the PDF then attach it to an email, but she would greatly prefer to use the Attach to Email function within Adobe Reader without having to save the PDF and manually attach it.
    Thanks for any help!

    Bigshrimpin
    Apr 1, 2011
    I have the same issue using Acrobat X and Thunderbird 3.1.6 on Windows 7.  Attach to email function is NOT working.
    It worked when I had outlook 2007 installed, but I couldn't find where to change the setting to thunderbird.
    I uninstalled outlook.  Now the attach to email feature won't work at all.
    Thunderbird is set to the default email client in windows . . . this is extremely annoying!!
    File > Attach to email . . .  It appears this feature doesn't work with any emails client except outlook??????
    Attach to email worked on WinXP for Lotus Notes 8.5 email client (maybe an older Adobe Reader, version 9.4), but not after we upgraded to Win7. No Adobe Reader versions we have tried will work on Win7 for Lotus Notes.

Maybe you are looking for

  • Where did my Programs Go?

    Yesterday I installed Firefox to use as my Browser, and Adium for chat. Used them all day - they were down in my Dock. This morning I turned computer on & neither program is in the Dock. Nor is either on shown in Applications. Doing a FIND I was able

  • I am getting error 4310 and my computer keeps stopping the burn before I get to burn it

    I am getting error 4310 when trying to burn a CD with just 3 songs on it that I have just bought on ITunes and my computer keeps stopping the burn before I get to burn it.  Can't find any information anywhere as to why.  Can anyone help? Thanks

  • WLS 8.1, SP1 - Weblogic does not detect my servlet class has changed

              I've come across this problem in weblogic 7.0 sp2 and 8.1 sp1 and never found the           solution. I've asked for solution in BEA's newsgroups and official support and           NEVER received any suitable answer. I've found other people

  • SQL Server 2005 Memory Explosions

    We have the following configuration: ESXi 5.1.0 running on three clustered Dell 710 servers vCenter Server 5.1.0 The clustered servers have a total of 88G of RAM SQL Server 2005 x86 running on a virtual Server 2008 R2 x64. All databases run fine for

  • Change Document program Generation

    Hi all, We are trying to capture changes to several ECC tables. We want to capture any change to that table. We want to know what kind of change (Insert, delete or update) and then the key of the record that has changed. Our goal is to capture the mo