Handling attachments in XI

Hi All,
I am working on a scenario where in I recieve the Payload from a web service.The payload consists of 2 parts one is the xml document and the second is the attachment (image,PDF,..).When I monitor the messages in sxmb_moni I find 2 payloads as shown below.
Payloads
             attachment-1 ( image/jpeg )
              MainDocument ( text/xml;charset=utf-8 )
I have a file server on the reciever side and I want 2 files to be created on the target side i.e., one the xml file and the second the attachment.
Can anyone help me how can I handle the 2 payloads either in mapping or during configuration.
Is it possible to handle the attachments in mapping(XSLT or Java) and how?
Thanks in advance.
Vikram

Hi Vikram,
I believe you can achieve this requirement by using Java mapping and Multi-Mapping techniques.
1. Create 2 target Message Types a] Message type for Original payload (for Eg. MsgType1) b] Message type for Binary Attachment data (for Eg. MsgType2)
2. In Interface mapping include 2 target messages MsgType1 and MsgType2
3. Make MsgType1 occurrence as 1 and MsgType2 occurrence as 0 to Unbounded
4. Write a Java mapping to generate the Multi-Mapping payload with one Message for MsgType1 and 0 or more messages for MsgType2.
5. Java mapping program has to utilize Message interface functions getAttachmentIterator()
from com.sap.engine.interfaces.messaging.api.Message
and generate the Binary payload for MsgType2.
6. Configure one file adapter for main payload (MsgType2) and one more for Binary payload (MsgType2)
Hope this helps.
Regards,
Ananth

