Sending word 2007 file in email

Hi All.
I am trying to send a word 2007 (docx) file in email (via BCS). All other formats like PDF, DOC etc work perfectly fine. But DOCX gives me junk characters.
I have tried to send the attachment in BIN, DOC, DOCX, RAW formats, but all have failed.
Can suggest me what I am doing wrong please?
I am using the ADD_ATTACHMENT method of the CL_DOCUMENT_BCS class.
Thanks in adv.

Anybody achieved this guys? Thanks for your time.

Similar Messages

  • Unreadable word 2007 files after emailing via Gmail or saving to USB drive

    I am having trouble with word 2007 files that I am emailing via gmail and also my uni portal email site. They lose the docx extension and become unreadable. It also seems that word 2007 files saved onto my USB drive are not readable on other computers. I have been advised to change configuration on my Macbook to Always use the file extension but I cannot find where to set this. Can anyone advise me on how to do this?

    Welcome to Apple Discussions!
    If you can't open it from Word/Neo Office's Open File command from within the application, setting the Open With file extension won't help. What may be the problem is that Word itself may be saving certain meta data that can't be transfered via the FAT32 storage of the USB drive. Your best bet is to archive it with control-mouse click if on a Mac, or using WinZip on a PC before moving it from one machine to another to avoid loss of important meta data.
    If using the Word or Neo Office's File menu -> Open file command can read the file in question, your Open With that is available on the Mac's control - left mouse click (or one mouse button) key combination, has an optional checkbox to Always Open With, when you select Open With -> Other... Upon selecting that, pick your application to open the said document.
    Message was edited by: a brody

  • Can't send Excel 2007 File via Send To Email Option after Acrobat Install

    Normally, you can send an Excel 2007 file via email to someone by going to the Send option on the Excel file menu and choosing "Email." This will email an actual copy of the Excel 2007 file. However, since installing Adobe Acrobat  9 pro on my computer, this option, as well as the option to send to XPS are gone -- the only email option I have on that menu is to convert the file to a PDF and email it.
    It seems to me that Acrobat should ADD options to menus but not remove any! Does anyone know how I can get those missing options (especially the one to email the actual file itself) back? I've tried Googling up a solution, but to no avail so far.
    Thanks, in advance, for any help!
    Laura

    Thanks for taking the time to respond, Aditya!
    I saw that MS support article when I was trying to solve this issue on my own, but the solutions it proposes won't work for me -- I can't set Outlook as my email client (this is a work computer and we use Lotus Notes) and I can't muck around in the registry (again, this is a work computer). I know I can attach the Excel via the attach command in the email client, but the main thing is I don't understand why Acrobat has removed that option from the Excel menu. Also, it removed the Send to XPS option (which I don't really care about, but it bothers me because it shouldn't be deleting anything)!
    I even tried adding the Email command to the Quick Access Toolbar in Excel -- it let me add the button, but, when I click it, absolutely nothing happens.

  • How to send a csv file by email in SSIS

    Hi,
    I need to create a SSIS package which creates a csv from sql table and send the same file by email. I have created the package but it thorws error saying the file does not exist in the send email task. For the first time the file will not be present but
    the send email task expects the file to be present when executing itself. How to solve this issue?
    Preetha

    In Execution taks
    /*you should map the shared folder to a drive letter*/
    EXEC msdb.dbo.sp_send_dbmail 
         @profile_name = 'My Name', 
         @recipients = '[email protected]', 
         @subject = 'Error Log Count', 
         @file_attachments=N'F:\Testing.txt'
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Why can't I send a pdf file by email?

    Why can't I send a pdf file by email?

    How are you trying to send it? What happens when you try? What version of Reader?

  • Converting Word 2007 files to PDF

    Hi,
    When I convert Word 2007 file to PDF via Acrobat Pro. 9, The Section Titles show on the bookmark area are as usual, but the Section number for the titles are disappear. For Example: the title set as "1.1 Test", the bookmark shows only "Test" and the "1.1" is disappeared. (the title assigned as style heading 3 and the section number is generated by multi-level list).
    I have been converting Word 2003 file via Acrobat Pro. 7 and Word 2007 file Via Acrobat 8.1, they are all fine.
    I tried to change settings on PDFmaker for Acorbat Pro 9 and failed. I also checked through the manual and found nothing. Can anyone tell me how to have both the section number and title show on the Bookmark section of PDF file with my present MS Word 2007 setting (the title assigned as style heading 3 and the section number is generated by multi-level list)?
    Thanks,
    Jeffrey

    Steve, Samnol,
    Thanks for your advice and sorry for the late reponse because I tried to re-install Acrobat 8 and 9 and see if anything changed.
    The good news I got from this weekend is that the problem regarding the "Missing of section numbers in the Bookmark when I converted the Word 2007 to PDF" has been resolved after I update the patch published on 01 March 2009.  I will keep running Rev 9 on trail basis and work out the recommendation to the company.  I am glad that I can get rid of the old Office 2003 and Acrobat 7 for the time being.  It has been a heck for me to run dual Office system.
    Thanks again for the advise.
    Jeffrey

  • Sending an excel file in email

    Hello all!
    I need a help, please someone helps me...
    I always send pdf by email without problems, nor i need to send an excel file by email i am using demo mail package, can anyone give an example please???
    THank you!

    I am sending by the same way of pdf but its showing the message error - ora 21560
    CREATE OR REPLACE PROCEDURE P_Envia_Nybot (V_REPORT IN VARCHAR2,V_CAMINHO_REPORT VARCHAR2) IS
    p_sender VARCHAR2(100);
    p_recipients VARCHAR2(4000);
    p_subject VARCHAR2(100) := 'Transaction Confirmation';
    p_filename VARCHAR2(5000);
    p_blob blob;
    V_NOME_ARQUIVO VARCHAR(50);
    conn utl_smtp.connection;
    i NUMBER;
    len NUMBER;
    vFlob BFILE;
    vBlob BLOB;
    v_arquivo2 VARCHAR2(500);
    v_report_novo VARCHAR2(200);
    BEGIN
    UPDATE CIMASTER SET arquivo_NYBOT = (EMPTY_BLOB())
    RETURN arquivo_NYBOT INTO vBlob;
         VFlob := BFILENAME('ORALOADNYBOT',RTRIM(v_report));
    DBMS_LOB.FILEOPEN(vFlob,DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(vBlob,vFlob,DBMS_LOB.GETLENGTH(vFlob));
    DBMS_LOB.FILECLOSE(vFlob);
         SELECT ARQUIVO_NYBOT INTO P_BLOB FROM CIMASTER;
         SELECT SENDER INTO P_SENDER FROM CIMASTER_EMAIL;
    conn := Demo_Mail.begin_mail(
    sender => p_sender,
    recipients => '[email protected]',
    subject => 'Transaction Confirmations',
    mime_type => Demo_Mail.MULTIPART_MIME_TYPE);
    Demo_Mail.begin_attachment(
    conn => conn,
    mime_type => 'TEXT/PLAIN',
    inline => TRUE,
    filename => v_REPORT,
    transfer_enc => 'base64');
    -- split the Base64 encoded attachment into multiple lines
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + Demo_Mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, Demo_Mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + Demo_Mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    Demo_Mail.end_attachment(conn => conn);
    Demo_Mail.attach_text(
    conn => conn,
    data => NULL,
    mime_type => 'text/html');
    Demo_Mail.end_mail( conn => conn );
    i := 1;
    len := DBMS_LOB.getLength(p_blob);
    WHILE (i < len) LOOP
    IF(i + Demo_Mail.MAX_BASE64_LINE_WIDTH < len)THEN
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, Demo_Mail.MAX_BASE64_LINE_WIDTH, i)));
    ELSE
    UTL_SMTP.Write_Raw_Data (conn
    , UTL_ENCODE.Base64_Encode(
    DBMS_LOB.SUBSTR(p_blob, (len - i)+1, i)));
    END IF;
    UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
    i := i + Demo_Mail.MAX_BASE64_LINE_WIDTH;
    END LOOP;
    Demo_Mail.end_attachment(conn => conn);
    Demo_Mail.attach_text(
    conn => conn,
    data => NULL,
    mime_type => 'text/html');
    Demo_Mail.end_mail( conn => conn );
    END;
    /

  • WORD 2010 Crashes Opening Word 2007 files

    WORD 2010 crashes when opening Word 2007 files. If you save the files in Office 2007 as an RTF file, then open in WORD 2010 and save as a DOCX it works fine. Why can't WORD open legacy documents (these are not big files ~13 pages).
    I have tried opening in safe mode, same effect - the doc opens and appears in the WORD window, and then the pop-up appears before you can do anything telling you that WORD 2010 has crashed.

    Try using Open and Repair on the problem docs.
    In the Open dialog, select the file, then click the arrow beside Open and choose Open and Repair
    If that doesnt help you may want to check  the How to troubleshoot damaged documents in Word 2007 and in Word 2010
    http://support.microsoft.com/kb/918429
    Regards, ~G MCSE, MCDST, MCITP, MCTS, MCP, CCNA

  • Images lost in converting Word 2007 file to PDF

    I have a Word 2007 document (docx), with inserted JPGs.  If the text wrapping of the images is set to anything but "in line with text", the images do not appear in the PDF file created from the docx.  I have tried many different combinations of Acrobat preferences (image compression on or off; standard vs. high quality print; different DPI settings; etc.).  This appears to be a new problem, as I have converted many Word docx's with images to PDFs in the past.  A document that I converted to PDF a year ago no longer converts properly!   I'm running Windows 7 Pro and using Acrobat Pro X.   Office 2007 has SP3 (and I suspect that's the problem).  Has anyone else had the problem, and, if so, found a fix?

    Hi, Bill,
         I have the doc/docx converter, though I haven't tested if if gives any different result from letting Word 2003 simply open the docx.   I'm on travel now and can't test this until later.
         The doc file looks perfect in Word 2007 on my Win 7 machine.
          Printing to Adobe PDF gives the same problem - no images.
         Re positioning with reflow:   I'm not sure exactly where you find options termed 'reflow,' but I tried 3 options in Compatibility and Layout (Word options --> Advance --> Compatibility options): 
    In the menu of Compatibility options: "Lay out this documents as if created in Microsoft Word 2003"
    In the sub-menu Layout options: "Use Word 2003 indent rules for text next to wrapped objects"
    In Layout options: I turned off the indent rules and chose "Use printer metrics to lay out document" (and I used this with "Create PDF" inside Word 2007 and with print to Adobe PDF)
    In all 3 (or, really, 4) cases, the images were lost.  Please let me know if any of these options comprise the reflow options.  Please note also that I'm not trying to print the document, as I think you realize; I want to create email-able PDFs that have positioned images, as I have always been able to do in the past. 
    If there's not much more to tweak here, I may bit the bullet and do a system restore to pre-SP3 update on Office 2007.   Tedious, but no more tedious than all the things I've tried so far.
         Thanks,  Vince

  • Problem with index markers and importing MS Word 2007 files

    This was ugly in that it wasn't caught until after a book had been typeset and the index was being finalized. I'm now having to go back and manually insert a zillion index markers. Not fun.
    This was my first project since migrating from FM 7.1 to FM9.0.3.
    Source documents are Microsoft Word 2007. Am working in Microsoft Windows 7 64-bit.
    When the Word files were imported into FrameMaker, only SOME of the index markers were imported. The difference between those that were imported and those that weren't was seemingly random.
    I did some testing and found the problem and a solution.
    Looking at the source Word .docx file, and displaying hidden text shows two types of index markers:
    1. { XE "word to be indexed"}
    2. {xe "word to be indexed"}
    Note the difference in case and the extra space after the opening brace in #1. Markers of type 1 were imported fine. Markers of type 2 were stripped by the import process.
    The solution:
    Backsave the Word file to Word 2003 format (.doc) before importing into FrameMaker.
    I backsaved to Word 2003 and imported using both the "Microsoft Word" and "Microsoft Word 2007" filters and both filters imported correctly. It's only when trying to import a Word 2007 .docx file directly that things run amok.
    Grr...

    Thank you for posting your solution, Dan. It's cold comfort, but I've also ran into this issue in the past, almost certainly well before Word2003 though, probably as far back as Word2000 or earlier.
    In your testing, did you try saving as RTF to see if the markers were homogenized, by any chance? In my simple testing just now, Word itself recognized the index field correctly no matter whether I changed the field to "xe" or "XE", but FM's import of the .docx file format wouldn't recognize "xe", only "XE". But importing an RTF file handled both upper- and lower-case entries.
    Ah, yes, that's it -- saving the Word2007 file as RTF (with 2 fields, one caps, one lower-case) changed cap field to lower-case when the RTF is opened in Word again, so saving as RTF does homogenize the fields to lower-case. Is it possible that your file(s) were changed to or saved as RTF at any point in their life-cycle? I believe some older versions of Word were actually RTF under the hood, too -- if you do Save As in Word2007 you can scroll through the File Type entries and see "Word 97-2002 & 6.0/95 - RTF (*.doc)"  I believe some doc management systems change binaries to RTF too, or conversely some apps create RTF but they name the files as doc.
    So Word itself recognizes either lower- or upper-case, and FM's RTF import handles both, but not the .docx import.
    Sheila

  • How do I send a pdf file by email

    How do I send a PDF file as an attachment to an email?

    Just like any other file...
    On Sat, Mar 7, 2015 at 12:16 AM, larrys19338374 <[email protected]>

  • Issue the send attach Pdf file in Email. (Urgent).

    Hello folks, i have issue with attach pdf in e-mail using two lib&acute;s: activation.jar and mail.jar. Currently using a platform SOA and am creating the serviceType, then a file don&acute;t is local and yes by message, so far so good.
    Already tried in several forums, but without success.
    When send the message (pdf file), the program receive a type ContentType (application/octet-stream) and cause the MessageException, below:
    MessageException - in Container:
    Message: [B@79ffb7f7  /// the service received the pdf file
    [09/03/02 12:22:45] ID=dev_ESBTest (info) application/octet-stream *///ContentType of message*
    javax.mail.SendFailedException: Sending failed; *///Exception*
    nested exception is:
    javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    **javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream**
    at javax.mail.Transport.send0(Transport.java:219)
    at javax.mail.Transport.send(Transport.java:81)
    javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream
    at com.sun.mail.smtp.SMTPTransport.sendMessage (SMTPTransport.java:353)
    at javax.mail.Transport.send0 (Transport.java:164)
    at javax.mail.Transport.send(Transport.java:81)
    With this, it send the e-mail without attach......above my source simple source code.
    ServiceType Code:
         protected void SendEmail(XQPart prt, String host, String from, String to) {
              // create some properties and get the default Session
              Properties props = System.getProperties();
              props.put("mail.smtp.host";, host);
              Session session = Session.getInstance(props, null);
              try {
                   // create a message
                   MimeMessage msg = new MimeMessage(session);
                   msg.setFrom(new InternetAddress(from));
                   InternetAddress[] address = { new InternetAddress(to) };
                   msg.setRecipients(Message.RecipientType.TO, address);
                   msg.setSubject("Test Subject.");
                   MimeBodyPart bp1 = new MimeBodyPart();
                   bp1.setText("Test Text.");
                   MimeBodyPart bp2 = new MimeBodyPart();
                   m_xqLog.logInformation(prt.getContentType());
                   bp2.setContent(prt.getContent(), prt.getContentType());
                   bp2.setFileName("teste.pdf";);
                   Multipart mp = new MimeMultipart();
                   mp.addBodyPart(bp1);
                   mp.addBodyPart(bp2);
                   msg.setContent(mp);
                   msg.setSentDate(new Date());
                   Transport.send(msg);
                   System.out.println("Email sent successfully!");
              } catch (MessagingException mex) {
                   mex.printStackTrace();
                   Exception ex = null;
                   if ((ex = mex.getNextException()) != null) {
                        ex.printStackTrace();
         }Anybody would can help me, please....
    Thanks ....
    Paulo Sampei.

    Hello Folks, me again. Then the solution about this question above, below:
    Solution:
    Code 1: Call 2 method passing requirement parameter:
    Obs: Always ContentType = application/octet-stream
    ByteArrayInputStream attachStream = new ByteArrayInputStream((byte[]) prt.getContent());
    //call constructor class:InputStreamDataSource
    InputStreamDataSource isds = new InputStreamDataSource("Testepdf.pdf", prt.getContentType(),attachStream);
    //call method sendMail(InputStreamDataSource,host,from,to)
    sendMail(isds, s_Host, s_SendFrom, s_SendTo);Code 2: Class InputStreamDataSource
         // statement DataSource
         private class InputStreamDataSource implements DataSource {
              private String name;
              private String contentType;
              private ByteArrayOutputStream baos;
              InputStreamDataSource(String name, String contentType,
                        InputStream inputStream) throws IOException {
                   int read;               
                   this.name = name;
                   this.contentType = contentType;
                   baos = new ByteArrayOutputStream();
                   byte[] buff = new byte[256];               
                   while ((read = inputStream.read(buff)) != -1) {
                        baos.write(buff, 0, read);
              public String getContentType() {
                   // TODO Auto-generated method stub
                   return contentType;
              public InputStream getInputStream() throws IOException {
                   // TODO Auto-generated method stub
                   return new ByteArrayInputStream(baos.toByteArray());
              public String getName() {
                   // TODO Auto-generated method stub
                   return name;
              public OutputStream getOutputStream() throws IOException {
                   // TODO Auto-generated method stub
                   throw new IOException("Cannot write to this read-only resource");
         }Code 3: mehod sendMail(InputStreamDataSource, host, from, to)
         protected void sendMail(InputStreamDataSource attach, String host,
                   String from, String to) {
              // create some properties and get the default Session
              Properties props = System.getProperties();
              props.put("mail.smtp.host", host);
              Session session = Session.getInstance(props, null);
              try {
                   // create a message
                   MimeMessage msg = new MimeMessage(session);
                   msg.setFrom(new InternetAddress(from));
                   InternetAddress[] address = { new InternetAddress(to) };
                   msg.setRecipients(Message.RecipientType.TO, address);
                   msg.setSubject("Assunto teste.");
                   // create and fill the first message part
                   MimeBodyPart bp1 = new MimeBodyPart();
                   bp1.setText("Texto teste.");
                   // create the second message part
                   m_xqLog.logInformation("[ContentType]:[attach] "
                             + attach.getContentType());
                   // attach the file to the message
                   MimeBodyPart bp2 = new MimeBodyPart();
                   bp2.setDataHandler(new DataHandler(attach));
                   bp2.setFileName(attach.getName());
                   // create the Multipart and add its parts to it
                   Multipart mp = new MimeMultipart();
                   mp.addBodyPart(bp1);
                   mp.addBodyPart(bp2);
                   // add the Multipart to the message
                   msg.setContent(mp);
                   // set the Date: header
                   msg.setSentDate(new Date());
                   // send the message
                   Transport.send(msg);
                   System.out.println("Email sent successfully!");
              } catch (MessagingException mex) {
                   mex.printStackTrace();
                   Exception ex = null;
                   if ((ex = mex.getNextException()) != null) {
                        ex.printStackTrace();
         }Thank you very much, forum and bshannon at your tips.
    Cheers,
    Paulo Sampei.

  • Word 2007 file not displaying from CHM file link

    Hello all!  I took the time to search around the forum before posting this, so I hope I didn't miss the answer somewhere.
    I'm using RH 8, working on a Policy and Procedure manual, resulting in a CHM file.  I've worked in earlier versions of RH with the same issues as everyone else (network deployment is a no-no, etc.), but this is the first time that I've had an issue with a linked-to Word file (linked as a "Link To File" link from within the project).
    When navigating through the CHM file on a local drive, and upon clicking on a link to a Word file, I get this warning dialog box:
    If you were to click "Open", you get a few-second delay (as if Word were opening), but then nothing happens.  The Word file does not open.  I believe the issue is with Office 2007.  I tested this exact same CHM file on a PC running an older version of Office, and the Word file opens without issue.
    Has anyone seen this type of behavior?  Is there a RH 8-based solution?
    Thanks for any help you can give!
    Bob

    Try Word Repair Toolbox, it's open source and may get your info back
    http://www.word.repairtoolbox.com/
    As free method to get your word documents back:
    Word may have automatically saved your file.When you start Word the next time, if any AutoRecover files were found, results will be displayed in the Document Recovery pane. Auto recovery option for word 2007 are below:
    1 Click the Microsoft Office Button, and then click Word Options.
    2 In the Navigation Pane, click Save.
    3 In the AutoRecover file location box, note the path, and then click Cancel.
    4 Close Word.
    5 Open the folder that you noted in step 3.
    6 Look for files whose names end in .asd (AutoRecover files).
    7 If you find the Word document that you are looking for, double-click it to open it.
    8 Save it immediately.

  • Nokia N8 - Sending large video files via email pro...

    Hello, When I try to send a pretty large video file via email on my N8 I get the following error "Memory low. Delete or move some data from C: Phone memory." However my videos are stored on my memory card which has plenty of space so I am confused and not sure what to do
    I hope someone can help me on this, any help is greatly appreciated.
    Thank You.

     My best guess would be that the N8 temporarily caches the video to C: memory when sending via Email and therefore the file size exceeds the available free memory on C:.
     I'm not sure the email server will allow the sending of files larger than a certain limit anyway, so you may be out of luck if you want to send any videos via email.
    Ray

  • Is there a download to read Word 2007 files on E50

    I need to read word files in pc suite. i can read versions up to 2003 but word 2007 is a big no no.
    Anyone know where I can find software to overcome this. thanks

    Your question isn't clear are you trying to view them on the phone or on the computer? PC Suite is a windows program, not on the phone, you can get a word 2007 viewer from microsoft.
    Quickoffice Premier 5 allows you to view and edit word 2007 docs on the phone.
    www.quickoffice.com
    I've not seen any free alternatives.

Maybe you are looking for