Email uploaded PDF document

Hi,
I want to email PDF  document uploaded using FileUpload UI element as attachment.
I have seen many posts on this, but not found solution yet.
One workaround suggested is storing uploaded document on server and then sending the document by reading it from specified server path. But there are few problems with this approach. As many users will be accessing this application unique name needs to be generated for each uploaded file.Also, after sending the file it should be deleted from the server.
Is there any way uploaded document (in binary form) can be send via mail without storing it on the server?
Thanks,
Apurva

Hi Apurva
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
just go through this  link hope u will find ur answer
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Oct 6, 2008 9:29 AM
Edited by: Ruturaj Inamdar on Oct 6, 2008 9:30 AM

Similar Messages

  • I see only black screen windows when upload pdf documents in safari

    Hi. I see only black screen windows when upload pdf documents in Safari. Also in old version of Safari, and in old System. In some windows, i can save the document, only now i can see this, open from pdf reader. Thank for some info.

    Back up all data.
    In the Finder, select Go ▹ Go to Folder from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    I've seen an unconfirmed report that the "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you might need to remove it as well, if applicable.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Upload PDF documents to SCM

    Hello,
    our requirement is to upload PDF documents in Supply Chain Management (SCM) and attach them to Business Objects. Has anybody an idea for a best practice solution?
    Thanks and regards,
    Uwe

    Hi Raja,
    we are not going to develop a tool extra. The business requirement here is: to store legal business document, which has been issued in PDF file, in SAP system. The challenge we also are facing is: the business document is stored in a FTP folder for pulling, we have to pull it into SAP system and store it as attachment.
    Hope this give you a better view of what we are going to do, looking forward to your reply,
    Best regards,
    Xiaoqun

  • Display only 1 record using uploaded PDF document from 3rdparty Website

    Hi,
    Any help will be very much appreciated....
    I'm trying to create my first BI publisher report using a PDF document from 3rd party website. I want to populate the name from EMP table to one of the fields in the PDF doc.
    Here's the steps I've done:
    1. Created and saved a data set using only the ENAME column of EMP table. 14 records are available from the table.
    2. Run xml output and then save as sample data.
    3. Downloaded the PDF doc from the 3rd party website (government form - US Custom Form 7512).
    4. Using Adobe Acrobat X Version 10.1.4, I mapped the element name (ENAME) from my input XML file to the Name field.
    <output type="data-structure" >
    <dataStructure tagName="DATA_DS">
    <group name="G_2" source="Employee" label="G_2" >
    <element name="ENAME" value="ENAME" dataType="xsd:string" label="ENAME" breakOrder="None" fieldOrder="1"/>
    </group>
    </dataStructure>
    </output>
    5. Uploaded the revised PDF document to BI publisher.
    6. Created and saved the report.
    7. When I viewed the report in PDF, only 1 page is displayed. I'm expecting to see 14 pages because I have 14 records from the table EMP.
    Any report properties that I need to change to allow me to view all the records from the EMP table?
    Version of BI and Adobe
    Oracle BI Publisher 11.1.1.5.0
    Adobe Acrobat X Version 10.1.4

    There could be an issue with the Loop. I guess your Template is looking at the first record only and not reading through all the records.
    Try to get the BI Publisher Desktop tool. Using this tool you can merge PDF document and XML to see the output from your local PC/Laptop. It will be easy for you to debug.
    Rgds
    Chundi

  • Uploaded pdf-documents generates code instead of pages in firefox and chrome (however they work in safari)

    this is a new problem after having upgraded to mountain lion.
    when I attach a hyperlink to my pdf-document that I like to display on the web - the pdf-document will not show up in Firefox or Chrome - it generates a lot of code instead.
    I have only uploaded the files to my computer (not released on the web yet) - as I can see all files are neatly displayed in the appropriate pagefolder.
    One of the themes (modern) provided as a standard feature in iWeb has been used. In Chrome the menu does not show up either (although safari and firefox displays the menu correctly)

    I should have given you some info about testing the local version of your site. As you probably realise, its almost useless testing your site in Safari since hardly anybody uses it.
    In OS X up to Snow Leopard, we could set up Web Sharing from System Prefs but Apple made this difficult in Mountain Lion.
    See the bottom of this page for info about testing the local version of your website...
    http://www.iwebformusicians.com/iWeb/mountain-lion.html

  • Emailing Generated PDF Document as Attachment - Error

    Hi Forum,
    A custom Print Form was developed using SFP Transaction and trying to send the Form to the vendors using an email attachment.
    1. Used cl_bcs class for sending email. Attachment data(Generated PDF Output) was moved to solix_tab .
    2. In the email attachment I see a PDF attachment with some funny characters and not the PDF Document I see in the print preview
    Please advice me what I should do to the actual PDF document in the email attachment .
    Thanks,
    Vijay.

    Vijay,
    Please try this solution.
    Characters that are not included in the ASCII character set are not displayed correctly due to an incorrect encoding setting of the browser.
    During the display of the overview in the PDF format, errors may occur in certain versions of the Adobe Acrobat Reader. In this case, a blank page is displayed.
    The problem is caused by a program error.
    Adobe, Acrobat, Reader, PDF
    Reason and Prerequisites
    The problem is caused by a program error.
    SAP WebAs sends incorrect encoding information to the browser so that the latter does not switch to the correct encoding utf-8 automatically.
    Some versions of the Adobe Acrobat Reader may have problems with that, for example version 6.0.
    <b>Solution</b>
    Import the corresponding Support Package.(presumably SP4)
    Alternatively:
    The revised version with various changes in the translation is provided by the attachment of this note.
    Refer to the detailed description in Note 13719 on how to download and implement the corrections into your system.
    Thanks,
    Raj.

  • Trouble emailing from PDF document

    I am trying to email straight from a pdf document using pdf reader and am getting operation failed. This is only happening with one of my users.

    I have a user who was emailed a pdf file, he opens in Adobe reader and clicks on the envelope to email it. He chooses Outlook and then he receives operation failed and it won't email. He could save it down or forward the email, but should be able to do it straight from the form. I have run the fix and we have even reinstalled reader. Hope this clears it up more. TIA.

  • Need to bulk-upload PDF documents ?

    Dear ALL,
    I have some 18 lakh separate PDF documents in my windows server.I need to upload all the 18 lakh separate PDF documents to SAP - DB (COntent server)for SAP - DMS.
    How to proceed?
    One more query...Is there any function module to read all the PDF documents/files?
    Appreciate if some one solves mine..
    Regards,
    John.
    Message was edited by: john wesley

    Dear Chritian,
    Thanx for the reply...
    I am just trying that now, but it seems to be 3 parameters are there.
    SPOOL request.....
    Download PDF file(A check box) ......
    PDF file name......
    what to be given in the spool?Also i hope its for downloading the PDF ...
    Kindly let me know your thoughts.
    Regards,
    John.

  • What app can I use to upload pdf documents that cane read in ibooks?

    Previously, with MobileMe, I have uploaded pdf files to iDisk and then opened them in iBooks on my iPad2.  Worked great.  Moving to iCloud, I can no longer upload to iDisk and must use (?) Pages, which will not open a pdf or allow me to move it to iBooks.  What am I doing wrong?  I need to open a pdf created on my iMAC in iBooks on my iPad2.  What is the best way to get it there?
    Thanks -

    Drag the file to iTunes on your computer. Sync.

  • Error while uploading pdf document for GP process  .

    Hi,
    I had developed a pdf form in Adobe designer and i'am tring to upload that file into Portal for GP process.But it is giving me an error as "<b>Could not retrieve template fields: Wrong document format or adapter mismatch from adapter</b>"
    Kindly help me in this issue.
    with regards
    Pradeep.B

    Deepak,
    Can you indicate the exact version of Adobe LiveCycle that is being used? Also, please let me know which application server, database and MS Office versions are being used.
    Also, please delete (or achive) your existing application server log files, and restart your application server. Then repeat the steps that lead to this error.
    Finally, please post the application server log files.

  • File is damaged and could not be repaired, when emailed the PDF Document

    Hi i have the same problem , that what you have resolved, but it doesn't work for me...
    i.e, when i sent a mail from the below code , mail sent but when open it shows "**There was an error in opening this document. the file is damaged and could not be repaired."**
    can u please suggest to over come this problem.. and i m using IBM Websphere 8.
    please advice ....
    thanks alot in advance...
    here is the code :
    AstLogger logger = AstLogger.getInstance();
    logger.info(this.getClass(),"ReportBuilderUtils.sendMail Start....");
    boolean flag = false;
    try {
    javax.naming.InitialContext ctx = new javax.naming.InitialContext();
    javax.mail.Session session = (javax.mail.Session) ctx.lookup(AstProps.getInstance().getWebCollectLoginMailSession());
    Message msg = new MimeMessage(session);
    InternetAddress addressFrom = new InternetAddress(from);
    logger.info(this.getClass(), "Report Builder Utils - Email From :" + from);
    msg.setFrom(addressFrom);
    String log = "";
    double tempFilesize=0;
    for(String emailId : recipients) {
    InternetAddress addressTo = new InternetAddress(emailId);
    msg.addRecipient(Message.RecipientType.TO, addressTo);
    log += emailId + ",";
    logger.info(this.getClass(), "Report Builder Utils - Email Recipients :" + log);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    logger.info(this.getClass(), "Report Builder Utils - Email Subject :" + subject);
    msg.setContent(message, "text/plain");
    msg.setHeader("Content-Type", "multipart/mixed");
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText(message);
    logger.info(this.getClass(), "Report Builder Utils - Email Message :" + message);
    mbp1.setDataHandler(new DataHandler(new HTMLDataSource(message)));
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    // constants to handle the large files
    if(tempFile.exists()){
    tempFilesize = tempFile.length();
    logger.info(this.getClass(), "Report Builder Utils - File Size :" +((tempFilesize/(1024*1024))) +"MB.");
    System.out.println("ATTACHMENT_SIZE ==>" +ATTACHMENT_SIZE);
    if(tempFilesize > ATTACHMENT_SIZE){
    flag = false;
    return flag;
    MimeBodyPart mbp_file = new MimeBodyPart();
    mbp_file.setHeader("Content-Type", "application/pdf");
    mbp_file.setHeader("Content-Transfer-Encoding", "Base64");
    mbp_file.setFileName(fileName);
    mbp_file.setDisposition(Part.ATTACHMENT);
    mbp_file.setDataHandler(new DataHandler(new FileDataSource(tempFile)));
    mp.addBodyPart(mbp_file);
    System.out.println("Mail Successfully sent to :"+recipients);
    msg.saveChanges();
    msg.setContent(mp);
    // even tried by placing here
    // mbp_file.setHeader("Content-Transfer-Encoding", "base64"); base64 is not case-sensitive i hope , i read out on some books
    Transport.send(msg);
    logger.info(this.getClass(), "Report Builder Utils - Email Send successfully...");
    flag = true;
    }catch (Exception e) {
    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    e.printStackTrace(pw);
    logger.error(this.getClass(), sw.toString());
    AstLogger.getInstance().info(this.getClass(),"ReportBuilderUtils.sendMailAsAttachment End.");
    return flag;
    Edited by: 992445 on Mar 7, 2013 4:05 AM

    You need to get a new copy of the PDF.

  • I just changed to 7.0.1 from the previous version, now I cannot upload pdf documents on the Bankruptcy Court's Website [the pdf documents cannot be attached. All we see is a shadow of the icon] .

    Max OX 10.5.8

    You can turn off compatibility checking, but more and more of the Google Toolbar will not work. Google is no longer supporting the Google Toolbar so you should use the alternatives.
    Hi Mark,
    See http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars
    If you have an aspect that is not covered, indicate what that is; otherwise, expect you to be fully functional within 1-2 weeks.
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • I've uploaded preview pdf documents to iCloud. Can i access them on iOS?

    So, with the new Mountain Lion version of documents in the cloud you can upload PDF documents to iCloud, but how do you access these once they are uploaded, on another computer or another device? Has anyone figured this out?
    Thanks

    Well iCloud is CRAP then.  I'll go back to DropBox and Google Drive where these OBVIOUS features JUST WORK! 
    Whoever is running the software part of Apple's business needs to be fired.  This is not even close to competitive.

  • Upload PDF directly to printer via Citrix from off-site computers

    Is it possible to upload PDF documents directly to the newer HP printers, especially the business printers and copiers (MFDs)?  We have HIPAA-containing data that home-based users must print at work, and therefore cannot be sent via the cloud.
    Our current printer vendor supports uploading PDFs directly, which our users are using.  The workflow involves printing via PDFCreator, then opening the web interface print tab of the device they are printing to and uploading, via a browse button, the PDF document.  The connection is handled through our Citrix remote access servers, everything is encrypted, and all data stays out of the cloud.
    Because HP's ePrint is in the cloud, we cannot submit HIPAA-containing data via that route.
    If no current HP products have that capability, can it be added?  I would think a firmware update to have an upload option would be very doable.  It appears that the ability to print PDFs is already present via ePrint--this would only be another way to submit a print job.
    Our current printer vendor's device functionality includes being able to upload and print other print-ready formats, including .PCL and .PS files, but we aren't using that capability currently.  It would be nice to be able to upload .DOC/.DOCX formats directly.

    Hey SPS64,
    Thank you for participating in the HP Consumer Support Forums!  The steps you desire are not going to be found on Consumer grade printers, but may be able to be found on some of the Enterprise level printers from HP.  I would advise posting this question on the Enterprise printing boards where there are many experts who would be willing to assist with your question.
    http://h30499.www3.hp.com/t5/Printing-and-Digital-Imaging/ct-p/bsc-412
    Best of luck,
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • Can I select a rectangle in pdf document, identify the bounds, and then retrieve the text with vba?

    I am using MS Access 2010 VBA and acrobat X, and AcroExchg.  I can manipulate and search pdf documents without difficulty.  I would like to programmatically capture the text in a rectangle that I have drawn on the document with a mouse.  It appears that If I can obtain the bounding rectangle that I could use AcroExchg.PDTextSelect to retrieve the text.  Is there a way to retrieve the coordinates of a mouse drawn rectangle in a pdf document.  In other words the equivalent of select, copy and later paste the text into another document?
    Message was edited by: jgm835
    I have reviewed posts from the adobe forum that indicate that obtaining the coordinates from a user drawn selection are not available through automation with AcroExch, but that function would be available .through a plug in.  Unless there is information to the contrary I will look to using menu commands in Acrobat

    hi Bruce,
    1. It sounds like what you need is to set the starting version number since your revision number increments in whole numbers, it would match up to SharePoint once the starting version number is set. You can potentially create a new custom field in the
    library to manually track the version of the uploaded PDF document, but this might not match up with SharePoint's own version number and could get confusing. Another possibility is to upload dummy versions of the PDF document until the SP version
    matches with the revision version and then delete these dummy versions.
    2. When you upload the PDF document again into the library, it should prompt you to see if you want to replace the existing. If you proceed with the upload, it should replace and increment the SharePoint version number.
    Please Mark Answered if my reply solves your problem. Thanks!
    Jeff Thai
    Technical Solutions Architect, AvePoint
    http://www.AvePoint.com

Maybe you are looking for