Searching specific mails from pst in outlook

Is there a script to search mails sent or received by specific users from the archive PST, then move those mails to a separate folder according to the user name.
For instance let say i have 100000 emails and i have 4000 users. I need to separate according to the user name if username is present in From, To, CC or Subject of the mails.

Hi,
Generally, If we want to move specific mails(From User1) to a specific folder(User1), we can try the following steps:
1. Open the Archive pst file in Outlook.
2. Click the Inbox folder in Archive.
3. Click View > From. Then all messages in Inbox folder would be viewed by coming from specific users.
4. Right-click the user name, click Move > Other Folder…
5. We can click New to create a new folder for these specific messages from the specific user, and move them to this new created folder.
As for moving messages to 4000 users, maybe we can’t move them manually in Outlook. I don’t know whether we can create a script to achieve it in Outlook or not. I suggest we can ask a question in Script Center for more suggestions:
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
Thank you for your understanding.
Regards,
Winnie Liang
TechNet Community Support

Similar Messages

  • ICould prevents reply e-mails from sending in Outlook 2013

    iCloud add-in prevents reply e-mails from sending in Outlook 2013.  The Reply messages stay in Outbox. The Italic title returns to normal instantly. Any ideas to correct problem?

    Hi,
    Based on your description, users can move messages that don’t contain attachments to any other folders without any problem( not only subfolder of the Inbox ), and there is problem to move messages that contains attachment to whatever folders, right?
    Please check this issue in OWA.
    Please use the 'Move' operation from the context menu of the item to check this issue in Outlook.
    Please switch to a PC not joined your domain to check this issue.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • Mails from XI to Outlook

    Hello,
    I am using mail adapter to send mail from XI to outlook.
    The following XML is generated. i am using mail package.
    Now i face problem that when this mail comes to outlook the Subject line Danish special characters are coming properly
    but the Danish chatacter like ø is not coming properly in body or content.
    I have used encoding Base64 in communication channell.
    Thanks for your help.
    Regards,
    Dhiraj

    try to change the encoding and that should fix the issue. Refer - XML encoding in mail adapter
    use the encoding specified in this link -http://www.denmarkfacts.com/unicode.html

  • How can i transfer mails from iphone to outlook

    how can i transfer mails from iphone to outlook

    I misread your post.  You can't transfer items to iTunes without connection to your computer.  To transfer without synching, make sure you don't have your preferences in iTunes set to automatically synch.  Then when you connect your phone but before you synch, in iTunes File>Transfer purchases.  Note that only iTunes purchased media can be transferred this way.

  • I can't send mail from iphone4 using outlook

    I am able to receive mail, but cannot send mail from my iPhone4. I am using Outlook - please help!
    Thanks!

    Email does not sync to the phone via iTunes. Don't know where you got this idea. Email account info can be synced from a computer to the phone via iTunes, but that's it.
    If the OP told us what happens when he tries to send mail, it might actually be helpful in troubleshooting. Without this information, we're just shooting in the dark.
    That said, I'm willing to bet the SMTP server settings are incorrect.

  • Mail from Workflow to Outlook: Incorrect Subject

    Hello,
    I have the problem, that if I send Mails from a sap workflow to outlook for certain notifications
    the subject of the mail is not correct. The subject contains the description of the workflow task
    and not the workitem text. For all other notifications the subject is correct. The notifications,
    for which subject is not correct, were created by a function module. The mail body is in all cases correct.
    Any ideas??
    Regards,
    Mario

    Hi Mario,
    Check the FM you are using. If it is SO_NEW_DOCUMENT_SEND_API1, check if you are passing the subject line correctly or not by debugging the FM.
    Also state what exactly is the difference between the subject passed and what is recieved in the mail i.e. how is it incorrect.
    Regards,
    Saumya

  • Issues when sending mail from sap to outlook in .csv FORMAT

    hI all,
    Im using 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    FM TO send a mail from SAP to user with attachment in .csv format but the data isnot getting displayed correctly ...
    I thnk it is competely displayed in ASCII format ..
    Can anybody give me suggestionson the same
    thanks

    Hi.
    How is the user opening the .csv attachment?
    I'm guessing that it should be opened with Excel.
    Are you using an attachment document type of 'XLS'?
    If not, then the attachment won't be opened with Excel unless the user right-clicks on it and does 'Open with'.
    Even then, the user will have to use the Excel import wizard.
    Is a .csv file what you want?
    You can use the ABAP OLE stuff to write a native Excel file that can be attached to an email.
    Or you can (at the cost of more work) write the Excel file (still type XLS) using XML, which gives you more control, and still works when your program is run in the background.
    John

  • Import mail from outlook2003 to outlook 2000

    I used Microsoft outlook 2003 before, now I have to go back using Microsoft outlook 2000; so I backed up my personal folder files from outlook 2003 by exporting to a .pst file, after I installed outlook 2000 and import from this .pst file, it says 'not compatible...', Who can tell me what I can do to view my old content within personal folders of outlook 2003 in outlook 2000, how can I do to transfer them to outlook 2000? Thanks in advance!!!

    Does this have something to do with Oracle or ODBC? I'd suggest asking this in an Outlook forum or searching Microsoft's knowledge base.
    Justin

  • Retrieve / Search specific Node from XML File

    Hello,
    i have a question about reading (searching) XML File within PL SQL:
    There is a XML file with following structure:
    <root>
      <Hnode1 attr1="value1" />
      <Hnode2 attr1="value1" />
         <node1_of_Hnode2 id="10" personname="Steven"/>
         <node2_of_Hnode2 id="20" personname="Christian"/>
         <node3_of_Hnode2 id="30" personname="Arnold"/>
      <Hnode2/>
    <root/>How it is possible to filter a node by one of its attribute value. For example:
    I know the id of a person - lets say id =20. In this case i would like to get the whole node (in this case node2_of_Hnode2) to get the personname => "Christian".
    Just like a SELECT statement (WHERE ID = 20)
    Is there a possibility the get this by one command or should it be looped over all Rows of the Document?. Can you please provide an example for me.
    Thank you in advice!

    Database version is 10.Sorry, that's not a version.
    For example :
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    How to use the extraction of values?
    1.Better in Select statement; assigning directli in a variable or using xmlquery function?.PL/SQL or SQL calls to XMLType methods such as extract() or getStringVal() should be equivalent (putting aside the context switch).
    However, none of them is the correct way to retrieve a scalar value from a given node.
    You must use extractValue() function instead (SQL only) for release < 11.2 and XMLCast/XMLQuery starting with 11.2.
    One more Question:
    I have seen a lot of options to handle with XML Files.
    So in my case only querying data in XML Files is relevant.
    I have seen many APIs called XMLDOM, DMBS_XMLDOM, XMLTYPE...
    When to use these APIS. Can you give me some input on that please?That's a broad topic.
    A relevant answer will depend on your requirement.
    - Do you have to process large files, and if so how large?
    - Is performance/memory management a concern for you?
    - Do you want to extract single values, or process the XML content as relational data?
    If you have any specific test case to show us, please post in the {forum:id=34} forum, and make sure you include all the necessary details (see the FAQ).
    Edited by: odie_63 on 23 févr. 2012 11:35

  • Reg. Outgoing Mails from WorkFlow to Outlook...

    Hi Friends,
       Mails are going from SAP to users Outlook Inbox for any new workitem comes into users SAP Business workplace Inbox.
    <b>Problem is</b>,
       When user assigned substitute for him a period of time, Substitute person gets N number of mails for a particular workitem.
       I need solution for how to restrict those N number of mails. In this scenario, substitute user should get a single mail for that workitem.
       Please let me know that If I'm NOT clear.
    Thanks & Regards,
    S. Manikanda.

    Hi Subbaruj,
    Ok well as you've changed the original program you should eliminate your changes from your enquiries.  Also make sure you have all the OSS notes applied to RSWUWMFL2 and copied to your ZSWUWFML2.  There were some notes on substitution issues - which perhaps you have applied to the standard program but not your copy?
    Regards,
    Jocelyn

  • Sending mails from sap to outlook with pdf attachment

    Hi All
    I am using the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send
    mail with the pdf attachment to a SMTP mail id(outlook). I have done all the configuration settings in SCOT transaction. But still i am not able to get the mail in my outlook mailbox. Following are the details of the steps i have followed.
    step1.
    Get the OTF data output from the SMARTFORMS function module.
    step2,
    convert the OTF output data to PDF format.
    step3.
    populate all the required table to pass data to the function
    module 'SO_NEW_DOCUMENT_ATT_SEND_API1' -
                packing_list              
                contents_bin              
                contents_txt              
                receivers 
    and call the function module.
    After doing the above steps still i am not able to get the mail in my outlook mailbox. Please Help.
    Thanks
    Jitendra Kumar Tripathy.

    hi,
    kindly chk the code i wrote for my program.
    it will  solve ur issue.
    Internal Table declarations
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
          i_tline TYPE TABLE OF tline WITH HEADER LINE,
          i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
          i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
          i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
          wa_objhead TYPE soli_tab,
          w_ctrlop TYPE ssfctrlop,
          w_compop TYPE ssfcompop,
          w_return TYPE ssfcrescl,
          wa_doc_chng typE sodocchgi1,
          w_data TYPE sodocchgi1,
          wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
          v_form_name TYPE rs38l_fnam,
          v_len_in LIKE sood-objlen,
          v_len_out LIKE sood-objlen,
          v_len_outn TYPE i,
          v_lines_txt TYPE i,
          v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
         exporting
              formname           = 'ZZZ_TEST1'
         importing
              fm_name            = v_form_name
         exceptions
              no_form            = 1
              no_function_module = 2
              others             = 3.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
         EXPORTING
              control_parameters = w_ctrlop
              output_options     = w_compop
              user_settings      = 'X'
         IMPORTING
              job_output_info    = w_return
         EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    i_otf[] = w_return-otfdata[].
    call function 'CONVERT_OTF'
           EXPORTING
                format                = 'PDF'
                max_linewidth         = 132
           IMPORTING
                bin_filesize          = v_len_in
           TABLES
                otf                   = i_otf
                lines                 = i_tline
           EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                others                = 4.
      Fehlerhandling
      if sy-subrc <> 0.
      endif.
      loop at i_tline.
        translate i_tline using '~'.
        concatenate wa_buffer i_tline into wa_buffer.
      endloop.
      translate wa_buffer using '~'.
      do.
        i_record = wa_buffer.
        append i_record.
        shift wa_buffer left by 255 places.
        if wa_buffer is initial.
          exit.
        endif.
      enddo.
    Attachment
      refresh:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      clear wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'test with pdf-Attachment!'.
      append i_objtxt.
      describe table i_objtxt lines v_lines_txt.
      read table i_objtxt index v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
      clear i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      append i_objpack.
    Attachment
    (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
    Länge des Attachment ermitteln
      describe table i_objbin lines v_lines_bin.
      read table i_objbin index v_lines_bin.
      i_objpack-doc_size =  v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'smart'.
      i_objpack-obj_descr = 'test'.
      append i_objpack.
      clear i_reclist.
      i_reclist-receiver = '[email protected]'.
      i_reclist-rec_type = 'U'.
      append i_reclist.
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
             EXPORTING
                  document_data              = wa_doc_chng
    put_in_outbox = 'X'
             TABLES
                  packing_list               = i_objpack
                  object_header              = wa_objhead
                  CONTENTS_BIN               = i_objbin
                  contents_txt               = i_objtxt
                  receivers                  = i_reclist
             EXCEPTIONS
                  too_many_receivers         = 1
                  document_not_sent          = 2
                  document_type_not_exist    = 3
                  operation_no_authorization = 4
                  parameter_error            = 5
                  x_error                    = 6
                  enqueue_error              = 7
                  others                     = 8.
    if helped rwrd points
    anver

  • Sending e-mail from bsp using Outlook

    Hi All,
    I want to open the Outlook message composing window from my bsp application and then send a mail through that.
    i.e when I click a button in my bsp oage it should open the outlook mail composing window displaying the 'To..' address 'Subject..' and 'message body' from the bsp program. I am able to send mails but here I want the outlook window to be opened and it is required.
    Can someone help me as how this can be done.
    Thanks in Advance.
    Regards,
    Binoo

    Hi,
    You have two possible options:
    Option:1
    Using Script, either VB Script/Java Script
    <script language="vbscript">
          Dim myolapp
          Dim myRecipient
          Dim myItem
          Dim myAttachments
          Dim strMsg
          Dim mybcc
          Set myolapp = CreateObject("Outlook.Application")
          Set olNamespace = myolapp.GetNamespace("MAPI")
          Set myItem = myolapp.CreateItem(olMailItem)
          Set myRecipient = myItem.Recipients.Add("<%= add_sing-email %>")
          Set mybcc = myItem.bcc.Add("<%= add_sing-email %>")
          myItem.Subject  = "test mail"
          strMsg = "Your code rocks!"
          myItem.body = strMsg
          myItem.Display
    </script>
    This way the issue will be ActiveX Controls should be enabled in the browser.
    Option2:
    Is by using mailto tag. If the default e-mail is outlook then outlook compose opens up.
    This way the issue would be the size of URL Parameters.
    Hope this helps,
    Regards,
    Ravikiran.

  • Copy specific mail from one startup disk Mail to another copy of Mail?

    I booted from an external drive for a couple of days and read my email. Now I'm finding that my ISP has already deleted my email from its servers so I can't redownload it to my primary internal drive Leopard installation. I need to be able to get some of the email out of the Mail on my external disk and load it into Mail on my internal drive to preserve it all in one location. Is there a way to do this? I'm not sure where Mail stores the email.

    Thanks for your fast reply!
    One thing I just found that is really cool…
    The mail is located in ~/Library/Mail/[email protected]@mail.myisp.net/INBOX.mbox/Messages
    (where ~ is your home folder)
    and using Coverflow and Quicklook, you can actually find and read old email messages right in the Finder without going into Mail again! (So you can actually read email that is on another drive!)

  • Ability to search specific metadata (from all metadata)

    The ability to search metadata is currently very limited.
    I'd like to be able to search a specific metadata/exif field for text. In my case I want to search for any images that don't have copyright metadata but the scenario applies to almost any field.

    yes it does

  • Unable to send mails from SOST to Outlook

    Hi,
    We have an issue with the messages to be sent from SOST to MS Outlook. When we run the job in SOST, the messages are sent successfully (status shows in 'green' light) but the messages are NOT being received by the Recipient(s).
    We have checked and verified the followiing :
    1. User's ID is maintained in SU01.
    2. Communication method is defined correctly in SU01.
    3. In SCOT, default domain is correctly defined.
    4. Also, in SCOT, correct Host, Port & Internet settings are defined.
    Please let me know if we are missing anything.
    Regards
    Sudarsan
    Edited by: Sudarsan Sampathkumar on Oct 29, 2010 8:52 AM

    Hi,
    If you could see the return code 73 in SOST then it means that the message is sent from SAP and now the message has to be flushed out from the exchange server. Check with the Exchange admin to have a look at that.
    I assume that u have set all the relevant profile parameters.
    Have a look at the [Link|http://tamboly.com/SAPEmailConfiguration.html] which will be helpful.
    Regards,
    Varadharajan M

Maybe you are looking for