Similar Messages

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • I am looking to learn how jax-ws handle attachments, specially for a sample

    Hi
    Thank you for reading my post.
    Its some days that i try to create a pair of client and a web service that could handle attachments (I must use Jax-WS ) but i can not find any document that show how to create the service itself.
    All Sun tutorials and samples just show the clinet side and not the server side of the problem.
    can some one please help me about this?
    whether by giving some links, sample code or hint that tell me what should i do in service side.
    Thanks

    If you start with a WSDL do the following:
    * use the WS-I swaRef type in the XML schema,
    * use multiPartRelated in WSDL for input and/or output
    The wsdl2java tool (wsimport from Sun or wsdlc from Bea) than generates a class taking a DataHandler argument which wrappes your attachment.
    BTW, by far the easiest tool to start with is NetBeans with Enterprise Bundle. It has Wizard support for JavaEE5 Ears and deploys to SJSAS or Glassfish like a charme. With Bea the things IMHO are more complicated.

  • How does Siebel CRM Desktop handle attachments... clarifications?

    I am not able to read out of the the two sentences in the documentation (How Siebel CRM Desktop Handles Attachments) if attachments are synchronized to CRM Desktop, or if they are accessed upon request via a Windows File Share connection. Also, in case attachments are synchronized to the road warriors, it is not clear to me if they are stored within the OST file or separately, in the file system.
    Well, for the last question: as no separate file system is mentioned, I'd usually believe they are stored within the OST. However, I slightly doubt it, as that would inflate the OST file significantly - depending on the number and size of attachments.
    Does anybody know?

    Thanks Robert.
    Do you have any code sample?
    I can see that CL_CRM_DOCUMENTS->CREATE_WITH_TABLE takes binary input (parameter FILE_CONTENT_BINARY). And that's exactly what I have. I am, though, in doubt about the non-optional paramters LOIO and PHIO. Also, where do I tell the method which order I am attaching these files to? After running CRM_ORDER_MAINTAIN I will have the GUID that identifies the order, but i can't see where to put the GUID in the method above.
    Regards
    Lande

  • Handling attachments in XML in Biztalk

    Hi,
    I am having a scenario where a third party sends us a xml; that XML has an attachment,a zip file.I can see a node called attachment in the XML. the contents of the attached file(once decoded) conforms to a particular schema..
    I need to receive this XML, decode the zipped file.
    How to handle this in Biztalk?
    regards,
    MS

    mmm..Using custom pipeline component is obvious when you want to debatch the message from a zip because BizTalk doesn't have any unzipping/Zip component out-of-box. But what you’re looking
    for is how do you handle it when the actual zip is part of the received XML (in one of the nodes) as opposed to the received file itself is a zipped one.
    As said, you need some custom code (custom pipeline component) and use any Zip API to handle the compressed file(s).
    When one of the nodes (attachment-node)
    is going to contain the zipped content ( which has to be decoded to Base64 String)in your custom pipeline component, use
    XPathReader and XpathCollection to access the value of a specific node
     (attachment-node)
    from the received XML by passing the XPath for the attachment node. Using this, once you have the decoded the values, send this value to the any of the ZIP API which can decode
    and unzip it. If you follow the article before this talks about using an ZIP API to unzip and debtach the contents.
    UnzipDisassembler - A custom pipeline component
    Unzip Files in a Custom Pipeline Component
    Extracting BizTalk Messages Content using XPath in Custom Pipeline Components
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Handling attachments of the form

    Hello All
    I have a scenario where the pdf form has to be emailed to a particular person along with its attachments. I know how to get the pdf form from the process flow (I can use render pdf service).
    But how can you get the attachments associated with that pdf form ? so that along with the pdf i can attach the files which are attached to the form.
    Thanks
    Deepak

    Hello pgurett,
    Thanks for your valuable comments.  But still the functionality is not working.
    Let me explaing the steps i followed:
    1.  Created 2 process variables
         OtherAttachmentsList      - Type list - subtype Document
         OtherAttachmentsMap     - Type map - subtype Document
    2.  On the Assign task, under Attachments and Notes, I have set the output attachment variable to OtherAttachmentList
    3.  Before renderPDF, on the Setvalue control i have assigned OtherAttachmentsMap = OtherAttachmentsList.
         You have told to convert from list to map.  How i have to do?  I'm simply assigning as above.
    4.  On the RenderPDF form control, under attachments, i have set the variable as OtherAttachmentsMap
    Now the process is getting stalled at the RenderPDF form step and the exception it is giving is:
    java.lang.ClassCastException: java.lang.Integer
    at com.adobe.formServer.docservice.FormsDocService.appendAttachmentsToInputData(FormsDocServ ice.java:724)
    at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:108)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
    at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy164.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:80)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:553)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2863)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2392)
    at sun.reflect.GeneratedMethodAccessor935.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
    at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy196.asyncContinueBranchCommand(Unknown Source)
    at com.adobe.workflow.engine.ProcessCommandControllerBean.doOnMessage(ProcessCommandControll erBean.java:133)
    at com.adobe.workflow.engine.ProcessCommandControllerBean.onMessage(ProcessCommandController Bean.java:94)
    at sun.reflect.GeneratedMethodAccessor759.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j ava:475)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc eptor.java:101)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)
    at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerI nvoker.java:1379)
    at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
    at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904 )
    at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
    at org.jboss.mq.SpySession.run(SpySession.java:333)
    at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
    at java.lang.Thread.run(Thread.java:595)\
    What could be the problem?
    Thanks
    Deepak

  • IOS 7 has bug in handling attachments on S/MIME Encrypted Mail

    Since upgrading to iOS 7, my colleagues and I can open attachments on unencrypted e-mail messages just fine.  When reading an encrypted message, we can see the message body text but the attachment pulsates inexplicably.  I've included a screen-shot (moving GIF) and a brief writeup here...
    http://snnyc.com/2013/09/ios7-smime-fail/
    Robert Parks

    Steve -
    S/MIME is on, and I'm able to send, receive and read encrypted messages on my iPhone and iPad running iOS 7.  However, most encrypted messages that contain attachments - and particularly messages that were created using Microsoft Outlook - have an attachment icon that pulsates in an abnormal way.  When the pulsating occurs, I'm never able to open the attachment.
    I even tried wiping an iPad running iOS 7 and setting it up as if it were a new device, and received the same results.  I'm confident that this is a bug, but would like to hear from someome outside my circle of colleagues who can share their own experiences post-upgrade.
    Robert

  • How to stop attachments saving to hard drive when viewed?

    Hi
    Possibly a silly question with an obvious answer....
    I've very recently updated from iBook with OSX 10.2.x to OSX 10.4.7, which includes a newer version of Mail that seems to handle received attachments differently.
    In the past, when I opened an attachment within mail, I would open a temporary (read-only) file which I could choose to save the hard drive or simply close once I'd finished viewing it.
    With Mail 2.1, however, everytime I open the file simply to view it, a copy is saved to my downloads folder. If I close that file, the saved file remains within the downloads folder (i.e. it's not a temporary file), and if I open the file a second time, a second copy of the file is downloaded to my downloads folder.
    I much, much, much prefer the previous system, which didn't leave me with a cluttered downloads folder, and which didn't use up valuable hard drive space by keeping (multiple) copies of files that I have no use for. Is there an option to set up Mail to handle attachments the same way as the earlier version?
    I notice that there's an option (in Mail Preferences) to "remove unedited downloads" when "mail quits" (for example). Is that the only option I have to keep my harddrive free from unwanted attachments?

    Hello Rob.
    The following was copied from Tiger Mail Help which cannot be changed to the way Mail.app attachments were handled with Jaguar and Panther Mail.
    Files attached to (or enclosed in) an email message are stored as part of the message. Since attachments are part of the message itself, they are usually deleted when you delete the message. You can save separate copies of attachments by clicking the Save button in the message window.
    Mail also temporarily saves an attachment as a separate file on your computer when you open the attachment by clicking it in the message. The file is saved in the Mail downloads folder, located by default in the Library folder of your home folder.
    To change the location of the downloads folder:
    Choose Mail > Preferences and click General.
    Choose Other from the Downloads Folder pop-up menu and select a location.
    By default, documents remain in the downloads folder until you delete the message. To have Mail delete these documents when you quit Mail, or to not delete them, use the “Remove unedited downloads” pop-up menu in the General pane of Mail Preferences.
    Mail will not delete an attachment that you edited and saved.

  • Receiver file adapter - support for attachments

    Hi,
    Is it possible that the reciever file adapter can process a message with attachment and generate two files, one for the main payload and the other for the attachment?
    Thanks,
    Amol

    Amol,
    Only File Sender adapter is capable of handling attachments not the receiver.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
    Regards,
    Jai Shankar

  • Render Attachments in PDF files

    Hi,
    We have a user action in our process for which we want to allow users to add attachments to the form.
    We are then rendering the form as a PDF and e-mailing the form to a client. however we also want to e-mail any attachments that the user has added to the form.
    My question is, how can we get the attachments to render as attachments within the PDF document?
    Thanks
    James

    Hi James
    Strictly speaking, you can't. The Workflow system has its own mechanism for handling attachments - they are attached via Form Manager's custom "attachment" user interface, rather than being attached "inside" the PDF.
    You could get at these attachments, and attach them to your outbound email as regular attachments, rather than embedded within the PDF.
    If you have a strong requirement to embed the attachments inside the PDF, there may be something we could do. Please email info-at-avoka.com if you want to discuss further.
    Howard
    http://www.avoka.com

  • How to send email attachments in body not as file

    i use btyahoo but i can change this. Im trying to send marketing emails to clients from ipad, i have made my flyer in pages and want that to show up in my email body and not as a file to download. How can i do this?
    Thank u!

    Michael-
    Different mail programs handle attachments differently.  You might send a graphic image or a photograph as an attachment, and it will arrive as part of the message body.  In other words, your flyer might work as an attachment if it was created as a JPEG image or could be converted to one.  But some of your clients may not have the same mail program, so their flyer would arrive as an attachment that needed to be downloaded.
    To do what your initial question asked, you would probably need a different mail App that would allow HTML as Allan stated.  I don't know if such an App exists for the iPad.  This may be one of those cases where you are trying to use an iPad to do a computer's job!
    Fred

  • How to use File Adapter Receiver to write attachments

    Hi,
    i have a scenario, in which our own XInotes adapter sends an XIMessage from an IBM Lotus Notes database into XI. This XIMessage contains an XML document as application main document and several PDF files as additional attachments 
    On the receiver side, i must use a File Adapter to write both the XML documents and the PDF attachments into a directory.
    The problem is i don't know how to use the file adapter receiver to write the attachments. In the Channel Monitoring, i can see that all PDF files are transferred to the file receiver. But the file adapter writes only the XML document into the directory.
    I've also tried the AF_Modules/PayloadSwapBean, but it can only swap one PDF file into the application payload. And the file name must be hard coded in the module configuration as swap.KeyName.
    Could anyone give me any ideas?
    thanks a lot in advance
    Xiang

    hi,
    receiver file adapters do not supprt attachments.
    Only File Sender adapter is capable of handling attachments not the receiver.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/a20c4cfea96b498b1e1af3f32f0670/frameset.htm
    Configuring the sender FILE adapter
    The sender file adapter is configured to pick the normal payload (file1.xml), which is specified in the File
    access parameters, and the additional image file (file1.jpg) that is to be sent as an attachment is configured
    under the Additional File(s) as shown in the screenshot below. The file type would still remain binary.
    Since, by default, XI sends payload and attachments in XML format, we need to call two beans, namely the
    MessageTransformBean and the PayloadSwapBean to help us is transforming the content to jpeg format
    and also change the file extension.
    The PayloadSwapBean module is used to replace the application payload of the XI message that holds the
    data with another payload which is appended to the message as an attachment. In our case, the payload
    would be file1.xml whereas the attachment would be file1.jpg
    The swap module is denoted in our scenario with the module key ‘swap’. It has two parameters from the
    MIME header.
    regards,
    pradeep.

  • Do not want to display mail attachments in the email body

    When I want to add word processing attachments, usually with .doc extension, the whole of the text is displayed in the body of the email.  I do not want this, I just want to show the name of the file such as MyLetter.doc or AnotherRamble.doc etc. 
    I use the doc extension because those on one of the other operating systems may not be able to read .pages extensions. 
    I may from time to time send files with the .xls extensions and more recently I have just sent 20 x A4 pages of scanned documents which have .jpg extensions, every one of these .jpg attachments is displayed in full in the body of the email, it makes them difficult to read and hard to print.  The original plan was to send 20 x .jpg, the recipient would print them out.  There is some complex data in these documents and honestly hard copies are essential at the other end.

    Control click or Right Click on the attachment in the body of the email and select 'View as icon'.
    There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
    (Usual caveat, I've no connection with Lokiware, just happy with their product).

  • Index attachments in MSG files

    I am trying to use Oracle Text to index and search msg files with attachments. For testing purposes, I have set up a table called TEST_DOCUMENTS. The table has two columns - a blob column containing the data to be indexed and a varchar2 column describing the data as follows:
    Description - Test 1 - simple email no attachments
    Blob - Outlook MSG file.
    Description - Test 2 - an email including a PDF attachment
    Blob - Outlook MSG file.
    Description – Test 3 - an email including a Word attachment
    Blob - Outlook MSG file.
    Description – Test 4- a PDF document
    Blob – Adobe PDF file.
    Description – Test 5 - a Word document
    Blob – Ms Word Doc file.
    When I index the above using the following:
    CREATE INDEX TEST_DOCUMENTS_IDX ON TEST_DOCUMENTS
    (DATA_BLOB )
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('filter ctxsys.auto_filter');
    And search using
    Select description
    from test_documents
    where contains(data_blob,:’search string here’) > 0;
    The email attachments are not included in the search, i.e., I can search the content of the emails but not the attachments. Note: Test 4 and Test 5 are the same as the attachments linked to Test 2 and Test 3. These are returned when the appropriate string is entered!
    If I drop the index and create it as:
    CREATE INDEX TEST_DOCUMENTS_IDX ON TEST_DOCUMENTS
    (DATA_BLOB )
    INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('filter ctxsys.mail_filter');
    I can search the email with the word attachment but not the body of the email. Test 2 with PDF attachment is not indexed. Test 4 and Test 5 as expected are not indexed as they are not email documents.
    On checking the drmailfl.txt file I can see that the default behavior is as follows:
    [behavior]
    text          INCLUDE
    application     IGNORE
    application/msword AUTO_FILTER
    image          IGNORE
    audio          IGNORE
    video          IGNORE
    model          IGNORE
    i.e., only process word attachments. However, if I add application/pdf to the file it makes no difference. The PDF attachment is not indexed.[ Note: each time I make a change I drop and recreate the index..] I even tried setting the behavior to ignore for everything! You would expect it to not index anything but it still indexed the word attachment! I tried shutting down the database and restarting it to see if it made any difference.
    The documentation for Oracle 11g does imply that the ‘AUTO_FILTER’ should index the attachments, but I cannot get it to do it. Has anybody successfully indexed emails with PDF or Word attachments using either ‘AUTO_FILTER’ or ‘MAIL_FILTER’?

    Hi James
    Strictly speaking, you can't. The Workflow system has its own mechanism for handling attachments - they are attached via Form Manager's custom "attachment" user interface, rather than being attached "inside" the PDF.
    You could get at these attachments, and attach them to your outbound email as regular attachments, rather than embedded within the PDF.
    If you have a strong requirement to embed the attachments inside the PDF, there may be something we could do. Please email info-at-avoka.com if you want to discuss further.
    Howard
    http://www.avoka.com

  • E90 - attachments in Gmail

    Hi all,
    I have a problem with working on Gmail. When I try to download attachment I'm not able to do so. Also, when I click on "View" option to see attached image, browser opens new window but it doesn't display the image.
    9500 didn't have this problem.
    Any suggestion??

    @mai0805
    yes you can do this with pdf, since pdf is recognazable file type by e90.
    BUT, if you have some other type of file, for instance Autocad drawing, RAR file or something similar, forget about it.
    I was in situation where I needed such funcionality. I guess it's rare but it can happen.
    Add this to the long list vmoisa: on 9500 it was normally possible to handle attachments of any kind in a computer manner (from e-mail client or web browser), download and choose the location to save. On E90 it is not.
    I can't say I don't like my E90, but I really miss S80 also. Nokia, you have made a bad decision dropping it!
    Message Edited by sugarsmoking on 13-Feb-2008 08:45 AM
    Message Edited by sugarsmoking on 13-Feb-2008 08:47 AM

Maybe you are looking for