OdiReadMail  - extract field from and subject in file

Tool odiReadMail extract the body of the message in to file.
I wont extract in this file fields form e-mal "from" and "subject". How i can do it?

Yes. I want to extract fields "subject", "sender" and body mail message and place them in a file.
I think, that it is necessary to change odiReadMail. But I do not know where to find source codes of this ODI tools.
Message was edited by:
RAD

Similar Messages

  • How do I extract pages from a Secured PDF file

    How do I extract pages from a Secured PDF file?

    Adobe would call that hacking, and don't allow discussion of it in this forum. You should contact the copyright holder and see if they are prepared to release the password, or an unsecured document, to you. If it's something made for you like a bank statement you should tell the bank how inconvenient their choices are.

  • How to extract data from Essbase to Flat File using ODI

    Hi,
    Anyone know how to extract data from Essbase to Flat File using ODI?
    Thanks in advance.
    Regards,
    Sumardi

    Hi,
    Have you read through :-
    Oracle Data Integrator Adapter for Hyperion Essbase Getting Started - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_getting_started.pdf
    Oracle Data Integrator Adapter for Hyperion Essbase User's Guide - http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/odiess_users.pdf
    If you have read them and are still have a problem at what stage are you having the issues?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Extract data from Oracle in excel file

    Hi,
    I have a requirement where in I need to extract data from Oracle in excel file and the excel worksheet name should be "Data".
    for eg. excel file name "AR Data_DDMMYY" and excel worksheet name "Data"
    I have used the UTL_FILE API to extract the tab delimited data which can be opened in excel but it is not exactly an excel file as the worksheet name is same as the file name.
    I tried using utl_file.fcopy and frename.
    Is there any way to do this using PLSQL?
    select * from v$version;
    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 HPUX: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - ProductionSample Code:
    declare
    cursor c is
    select * from scott.emp;
    v varchar2(100);
    f utl_file.file_type;
    file_name varchar2(100) := 'AR Data.xls';
    dir varchar2(50) := 'CESDIR191710';
    --select * from dba_directories
    begin
    f := utl_file.fopen(dir, file_name, 'W');
    v := 'EMPNO'||chr(9)||'ENAME'||chr(9)||'JOB'||chr(9)||'SAL'||chr(9)||'HIREDATE'||chr(9)||'DEPTNO';
    utl_file.put_line(f, v);
    for i in c
    loop
    v := i.empno||chr(9)||i.ename||chr(9)||i.job||chr(9)||i.sal||chr(9)||i.hiredate||chr(9)||i.deptno;
    utl_file.put_line(f, v);
    end loop;
    utl_file.fclose(f);
    --utl_file.frename(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls', false);
    utl_file.fcopy(dir, file_name, dir, replace(file_name, '.xls', '_')||to_char(sysdate, 'MMDDYY')||'.xls');
    end;Thanks
    Imran

    Imran Soudagar wrote:
    Hi,
    I was able to generate the excel 2007 file with the data using the package from below link;
    http://technology.amis.nl/2011/02/19/create-an-excel-file-with-plsql/
    but the requirement is to generate excel 2003 file.
    I tried changing the .xlsx to .xls and it gives a note while opening the file "The file you are trying to open, abc.xls, is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"Then you have three options:
    1) stop using anton's package and find another one that supports the old and deprecated version of Excel 2003
    2) write your own package to produce an Excel file.
    3) Upgrade your version of Excel to a recent version
    I tried the programs from other links on the forum but I am still getting this message. The client does not want this message to be displayed as the excel file works as an input to another system.
    Can anyone help me with the issue?
    Also, is it true that the programatically generated excel file is actually an xml file which is renamed to .xls and hence it shows the message while opening such files?Yes, Excel supports several different formats for it's files. By default, if you save an XLS files from Excel, it writes it out in a Microsoft proprietary binary format, which you would be hard pushed to replicate easily from PL/SQL. Excel also has the ability to save it's files as XML format, which is more readable and easier to produce programatically, whilst still allowing you to have multiple sheets, formulas and formatting included in it. That's the format that most people who need formatting and multiple sheets opt for when programatically generating their data as excel workbooks. (There's also an SLYK format that people used to use before that, but it's not as flexible)
    If you want to write your own, the easiest thing to do is to start with a blank workbook in Excel, and put in your basic requirements e.g. a couple of named sheets, and some data in different formats (number, date, text etc.) and different formatting options etc. Save that file in XML format from Excel and then open up the file using notepad/wordpad to look at the structure. There'll be a whole load of redundant rubbish Microsoft put in there, but you should be able to figure out the basic structure of XML required to give you what you want.

  • From and subject text is missing in listview (imap)

    Hi all,
    I have just setup mail 3.0 and all messages+folders are downloaded correct. But messages are missing the From and Subject text in the list view, the place where text normally is written is just blank so I can not see whom the email is from and what it's about.
    Once I click on a message it opens up perfectly in the message view and all details are available (from, to, date, etc...). Got damm wired
    I'm running with IMAP through a danish host called Azero and I think they are running with Merak Mail Server (http://www.icewarp.com/Products/MerakEmail_ServerSoftware/)
    I hope somebody can help me.
    Cheers,
    Jesper

    so this is strange... i tried the exact same process on 3 machines with the same mail account set up. on the first machine, i selected the mailbox, went to Mailbox>Rebuild. Mailbox rebuilt without any issues, all old mail that was missing From/Subject fields were fixed and all new mail comes through without any issues.
    I tried the same thing on two other machines with Merak IMAP accounts on them and on one machine, ALL previous mail that had been correctly displaying From/Subject fields had those fields deleted but date received displayed just fine. I could also click on the blank line and the message would display correctly in the Mail window's preview pane below the list view.
    On the third and final machine, rebuilding the mailbox wiped the mailbox COMPLETELY. Folders displayed but they were empty.
    I'm submitting a support ticket to Merak as soon as I'm done typing this
    .//chris

  • Mail.app From and Subject are blank in list

    From time to time I get an email and once it is deleted, the "From" and "Subject" do not display in the list of emails. Its just blank. The "Date Received" shows up as well as if there were any attachments I get the paperclip icon, but no "From" or "Subject". If I open the email I can see the "From" and "Subject" in the email header just fine so I know the data is there, just doesnt show up in the list of emails. If I move the email back to my inbox and the delete it again it usually fixes the problem. Not a big deal but wanted to see if anyone else has had this issue and has a fix.
    I am running Mail.app 3.2, and my emailemail is being routed through google apps setup as imap account.
    This also happens on my wife's computer, who has an identical email setup as mine, just a different account, which leads me to believe its a mail.app ->imap ->gmail issue.
    Dont get me started on the dreaded "All Mail" folder.

    I have tried suffering through changing the message encoding back and forth to get messages to appear, but it has reached a level of absurdity that I just can stand anymore.
    I view my mail with IMAP from three places; Mac Pro, MacBook Pro, and iPhone. If I read a message on any one of the platforms, the remaining Mac (not iPhone) do not display the header information in the message list pane. The iPhone always shows everything fine. And if I download the message first on one of the Macs, it looks fine there, but when that message is downloaded on the other Mac (doesn't matter which was first or second, the pro or macbook pro) the from, to, sent, subject are all invisible on the second machine.
    I wrote an automator "watch me" recording to toggle message encoding, but with over 2000 affected email messages, it was taking hours to run, and makes that Mac useless until it is done.
    I am less than happy with this situation. Why no bulk message encoding change capability? If you select more than one message the encoding options grey-out.
    I've tried rebuilding mailboxes. Using the "defaults write ..." on both Macs. Nothing is working.
    Surely someone else is seeing this too?
    Message was edited by: Brian Brumfield
    Message was edited by: Brian Brumfield

  • From and subject field are blank using imap account in mail.app

    Recently I changed my account from pop3 to imap.
    If I retrieve mail with mail.app first normally I get proper headers displayed in the message list window.
    If I READ the email on my iPhone 4 let alone respond to it, etc. and then go back to my mail.app all emails I chose to read, reply to, etc. have blank from, to, and subject lines in the message list window. They appear ok in the message window but not the message list window.
    Some people have same issues, but I haven't found any respons to get this fixed!!
    I hope someone can help me solving this problem.
    Best wishes.
    Simon

    In the Mail Preferences/Accounts/Advanced what have you selected with regard to Keep copies of messages and their attachments for Offline Viewing?
    Also, does your provider's IMAP server support use of the IDLE Command?  If getting push email on the iPhone, considered deselecting this if currently selected -- it can cause problems with servers not fully supporting it.
    I think it may be useful to purge the Envelope Index file from the Mail folder.  Force a reindexing by deleting the Envelope Index. With IMAP or Exchange account, forcing reindexing requires removing the account folder. See:
    http://docs.info.apple.com/article.html?path=Mail/4.0/en/14019.html
    Ask any questions needed to get comfortable with doing this.
    Ernie
    Message was edited by: Ernie Stamper

  • How to extract data from an arbitrary xml file and export in a nice csv file?

    Hallo,
    I'm facing big problems in the use of XML files. I have an
    application which generates XML files with clusters containing arrays
    and scalars like in the example pasted below. My task is to
    read it and export the data in a human-friendly CSV document.
    Since I don't know the actual content of the cluster, I need some kind
    of intelligent vi which goes through the XML file looking for arrays
    and other data structures in order to export them properly in the CSV
    format (columns with headers).
    Thank you
    <Cluster>
    <Name></Name>
    <NumElts>3</NumElts>
    <Array>
    <Name></Name>
    <Dimsize>6</Dimsize>
    <I32>
    <Name></Name>
    <Val>0</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>1</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>2</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>3</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>4</Val>
    </I32>
    <I32>
    <Name></Name>
    <Val>5</Val>
    </I32>
    </Array>
    <DBL>
    <Name></Name>
    <Val>3.14159265358979</Val>
    </DBL>
    <String>
    <Name></Name>
    <Val>ciao</Val>
    </String>
    </Cluster>
    Solved!
    Go to Solution.

    Thank you again,
    I'm forwarding my vi draft with many comments and an xml file sample.
    Data in cluster is stored according to the LabVIEW schema, infact it is generated by LabVIEW.
    What I'm trying to do is to access the element of the cluster and read their content using the Invoke node and Property node functions. Could you give it a look, there may be something wrong, I'm not able to access cluster children.
    Which funcions should I use? Could you give me an example? You may use the draft I enclosed...
    Then write these data in a csv file
    should be the easier part.
    BODY{font:x-small 'Verdana';margin-right:1.5em}
    .c{cursor:hand}
    .b{color:red;font-family:'Courier New';font-weight:bold;text-decoration:none}
    .e{margin-left:1em;text-indent:-1em;margin-right:1em}
    .k{margin-left:1em;text-indent:-1em;margin-right:1em}
    .t{color:#990000}
    .xt{color:#990099}
    .ns{color:red}
    .dt{color:green}
    .m{color:blue}
    .tx{font-weight:bold}
    .db{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;border-left:1px solid #CCCCCC;font:small Courier}
    .di{font:small Courier}
    .d{color:blue}
    .pi{color:blue}
    .cb{text-indent:0px;margin-left:1em;margin-top:0px;margin-bottom:0px;padding-left:.3em;font:small Courier;color:#888888}
    .ci{font:small Courier;color:#888888}
    PRE{margin:0px;display:inline}
      <?xml
    version="1.0" encoding="iso-8859-1" ?>
     <Contents type="Data"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="XMLSection.xsd">
     <section name="beta"
    date="7/31/2009" time="3:43:03 PM" version="1.0">
     <Cluster>
      <Name />
      <NumElts>1</NumElts>
     <Array>
      <Name />
      <Dimsize>4</Dimsize>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.93317638164326</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.79233924020314</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.39199947274518</Val>
      </DBL>
     <DBL>
      <Name>number: 0 to 1</Name>
      <Val>0.74817197429441</Val>
      </DBL>
      </Array>
      </Cluster>
      </section>
      </Contents>
    Attachments:
    read_array.vi ‏12 KB

  • Is it possible to extract video from and MHTML file?

    I have an MHTML file of a video created by a relative of a client in Eastern Europe. Does anyone know if its possible to extract the video or convert the file to a usable format for inclusion in a DVD project?

    Check if these are of any help.
    http://www.ehow.com/how_5998978_convert-mht-files-avi.html
    http://www.ehow.com/how_12126027_extract-mht.html

  • Trouble extracting data from a previously written file

    I am trying to extract two arrays from a previously written file, which contains two arrays, seperated by a /t char. The files are saved in this format;
    Wavelength(nm)ower(W):
    *lambda1**power1*
    *lambda2**power2*
    "lambda#" and "power#" are both actually numbers, but I wanted to illustrate that they correlate. 
    Furthermore, with the extracted data, I would like to write a new file, which uses the information (during another sweep) to calculate a third value (called EQE), which is dependant on the power and current at a given wavelength. So while the VI is reading current per lambda, it should also be able to find out what the power value at said lambda was and calculate the EQE.
    The VIs I have so far are attached. The third portion of "problem.vi" is enclosed in a while loop, so it repeats a lot of times.
    Thank you very much
    Solved!
    Go to Solution.
    Attachments:
    Problem.vi ‏36 KB

    MAELV wrote:
    How would I begin from the second line?
    Use a Read Text File function.  Right-click on it and there will be an option to read lines or characters.  If you set it to read lines and leave the number unwired, it will by default read a single line.  You don't care about the header data, so don't worry about the output unless you want to show it on the front panel for debug reasons.  From there, read the rest of the file as you already have.
    MAELV wrote:
    When I have execution highlighted, the wavelength index number seems to get stuck fairly quickly (at say #51) where as the power index continually lower to zero.
    I'm not sure what you mean by this.  Can you post an example file as well so I can play around with what you are seeing?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Read Lines.png ‏5 KB

  • Read and write from and to text file

     Hi All,
    I am trying to read some portion of a text file and make measurement and calculation with those numbers and write back to the same text file and also to a excel file. I need to create a 2 D  array of 20 by 20 from the text file values and write to front panel table and to text file. but I am having problem with it, obviously I am new to this. Please help me.  thanks much
    ~ Johnny

    Hi Lynn,
    the requirement is to move C1 and C2 to each position that is given in the text file in steps and percentage value.
    for example C1 has to go to first step (5%) and C2 has to go thru all steps, 5% to 95% , in 5 percent increment. 
    each 100 steps translates to 1 percent increment in the capacitor value.
    at the end, I need to enter the measured data (values of C1 for each step, vesus all values of C2 for all steps) and enter them at the bottom of the text file's table where it starts at : "IMPEDANCE_REAL in Ohmone line per C1 position, containing all values for the different C2 positions" and do the same for where it says "IMPEDANCE_IMAGINARY in Ohmone line per C1 position, containing all values for the different C2 positions"
    the reason I read the file twice, is that if it read it once, I couldn't connect it to spreadsheet string to array vi.
    as you can see, I also like to use the write to measurement file and build table express vi's to display the table on the front panel and save the data to ni data file format so later I convert it to excel  too.
    any thoughts?
    thanks for your help
    ~ Johnny
    Attachments:
    read from text2.vi ‏82 KB

  • Using an array to read from and write to files

    my problem is, I do not know how to do this program, it's like an inventory warehouse program that uses an array to store the items, then I have to use a keyboard input to run through the program the first time, using a write method to save the file, and a read method to go through the program a second time and resave it to a different file with the write method, I've asked countless times for help, but the instructor just won't help, so I was hoping I could get some help here, and if I don't get this done, I'm going to end up failing the class.
    also, the requirements are listed here as well, so it can be better understood.
    Write a program that:
    1. allows the user to choose whether the inventory data comes from a file or from the keyboard
    2. allows for up to 20 inventory items
    3. if the data comes from the keyboard, asks for all inventory information (item name, number in stock,
    initial warehouse, and value of one item)
    4. if the data comes from a file, displays the inventory information for the item.
    5. for each item, asks the user how many items to add or delete from inventory
    6. determines whether an item must be moved to a different warehouse and changes the location if
    necessary (note, it may be necessary to move an item to a smaller warehouse)
    7. once all inventory changes have been made, for each warehouse displays the items in the warehouse, the
    total number of items in the warehouse, and the total value of the items in the warehouse.
    8. once all inventory changes have been made, stores the item information in a file (which can be used for
    the next program run)
    9. asks the user for the names of the input file (if data is coming from a file) and the output file (always).
    p.s. I can post the source code for it if it's required for the help.
    Thanks,
    Xandler

    my specific question is how I would go about using the scanner utility to tell it to input from the file or keyboard, if from keyboard it's manually item information is done manually, if from file it asks the user for the file name and the user selects it, then it saves it to a file, can't really post what I've tried because that's the problem, I don't know how to go about doing it and the instructor won't help me, I know though that it requires a file read method for the 2nd run, and a keyboard input for the first and a write for the saving of the file(s).
    Thanks,
    Xandler

  • Displaying standard email fields (From, To, Subject, Date) in a List configured to accept email messages.

    OK, I'm no expert (can you tell?) and this is probably a stupid question to ask a bunch of SharePoint studs, but I can't find anything obvious in the online help.  I want my users to be able to forward email from Outlook to a SharePoint list. 
    I want the default list view to display the standard email fields.  How do I configure the List view to show those fields and be able to identify the messages of interest to them without having to open the file?
    Thank you.
    LO'D at Sanofi

    Email files' properties are not promoted properties, so they will not display. You would have to create an ItemCreated Event Receiver to extract this data from the MSG and promote them on your own.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Extract words from JSP into text file

    Hi,
    I have a big problem:
    I want to extract selected words from a jsp file.
    Following are found in one of my jsp file:
    E.g.
    1) <td width="217"><font face="verdana,arial" size=2>ORGANISATION UNIT NAME<font color="#FF0000"> <font
    id="fontMandatory">*</font></font>
    I want to retrieve "ORGANISATION UNIT NAME"
    2)errPrompt(frm.txtDesc, "Maximum length is just 100 character only");
    I want to retrieve "Maximum length is just 100 character only"
    I try String tokenising, then check that is the token ends with ">", then the next token is the one
    I want, then loop until "<" is found. BUT this would not work as there is no spacing between some of
    the tags and the words.(e.g. <p>abc)--> This cauese the whole token to be <p>abc, so the "abc" will
    not be extracted as it does not have a "ends with >" in front of it.
    Even with using ">" as a checking does not work for pop up messages, as it does not have tags(refer
    to e.g 2).
    Please reply a.s.a.p...
    Really urgent!!
    Thank You
    Michelle

    for extracting the HTML tags, u can use DOM/DHTML
    I dont remember the syntxes, how to use, but i know that it is possible, just go thru' the DOM/DHTML
    Regards,
    Ritesh

  • How do i extract pages from a large pdf file?

    I have Windows XP, with Adobe Reader 9 and PDF version 1.4 (Acrobat 5.x) installed. I received a large pdf file (19,000KB) with 25 pages of architectural drawings. I want to extract just 8 pages from that document. Under the Documents Properties Tab, it states page extraction is allowed. How do i do this?
    Morgy1

    I'm not an Acrobat user. But if you have a PDF print driver or if Acrobat 5 5 has a print PDF mode you can tell the PDF print driver to print the page number that you want and it should prompt you to save the individual page in PDF format. If you don't have a PDF print driver you can Google PDFCreate and got to its website and download it and install it.

Maybe you are looking for