How to create an identical local copy of a mail without attachments?

Hi,
I would like to save a copy of an IMAP-Message to my db without the attachments.
As I cannot modify the original message, I tried to create a new MimeMessage with the constructor MimeMessage(MimeMessage source) and then remove the attachments - this works fine so far, but using this constructor only the body seems to get copied without subject, recipients or from-address.
Can anybody give me a hint how to create an identical local copy of a Message-Object? I would rather like to do this without installing any local third party providers.
Regards
Karsten

Sorry, found the problem - I did some things with the InputStream before I should not have - now the message gets saved without attachments and can be reopened.

Similar Messages

  • How to create data transfer and copying requirements

    Hi Gurus,
    Can you tell me how to create data transfer and copying requirements in copying control for SD?
    Thanks,
    pAUL

    Hi John,
    Go to Transaction code - VOFM.
    In the menu select Data Transfer and select where you want maintain the copying requirements i.e. at the order level, delivery level etc.
    Here, you can either create a new routine or change the existing routine according to your requirement.
    Make sure you activate the routine (click on Edit - Activate from menu) once you are done with the routine.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • How to create user in local datasource when UME is already switched to LDAP

    HI,
    Info : I have portal ( NW 700),  recently i switched the datasource of portal to LDAP from local datasource.
    issue: if i create user in portal it get created in LDAP, i want create few users in Local datasource.
    how to create user in local datasource when UME is already switched to LDAP?
    one solution is change the ume back to local datasource > create user > then switch back to LDAP.
    do you know any other sol?
    Regards
    Shridhar Gowda

    Please let me know the Datasource file name .. i.e. the .xml filename.
    try to analyze this name and see whether you get a solution or post it here.
    Reward points if helpful -

  • How to create a folder for a specific e-mail account?

    How to create a folder for a specific e-mail account?
    I'm using a POP e-mail account and I would like to create folders / sub-folders... how can I do this?

    You can right click on your Desktop and select New Folder.  In Finder File > New Folder should work too, not in front of my Mac.
    Welcome to back by the way.  You might find these websites helpful.
    Switch 101
    Mac 101

  • How can I attach a pdf file to outgoing mail without it opening up within the message?

    How can I attach a pdf file to outgoing mail without in opening up within the message?

    You can use the Share button on Preview's toolbar. Choosing Email pops open Mail with the PDF already iconified as an attachment. If it doesn't behave this nicely for you, select the PDF in Mail and choose the right contextual menu, where you will find View as Icon. I also have Send Windows-Friendly attachments enabled.

  • How can i get notification of new emails in Mail without having the application open?

    How can i get notification of new emails in Mail without having the application open?

    Leave Mail running, but close its window (click red dot or ⌘W).
    Right-click the Mail icon and use "Options" to enable "Open at Login".  In the "Login Items" tab of "Users & Groups" system preference, check the "Hide" box next to Mail so it doesn't open a window when starting.

  • How to createa CRM complaint as copy to ECC Billing document. is it

    Hi Experts,
    I have an issue. I want to create a complaint but I don't have a CRM billing. The billing is done only in ECC>
    However, I need to create a CRM complaint with reference to ECC billing. I want to copy the billing data to complaint.
    How to create a CRM complaint as a copy to ECC Billing document. is it possible?
    Does the badi: CRM_COPY_BADI_EXTERN, copy the ECC billing to CRM complaint ?
    Regards,
    ahm

    Hi,
    May I know as to where have you found that note 1433238. Could you please give me the navigation path please.
    Rgds,
    Phani KV

  • How to create JavaBeanModel in Local DC of type WebDynPro

    Hi All,
    I am trying for create  JavaBeanModel with LocalDC. I have 2/3 Java class files binded in Jar file. I want use those jar file classes in JavaBeanModel.How to create JavaBean Model in LocalDC with Jar file not with Single Java class.
    Thanks in advance
    Thx & Rgds
    AW

    Hi Adam,
    The option to import java files through jar files in a local WD project is through the option "Local Jar Files". However for local WD DC project, the option is not available and you must have these jars contained in another Dc project and expose them in the form of public parts jars. Then you must define a dependency of the WD DC to the DC containing the jar file.
    Best Rgds,
    Nidhi
    Message was edited by:
            Nidhi Rajshree

  • How to create Vendors for local scenario

    Hi,
    Please let me know how to create vendors for locla scenarion in EBP.
    Thanks,
    Manu

    Hi,
    Goto the path as mentioned by Muthu and create the business partner of type vendor.Make sure that you have the administrator role(SAP_BBP_STAL_ADMINISTRATOR).
    Also see these related threadS:
    Vendors in Standalone scenario
    Standalone scenario - create vendors
    BR,
    Disha.

  • Automatically Save Local Copy of Sent Mail (IMAP)

    Hello - I use an IMAP account (several, actually) but want to save a local copy of all messages (incoming & sent). Mail seems to do this easily for incoming mail but not at all for sent mail, which seems odd and makes me think I'm just missing something. Am I?
    To be clear, the IMAP sent mailbox and its corresponding folder in Mail work fine (I know how to set up "use this mailbox for..."): what I want to do is duplicate the contents of that mailbox on my mac automatically (i.e. don't want to continually have to copy messages and remember what's copied and what's not etc.).
    Also what's up with not being able to apply rules to mailboxes? Is that fixed in 10.6 version? Thanks in advance!

    Thanks Mike - I find the bcc option kind of inelegant and overly elaborate for what should be fairly simple, but in the absence of anything else I guess it's worth a try. On the "rules don't work" front what I meant was that there is no apparent option to apply rules to mailboxes: this issue would be solved if I could say "if mailbox is sent/imap, copy message to sent/on my mac" but the available conditions in rules don't include mailboxes. You know of anything I can do about that? I'd love it if I could get this worked out without having to create 2 copies of every sent message just to save one...

  • How to keep same file name in File to Mail-Without Ripository Object??

    Hello Experts,
    I have a requirement where I need to pick a file and need to send that as an attachment by mail adapter through PI.
    I can send the file as attachment but the file name is being changed.
    For example,the source file with name "Vendor_2011_11_06" is being transfered but when I am checking the mail box,the file is coming as attachment but the name has been changed to "Untitled.bin".I want the same file name as it was in source SFTP server.
    Do any one have any idea that how can we set the file name at receiver mail adapter?
    **Note:I have not created any repository objects,simply configured the ID object with dummy Service Interface name.So no mapping exist.

    Hi,
      For example,the source file with name "Vendor_2011_11_06" is being transfered but when I am checking the mail box,the file is coming as attachment but the name has been changed to "Untitled.bin".I want the same file name as it was in source SFTP server.
        by using MessageTransformBean you can acheive this.
    Transform.ContentDisposition------  attachment or inline  For example, attachment;filename=u201Dabc.txtu201D
    Transform.ContentDescription------- Description
    Transform.ContentType------Specifies the payload type, for example, text/plain
    refer this blog
    http://wiki.sdn.sap.com/wiki/display/XI/DynamicEmailAttachmentnameforReceivedMails  
    i hope this will help you.
    regards,
    ganesh.

  • How to create batch operation to copy images x times per canvas

    hello all,
    i am a new PS4 user and self taught.
    i have about ~65 images that i need to copy 1, 3, 6, 12 times per canvas, then trim and format for web use.  is there a batch script that does this (that i could change qty.)? actually trim & web format i could do in another operation later.  i think i am using 'copy' as the correct term for this function.
    thanks,
    William

    great.  can you instruct me on how to use the script?  i must have done
    something wrong.  the other member mentioned exactly what error i was
    getting.  did you see that reply?
    how good i approach this? use my jpegs or covert to PS files? i have ~300
    photos to batch so any step really needs to be scripted/batcched right?
    could you develop the script/batch op to input all photos in an folder,
    trim/knockout (white is even enough to trim), make arrays (1,3,6,12) and
    convert to file type best for web use (not art related just photos of cans
    of spray for my new eStore) and save the common files into a new folder (one
    folder for each set of 4 photos)?
    i could send you all the photos or just a few to test.  i can ftp (upload)
    to my host server or what ever you like best.
    sincere thanks.  i will glaldy do what i can to help you out for your help.
    thanks,
    William
    On Sat, Sep 5, 2009 at 9:52 AM, christoph pfaffenbichler

  • How do you keep a local copy of a song only

    I am enrolled in iTunes Match.
    I have some local audio in iTunes - from music workshops - that should not be loaded to the cloud.
    But I want to keep my local version.
    How can I mark it so Match won't upload it to the cloud.
    Regards..
    Leo Marland

    Turn off iTunes Match and change the Media Kind to Audiobook or Podcast. But if the tracks are encoded at 96 Kbps or less they will be ineligible for iTM anyway.

  • How to create a custom panel in the right way (without having an empty panel in the file info) ?

    Hi Everyone
    My name is Daté.
    I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.
    I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.
    Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.
    When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.
    The main idea is to (Theory) :
    create custom panels used by fashion designers to classify their design files.
    Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
    Find someone to make a script able to export metadata in xml files
    Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values
    I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.
    But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!
    Here is the process :
    I have installed flashbuilder 4.6
    I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins
    In Flashbuilder, i have created a new project and select xmp Custom panel
    The new project is created in flashbuilder with a field with A BASIC Description Field
    To generate the panel, right click the project folder and select xmp / Publish Custom Panel
    The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels
      Go to illustrator, Open the file Info
    The panel appears empty
    The others panel are also empty
    The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.
    When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.
    I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.
    I try to follow the process described in Adobe xmp documentation many times, but it didn't works.
    It seems that many peaople have this issue, but i dodn't find a solution in the forum.
    I try to create a trust file (cfg), but it didn't work.
    It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.
    Thanks a lot for your help,
    Best regards,
    Daté 

    Hi Sunil,
    After many trial, i realize the problem was not coming from the trust file, but from the way i have created the custom panel.
    There is 2 different ways, the first described below is not working whereas the second is fine :
    METHOD 1 :
    I have downloaded the XMP-Fileinfo-SDK-CS6
    In the XMP-Fileinfo-SDK-CS6 folder, i copied the com.adobe.xmp.sdk.fileinfo_fb4x_1.2.0.jar plugin from the Tools folder and i pasted it in the plugind folder of Flashbuilder 4.6
    The plugin install an XMP project
    In Flashbuilder 4.6 i have created a new project (File / New /Project /XMP/XMP Custom Panel)
    A new xmp project is created in flashbuilder.
    You can publish this project by right clicking the root folder and selecting XMP / Publish Custom Panel
    The custom file info panel is automatically published in the right location which is on Mac : /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/3.0 or /Users/UserName/Library/Application Support/Adobe/XMP/Custom File Info Panels/4.0
    Despite the publication of the custom file info panel and the creation of a trust file in the following location : "/Library/Application Support/Macromedia/FlashPlayerTrust", the panel is blank in Illustrator.
    I try this way several times, with no good results.
    METHOD 2 :
    I have installed Adobe CSExtensionBuilder 2.1 in Flash Builder
    In FlashBuilder i have created a new project (File / New /Project /Adobe Creative Suite Extension Builder/XMP Fileinfo Panel Project)
    As the system display a warning about the version of the sdk to use to create correctly a custom file info, I changed the sdk to sdk3.5A
    The warning message is : "XMP FileInfo Panel Projects must be built with Flex 3.3, 3.4 or 3.5 SDK. Building with Flex 4.6.0 SDK may result in runtime errors"
    When i publish this File info panel project (right click the root folder and select Run as / Adobe illustrator), the panel is published correctly.
    The last step is to create the trust file to display the fields in the panel and everything is working fine in Illustrator.
    The second method seems to be the right way.
    For sure something is missing in the first method, and i don't understand the difference between the XMP Custom Panel Project and the XMP Fileinfo Panel Project. Maybe you can explain it to me.
    So what is the best solution ? the right sdk to use acording to the creative suite (the system asks to use 3.3 or 3.5 sdk for custom panels, so why ?)
    I'm agree with Pedro, a step by step tutorial about this will help a lot of peaople, because it's not so easy to understand!!!
    Sunil, as you belong to the staff team, can you tell me if there is  :
    A plugin or a software capable to extract the XMP from llustrator files to generate XML workflows in Indesign to create catalogues
    A plugin to allow indesign to get custom XMP in live caption
    A plugin to allow Bridge to get custom XMP in the Outputmode to make pdf or web galeries from a smart collection
    How can you print the XMP data with the thumbnail of the file ?
    Thanks a lot for your reply.
    Best Regards
    Daté

  • Dm cs3: How to create a proper layout for the E-mail sent to me by the submit-button

    Hi everyone,
    I created a form by dreamweavercs3. By the submit-button an
    e-mail is sent to the right E-Mail-Address. Everything ok.
    But the result looks very poor. Like :
    "name=xyc,adress=xtown".... and so one. Difficult to read and
    uncomfortable for further use.
    How I can get a better lay-out of this e-mail. Is it possible
    to create with that data f.e an excel-file. Or an jpg-sheet.
    Any ideas?
    And PLEASE! I am a greenhorm in the dreamweaver-world. If you
    like me to answer, do it in a way I can understand. (;-))
    Klaus

    Please find the form tag on the page, copy it to the
    clipboard, and paste it
    into a reply....
    <form name="..." method="..."....
    (that's an example of the tag - please copy everything from
    "<" through to
    ">")
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Dr.Scholl" <[email protected]> wrote in
    message
    news:faeecd$dav$[email protected]..
    > Hi everyone,
    > I created a form by dreamweavercs3. By the submit-button
    an e-mail is sent
    > to
    > the right E-Mail-Address. Everything ok.
    > But the result looks very poor. Like :
    "name=xyc,adress=xtown".... and so
    > one.
    > Difficult to read and uncomfortable for further use.
    > How I can get a better lay-out of this e-mail. Is it
    possible to create
    > with
    > that data f.e an excel-file. Or an jpg-sheet.
    > Any ideas?
    > And PLEASE! I am a greenhorm in the dreamweaver-world.
    If you like me to
    > answer, do it in a way I can understand. (;-))
    > Klaus
    >

Maybe you are looking for