Mail Adaptor : How to extract particular Mail from the mail server?

Hi @,
I have a requirement where I need to extract all the new mails with a aprticular Subject line to the XI and then forward it to the receiveing system.My problem is that the actual payload is situated in the Mail attachment which I will use in my scenarion but the filtering has to happen based upon the mail subject.
I am not able to deal as the filtering and usage of payload are diffrent,need help in this regard
Regards

Hi
As far as i know Mail adapter wouldnt be able to do anything of this sort.It will read all mails which it has never read before.You should use the mail Server for this.
Thanks

Similar Messages

  • How to extract HTML page from the internet

    i am new to java, i wish to know how to extract Html page from the internet and also how to identify the differences between the images and text information?

    You can create a java.net.URL that points to the file you want to "extract" and read the HTML code (or what ever that file contains) from there using the inputstream given by URL.openStream().
    The difference between images and text... well, images are embedded in html using the img-tag. example: <IMG src="http://forum.java.sun.com/images/reply.gif" alt="Reply">. Attributes width, height, alt are sometimes left out and there may or may not be quotes around the values and everything is case insensitive... you'll be having hard time trying to parse the input so I'd suggest using existing parsers.
    What are you trying to do anyway? You can load a URL directly to a JTextEditorPane with the setPage(URL page) method...

  • How to Extract particular field from a string ( Mapping)

    how to exteract the particular field from the given string:
    ProcessEmp this element has a below string subfields.
    <ProcessEmp>&lt;?xml version="1.0" encoding="utf-8" standalone="no"?&gt;
    &lt;Employee PersonnelNumber="11111" FirstName="String" MiddleName="String" LastName="String" Department="String" Group="" SapUserID="10flname" EmailAddress="[email protected]" DefaultPassword="*" Status="Success" /&gt;</ProcessEmp>
    how to extract only PersonalNumber, department, EmailAddress from above ProcessEmp into 3 diff fields.
    Thanks
    dhanush.

    Hi,
    You are receiving XML message within a field. To access a particular field from that XML message, you could create a User Defined Function, as suggested by many already.
    You could write UDF using some of the String operation functions. This could include following:
    1. If you need to access field Employee PersonnelNumber, you could get last index of that within string using function lastIndexOf(String str). Pass string "Employee PersonnelNumber="" for this function.
    2. This function would return an index of rightmost occurance of this string.
    3. after this you could get the index of next occurance of ", as the value of field is within quotes. You could use function indexOf(int ch, int fromIndex) for getting the same. You would pass Character as " and index as the one received by previous function.
    4. Now you have index for starting and ending point of value string for desired field.
    5. After this you could use substring(int beginIndex, int endIndex) function by passing first and second index values to retrieve the needed string, which contains value of field.
    Hope this would be helful.
    Thanks,
    Bhavish
    Reward points if comments found helpful:-)

  • How to determine client locale from the mail?

    How to determine client locale(language/country) from the mail(header)?
    I investigate that some mails have not got any content-language header...
    Also, If mail is in multipart , I cannot get it throught the contentType....
    e.g some header contain header like this: content-Type: "text/html; charset=Big5"
    but some are : content-Type: multipart/mixed; boundary......";
    So, how can I know the client locale?
    Thanks

    You should be able to get the charset from the content type, as u said. the reason some types don't have a charset, such as multipart/* types, is because they don't contain any content on their own! they only contain nested body parts, each of which should have a charset specified. you're gonna have to get the charset by following the mail structure recursively.

  • Lost emails, how to get them back from the Mail folder?

    Hi there.
    I have a folder called +/Previous System+ inside of this folder there was folders of the system I had before.
    Inside there is the Applications folder, and I deleted the old versions of the applications such as Mail, but when I did this, I lost the preferences and the email accounts, the Mail application opened as new, without any account, I still have all the folders and .mbox files under ~[User]/Library/Mail but I don't know how to make the accounts visible in Mail
    Question 1: How can I retrieve my sent and received emails.
    Also the accounts that I had were POP and today I learned that the hosting provider suggests IMAP, so now I'm confused.
    Question 2: What should I do? if I get the accounts back will be POP or should I create IMAP accounts and try to retrieve the emails there?
    Thanks!
    Message was edited by: Destructiva

    Fixed!
    I imported the mailboxes
    Import data from: Apple Mail
    and everything went back into the Mail folder.

  • Error while extracting XML file from the application server

    Hi ,
    I am writing a XML file into the application server, after which when i try to extract the file to the local server using the report - RFASLDPC ,
    the file is extracted, but with a '#' symbol at the first position.
    Because of which the XML File does not open. But after i open the file in notepad and manually delete the '#' symbol and then reopen the file, it works fine.
    Is there any way to remove the '#' symbol while extracting itself ??
    Thanks in advance,
    Vikas.

    Select the option "No Character Set Conversion" in stead of Code page 1100.
    However, I still have troubles -> the downloaded xml file misses a space on several places. This causes errors too.

  • How to select all files from the application server.

    Hi all,
    I have  a requirement to select all files with the same file format I.e i have created no of files with same name but different time stamps addition , now i want to select all the fiels and read the data into an internal table and sort them on the user requirement,  I am using FM -
    /SAPDMC/LSM_F4_SERVER_FILE to get single file name, i should also give the option on the  selection screen for the user to select the file range I.e form which to which the sorting should be done.
    could anybody suggest me the function module which selects all the file names .
    Regards,
    Sre.
    Edited by: Alvaro Tejada Galindo on Mar 10, 2008 4:49 PM

    Hi,
    PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
    include structure salfldir.
    data: end of it_filedir.
    *START-OF-SELECTION
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_fdir
    tables
    file_tbl = it_filedir.
    List of files are contained within table it_filedir
    loop at it_filedir.
    write: / it_filedir-NAME.
    endloop.
    Regards,
    Omkaram.

  • Unable to extract bcc address from incoming mail

    Hello all,
    1>i am facing problem in extracting BCC address from incoming mails .
    2>when i am trying sending mails in BCC address to otherdomain i am preety successful but when i try sending BCC on my own domain i am not able to receive it and hence extract bcc address.
    Please ,if any of u guys have solution for my problem ,reply immediately.
    bobby

    From RFC2822.
    The "Bcc:" field (where the "Bcc" means "Blind Carbon Copy") contains addresses of recipients of the message whose addresses are not to be revealed to other recipients of the message. There are three ways in which the "Bcc:" field is used. In the first case, when a message containing a "Bcc:" field is prepared to be sent, the "Bcc:" line is removed even though all of the recipients (including those specified in the "Bcc:" field) are sent a copy of the message. In the second case, recipients specified in the "To:" and "Cc:" lines each are sent a copy of the message with the "Bcc:" line removed as above, but the recipients on the "Bcc:" line get a separate copy of the message containing a "Bcc:" line. (When there are multiple recipient addresses in the "Bcc:" field, some implementations actually send a separate copy of the message to each recipient with a "Bcc:" containing only the address of that particular recipient.) Finally, since a "Bcc:" field may contain no addresses, a "Bcc:" field can be sent without any addresses indicating to the recipients that blind copies were sent to someone. Which method to use with "Bcc:" fields is implementation dependent, but refer to the "Security Considerations" section of this document for a discussion of each. When a message is a reply to another message, the mailboxes of the authors of the original message (the mailboxes in the "From:" field) or mailboxes specified in the "Reply-
    To:" field (if it exists) MAY appear in the "To:" field of the reply since these would normally be the primary recipients of the reply. If a reply is sent to a message that has destination fields, it is often desirable to send a copy of the reply to all of the recipients of the message, in addition to the author. When such a reply is formed, addresses in the "To:" and "Cc:" fields of the original message MAY appear in the "Cc:" field of the reply, since these are normally secondary recipients of the reply. If a "Bcc:" field is present in the original message, addresses in that field MAY appear in the "Bcc:" field of the reply, but SHOULD NOT appear in the "To:" or "Cc:" fields.
    Bottom line is that bcc fields "should" only contain one address (if any) by the time it is delivered to the recipient. You cannot, with any degree of certainty expect to be able to get a list of e-mail addresses from a bcc field that a bad SMTP implementation may leave lying about.
    SH

  • Mail Adaptor : How to configure sender mail adaptor?

    Dear @,
    I have to configure the sender mail adaptor I have gone thru varios blogs related to it but I am struck with some questions:
    1.Where to find the message structure of the input message / what will be the input message structure
    2.what is the default namespace / default interface name in the mail adaptor configuration
    Thanks in advance

    Hi Monika,
    My scenarion is Mail to File .I have to read mail from the mail server and then send it to file .
    When I am trying F4 in the default namespace/Interface I am not getting any option also these values are fixed as http://sap.com/xi/XI/Mail/30 as I have observed in varios blogs and examples
    This name spcae I guess we need to craete But why and what is the use
    Regards

  • HT1692 how do we move contacts from window mail to ipad?

    We need tp figure out how to move our ccntacts from the computer on windows mail onto the ipad

    If you use Outlook in windows for your email and contacts, when you first
    set up the iPad, iTunes will offer to import from Outlook.
    There is a link to the iPad users manual in the default bookmarks in
    Safari - that will explain more fully.

  • HT2500 how do i get my mail from the pop server to my inbox

    Can someone please help me ! I'm sure I did something by accident and don't know how to fix it. My problem is i don't see any emails in my inbox, however my account info says there is mail on the pop server. how do i get the mail from the pop server to my inbox?
    thank you for helping

    First try rebuilding your Inbox.
    Select the Inbox.
    Under Mailbox in the Menu bar select Rebuild (last option in list)
    Note: If you delete a POP account in Mail, it will delete any messages in the Inbox. It does not delete your custom folders or your sent messages.
    If the messages have been deleted and are no longer on the server, you can restore from Time Machine.
    Let us know if this helps.

  • HT2500 Does anyone know how to remove a group from the address panel in mail?

    Does anyone know how to remove a group from the address panel in mail?

    I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • How do I import photos from E mail to Pages

    How do I import photos from E mails to Pages?

    Send yourself an e-mail with image embedded or attached.
    Open e-mail in Safari.
    If embedded, click the small, LEFT pointing arrow in upper right of tool bar.
    Click "Save image,"
    It will go into your "Photos" icon on your Home screen.
    If attached, download the attachment. It should go into your "Photos" icon....I think. I haven't tried this with an attached photo.
    Click on "Photo" icon to check if it/they are there.
    Select the photo you want to import to pages by clicking on it..
    When you do so, you will see on the toolbar that pops-up above, a small box with a right-pointing arrow. Click on it. Select "Copy Photo."
    Go back to your "Home" page.
    Click on the "Pages" icon..
    As a test, open a blank/new document.
    Click anyplace on it until you see a menu open-up that says "Select - Select all - Paste."
    Click on "Paste."
    Click on "Undo" in the upper left of the toolbar to get rid of it.
    You can repeat this on any document that accepts images by putting in the cursor wherever you want the photo inserted, tap until the "Select - Select As - Paste" box reapperas and  and click "Paste."
    Good luck.

  • I just opened my mail on icloud and all messages disappeared from the last year! I have one email left in my inbox which is the most recent. I moved to icloud 2 weeks ago and it has been working fine until now. How can I retrieve old messages? Thank you.

    i just opened my mail on icloud and all messages disappeared from the last year! I have one email left in my inbox which is the most recent. I moved to icloud 2 weeks ago and it has been working fine until now. How can I retrieve old messages? Thank you.

    I guess you could try but I don't believe Apple can help with activation lock issues.  They may, however, be able to determine if the Apple ID belongs to one of you and reset the password for you if you can prove your identity.
    You might want to try calling Apple by going to https://expresslane.apple.com; click 'More Products and Services, then 'Apple ID'.  In the next page select 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'.  Perhaps they can help determine if it's your ID and reset the password for you (and they probably have more expertise in doing this than the Apple store).

Maybe you are looking for

  • Can not open links while in browser?

    So, I can't click on links with the cursor while I am in browser,  if it highlights the link I can right click and hit open link, but can not just click with the trackball, does anyone know how to fix this?

  • Help!How to change the language of java compile information?

    Hi,every body! my first language is not english, so please forgive me for my poor english. My OS is Windows XP Chinese edition,and my JDk is 1.6 u5 multi-language edition. The problem is that,when I compile java programs with problems, the jdk gives

  • Suppressing Information messages

    Hi, I need to suppress the information messages which I was getting while creating the sales order in VA01 with reference to the Billing document. VA01 >> Order number >> CREATE WITH REF >> BILLING DOC NUMBER >> CLICK COPY >> getting Information Msg

  • Problem downloading Adobe Reader

    I have attempted to download Adobe Reader. It is currently not installed on my computer. Each time I attempt it gets to 96% installed and freezes and gives a message another program is installing, try again later. I have checked task manager, and not

  • The led is on all the time

    hello again! the led is on all the time on my precious playbook 64GB! - green, yellow or red depending on the battery status. any suggestion for closing the led? - aside from sticking the bubble gum, coloring it with some permanent marker or   defini