How to create new rules and using 'From' condition ?

All,
I know, rules are a quota max as 256 ko.
So, my problem is to move all mail from external writer of my directory.
I want to create a folder Inbox\external where all mail have to be move on except internal mail.
So I looked at :
[-From <RecipientIdParameter[]>] ; [-FromAddressContainsWords <MultiValuedProperty>] and [-ExceptIfFrom <RecipientIdParameter[]>]  but, because of quota limitation, I could add all internal exchange recipients.
Any idea ?
Thanks

Hi,
If you would like to move the emails from external senders to a specific folder using Inbox rule.
I’d recommend you create a  Dynamic Distribution Group and name it as
internalrecipients. Then set it as All recipients in the filter tab. Now it is a group which contains all users and contacts in your organization.
Next, set the Inbox rule in your client as below:
Click on the Inbox folder and  new a Rule.
Apply the rules on messages I receive.
Send only to me.
Move to the specified folder (new a folder named external).
Except if from people or public group (internalrecipients).
Run the rule now on message already in “Inbox”
Finish.
See if it works as you expected.
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • How to create new XML file using retreived XML content by using SAX API?

    hi all,
    * How to create new XML file using retreived XML content by using SAX ?
    * I have tried my level best, but output is coming invalid format, my code is follows,
    XMLFileParser.java class :-
    import java.io.StringReader;
    import java.io.StringWriter;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.TransformerHandler;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.XMLFilterImpl;
    public class PdfParser extends XMLFilterImpl {
        private TransformerHandler handler;
        Document meta_data;
        private StringWriter meta_data_text = new StringWriter();
        public void startDocument() throws SAXException {
        void startValidation() throws SAXException {
            StreamResult streamResult = new StreamResult(meta_data_text);
            SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try
                handler = factory.newTransformerHandler();
                Transformer transformer = handler.getTransformer();
                transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                handler.setResult(streamResult);
                handler.startDocument();
            catch (TransformerConfigurationException tce)
                System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
            super.startDocument();
        public void startElement(String namespaceURI, String localName,
                String qualifiedName, Attributes atts) throws SAXException {
            handler.startElement(namespaceURI, localName, qualifiedName, atts);
            super.startElement(namespaceURI, localName, qualifiedName, atts);
        public void characters(char[] text, int start, int length)
                throws SAXException {
            handler.characters(text, start, length);
            super.characters(text, start, length);
        public void endElement(String namespaceURI, String localName,
                String qualifiedName) throws SAXException {
            super.endElement("", localName, qualifiedName);
            handler.endElement("", localName, qualifiedName);
        public void endDocument() throws SAXException {
        void endValidation() throws SAXException {
            handler.endDocument();
            try {
                TransformerFactory transfactory = TransformerFactory.newInstance();
                Transformer trans = transfactory.newTransformer();
                SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
                DOMResult dom_result = new DOMResult();
                trans.transform(sax_source, dom_result);
                meta_data = (Document) dom_result.getNode();
                System.out.println(meta_data_text);
            catch (TransformerConfigurationException tce) {
                System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
            catch (TransformerException te) {
                System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
    } CreateXMLFile.java class :-
    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();
    Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
    class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
    * In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
    is not an XML type text, it just an Normal text Why that ?
    * Please help me what is the problem in my code?
    Cheers,
    JavaImran

    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    </code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
    <code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();     
    * I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
    * I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
    Thanks,
    JavaImran{code}

  • How to create RFQ s and use them to complete the program

    hi,
    how to create RFQ s and use them to complete the program
    thanks in advance

    Hi Santosh,
    RFQ is created through transaction ME41.
    You need to write down BDC for mass update of RFQ, because BAPI is not available.
    Regards,
    Tutun

  • How to create new rules for agent assignment

    Hi all,
    I have a situation in which the esclation has to occur to the second line manager . is there any rule avail. for agent assignemnt and if not how I can creaet a new rule
    Thanks in advance..

    Hi,
    One way is you can call SWX_GET_MANAGER function module twice for getting your manager's manger.
    For creating new rule, you can copy any std rule and themn modify the copied rule using txn PFAC. e.g check out rule - 00000168, which uses above mentioned FM - SWX_GET_MANAGER .
    Hope this helps.
    Regds,
    Akshay

  • How to create new user and How can i assign end user roles

    Hi,
    I am new to SAP, please explain how to create end users and their roles
    Thanks
    ravi

    Hi,
    Roles are decided by IT managers. Suppose if Persons who are working in shopfloor or production side
    give authorization to Production order create , change and Confirm like that etc
    1. In role maintenance (transaction PFCG), choose the Authorizations tab page.
    2. To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation. Otherwise, a dialog box appears in expert mode (see Regenerating an Authorization Profile After Changes).
    Please take telp from Basis person also refer this link,
    http://help.sap.com/saphelp_46c/helpdata/EN/52/6714a9439b11d1896f0000e8322d00/frameset.htm
    Thanks

  • How to create new country and cities under country?

    hello,
    i am using 11.5.5 apps version,
    want to create new country and cities under that country, please tell me what is the procedure for that.
    i am using demo vis:
    operations as user.
    Thanks
    yash

    Hi,
    Please check below notes which could be helpful for your issue
    How to Add a New Legal Entity, Ledger and Operating Unit for a New Country [ID 1064366.1]
    How To Create New Countries In The Regions And Zones Form [ID 739798.1]
    How To Enter New Countries or Territories Into The FND_TERRITORIES Table? [ID 341032.1]
    How To Add New Legal Entity Registration Code For Countries That Are Not Available In The List? [ID 604280.1]
    Regard
    Helios

  • How to create windows users and groups from Java

    Hi,
    Can any one please tell me, which Package/API will helps to create windows users and groups from Java.
    Thanks,
    M.Prem.

    You can't do it with pure Java, and it's not in the core API. You'd have to write a native function to do it, using whatever API Windows provides, and then call it with JNI. Or look for a third party native-based Java library that already does that.

  • How to create new field while upgrading from CRM 4.0 to 7.0

    Hi ,
    How do we create new field on UI and store data into existing field in database?
    Is there any option in AET to skip the creation of new field in the database table ?
    Custom field is already created in GUI and database table while using CRM 4.0
    Now, after upgrading to 7.0 EHP3 , I need to bring this field on the UI .
    Using AET may create new field again in the database table.Please suggest.
    New filed needed to be created in Marketing Campaign Element Header data.
    Thanks
    Jayasri

    Hi Jayasri,
    As a custom fields are already there in crm 4.0. You don't need to use AET again to add field.
    These enhancements still exist after the upgrade. Dependent on the enhancement object and type some manual steps are necessary.
    For example regarding a single field enhancement for the BP the whole framework is enhanced after the upgrade. There is only one manual step to bring the field on the relevant view(s) via the UI Configuration Tool. For whole BP tables some more manual steps are necessary, these steps are described in the note 1069791 - CRM WebClient UI for EEW enhancements (reference to more notes regarding the EEW after the upgrade).
    For set types, we need to generate UI With the help of the UI configuration tool the settypes could become visible in the Web UI.
    I didn't understood your scenario, can add little more information why you want to add field by AET if available in DB?
    Refer
    FAQ - SAP CRM Upgrade from release 4.0 to 7.0 
    Regards,
    Arjun

  • Question: How to create new user and schema in 11g?

    Who can give me answer how to create a new user and schedule?
    I had installed oracle 11g DB and oracle client in my windows OS. I found in the 11g there is no enterprise manager console with new version. It is different from with oracle 10g.So i don't know how to create it new user.
    I had created new DB instance, but i don't how to create a user on that. Who can give me a hand for that? I hope one oracle experenice expert give my answers.
    Thanks a lot!
    Edited by: user774630 on Oct 27, 2008 10:01 PM
    Edited by: user774630 on Oct 27, 2008 10:09 PM

    Hi,
    I am not sure that which option you are talking about? Are you using the EMCA,http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#SUTIL800] to create the new repository for the EM? If not the command line than the other only way is to use DBCA(Database Configuration Assistant).I believe you are talking about that. Yes ,if the message is coming creating the repository than after wards you can login to the EM. You would get the port no of the EM's HTTP port from the $OH/install/portlist.ini file.
    HTH
    Aman....
    Edited by: Aman.... on Oct 28, 2008 11:36 AM
    Gave up, link insertion doesn't work.

  • SAX: How to create new XML file using SAX parser

    Hi,
    Please anybody help me to create a XML file using the Packages in the 5.0 pack of java. I have successfully created it reading the tag names and values from database using DOM but can i do this using SAX.
    I am successful to read XML using SAX, now i want to create new XML file for some tags and its values using SAX.
    How can i do this ?
    Sachin Kulkarni

    SAX is a parser, not a generator.Well,
    you can use it to create an XML file too. And it will take care of proper encoding, thus being much superior to a normal textwriter:
    See the following code snippet (out is a OutputStream):
    PrintWriter pw = new PrintWriter(out);
          StreamResult streamResult = new StreamResult(pw);
          SAXTransformerFactory tf = (SAXTransformerFactory) TransformerFactory.newInstance();
          //      SAX2.0 ContentHandler.
          TransformerHandler hd = tf.newTransformerHandler();
          Transformer serializer = hd.getTransformer();
          serializer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");//
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"pdfBookmarks.xsd");
          serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"http://schema.inplus.de/pdf/1.0");
          serializer.setOutputProperty(OutputKeys.METHOD,"xml");
          serializer.setOutputProperty(OutputKeys.INDENT, "yes");
          hd.setResult(streamResult);
          hd.startDocument();
          //Get a processing instruction
          hd.processingInstruction("xml-stylesheet","type=\"text/xsl\" href=\"mystyle.xsl\"");
          AttributesImpl atts = new AttributesImpl();
          atts.addAttribute("", "", "someattribute", "CDATA", "test");
          atts.addAttribute("", "", "moreattributes", "CDATA", "test2");
           hd.startElement("", "", "MyTag", atts);
    String curTitle = "Something inside a tag";
              hd.characters(curTitle.toCharArray(), 0, curTitle.length());
        hd.endElement("", "", "MyTag");
          hd.endDocument();
    You are responsible for proper nesting. SAX takes care of encoding.
    Hth
    ;-) stw

  • How to create stored procedures and use those in Crystal reports

    Hi All,
    Can anyone explain me how to create a stored procedure and use that stored procedure in Crystal reports. As I have few doubts in this process, It would be great if you can explain me with a small stored proc example.
    Thanks in advance.

    Hello,
    There is a document explainining how to use Oracle stored proc with Crystal reports.
    Check at:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1084c536-711e-2b10-e48a-924a60745253
    It is for older version but it should work and you can refer to it to get general idea how to start with it. It has a sample oracle stored proc and how to connect it from Crystal Reports.

  • How to Create New Maintenance Order using IP30 against the deleted one

    Dear Sir,
    We have an equipment having Monthly Maintenance Schedule . Using IP30 , we had generated Maintenance Order for next 3 months (i.e Jan / Feb / March ) .  Due to some change in the Task List , We decided to Delete these earlier generated Maintenance Orders and then generate the fresh Orders usiing IP30 . To set Delete Indicator , we used Tcode IP02 and these Orders were marked with Delete Indicator .
    Subsequently using IP30 , we tried  to generate fresh Maintenance Orders ( for month Jan / Feb / March ) for this Maintenace Plan.  But no fresh Orders are getting generated .  On Analysing it further , we find that for this Maintenance Plan ( Tcode IP02) under the tab <Maintenance plan Schedule Call > , against the Jan / feb / March months  Sceduling Type/Status is appearing as "Schedule Completed" .
    Kindly guide us as how can we generate the fresh Orders .
    With Thanks and Rgds
    Sonia

    Hi
    I would suggest two option for this query:
    Option1: You can use the existing (deletion flaged) orders, by deleting all the operation  in the created PM order and in order, goto Extras - select the Task list which you have done changes. In this option your exsisting plan is not distrubed.
    Option2: If any way you want new PM orders, then Goto schedule of the plan & restart, system will ask wheather to delet/ skip the existing schedule.
    Hope this options will help you to take decision.
    Regards
    S Ramanujam
    Edited by: Ramanujam Srinivasan on Dec 29, 2009 8:13 AM
    Edited by: Ramanujam Srinivasan on Dec 29, 2009 8:15 AM

  • How to create new file and popup a Save As Dialog?

    I want to create a new file and then popup a Save As Dialog to save the new created file.
    I have tried to use the JFileChooser as the following code:
    =============================================
    JFileChooser jfc = new JFileChooser();
    File f = new File("c:\\text.txt");
    jfc.setSelectedFile(f);
    int returnVal = jfc.showSaveDialog(this);
    if(returnVal == JFileChooser.APPROVE_OPTION) {
    f = jfc.getSelectedFile();
    =============================================
    I can't found the created file execute the program, anyone can tell me whats going wrong of my code or give me some advice?
    Thanks a lot.

    Actally, I want to generate a file and specific the
    name and the location to save it.
    And solution to do this if don't use the JFileChooser?Use a JFileChooser to choose a file name (you can select the directory and type the filename into a field). Once you have the file name you can open a FileOuputStream or FileWriter and write to the file you have just defined. If this file does not exist then it will be created.
    If you want to confirm before overwriting an existing file then just put up a confirm dialog if the file exists (File.exists()).

  • How to Create New Hierarchy and Group Codes

    Hi,
    I have a requirement for create New Hierarchy Code and Group Codes...
    Please let me know the procedure of it..
    Thanks...

    solved

  • SPECS FOR NEW MBP HARD DRIVE AND HOW TO INSTALL NEW OS AND USE TIME MACHINE

    I need to replace the hard drive in my early-2006 1.83 MacBook Pro (15-inch), because the Genius at the Apple Store told me that I'm getting weird behavior on it due to the drive slowing down and that it won't last much longer.
    I have 2 questions:
    First, I want to order the drive online and have it installed locally. I will probably get a 320 to 500GB drive. What are the exact other specs I will need to find the right one?
    Second, I am currently running 10.5.8 and backing up with Time Machine. I would like to install 10. 6 on the new drive, but don't know how to go about using the Time Machine backup to get all my apps and files running. Can someone describe this procedure for me?
    Many thanks!

    Hi Annie,
    You need a 2.5" 9.5mm high SATA HD, either 5400 or 7200RPM. Check out macsales, newegg, amazon to name a few places.
    How to restore from a TM backup: http://support.apple.com/kb/ht1427
    Prepare your HD by formatting and partitioning it:
    1. Boot from install disc (press power button, immediately insert install disc and hold down c key).
    2. Select your language.
    3. Open Disk Utility from Utilities menu.
    4. Select the HD in the left pane (the manufacturer’s name and the HD model number).
    5. Click on the Erase tab.
    6. Choose the Format: Mac OS Extended (Journaled).
    NOTE: if you want to zero the HD (which I always think is a good idea, but does take time), click on Security Options, click the button for Zero Out Data, click OK. The larger the HD, the longer this will take, in some cases several hours.
    7. Click on Erase and wait for the entire process to finish.
    8. Click the Partition tab.
    9. Click on Volume Scheme: and choose the number of partitions (normally just one unless you have other plans).
    10. Click on the Options button (located underneath the Volume Scheme pane) and select GUID.
    11. Click Apply.
    12. Quit Disk Utility and continue with the installation process to install OSX or run Restore from a TM backup; when finished, repair permissions, run updates, repair permissions.
    Message was edited by: tjk

Maybe you are looking for

  • Problem with sound in Amarok

    Hi guys, I'm having problem with Amarok 2. When I start it the notification says "The audio playback device HDA Intel (CONEXANT Analog) does not work. Falling back to HDA NVidia, HDMI 0 (HDMI Audio Output) ". Amarok starts normally but can't open any

  • How to edit a vi file without labview

    i work for the state of ri, and i have to edit a vi which was created about 4 years ago. we do not have labview here and wanted to know if it is possible to edit this. it is an exe file. i only need to make a minor change to it. please advise, very u

  • How to get custom file name in manually generated SSRS report

    Hi, I am creating a SSRS report which would be executed by User manually through ReportServer URL.User would be generating the SSRS report for different Customer ID based on ad-hoc basis. I am passing CustomerID as input parameter to the report. Is t

  • Portal error : java.lang.IndexOutOfBoundsException: Index: 2, Size: 2

    Hi Experts, Through protal I am changing Other Bank details (IT0009 subtype 0001) for US employee. I get the error java.lang.IndexOutOfBoundsException: Index: 2, Size: 2  when I am edditing the other bank details. Please help me out in this. Prasad

  • Can I use SnowLeopard discs from my MBP to install on old MB ??? Y / N ???

    Hello, This is simply a question of permissions: Assuming Snow Leopard is compatible with my old MB (2gb mem., 2ghz Intel Core Duo, 80gb HD), can I take the discs that just came with my new MacBook Pro and use them to install Snow Leopard on my old m