How to filter mail from an unknown ip address?

I keep getting spam from different email addresses, and different ip addresses that have a common look and feel.  They generally are sent from some made up name, from some made up host, and have a one line description like "Save Money today, just go to this link: http://BLAH.com".  What I find is that the in the long header "received from" usually identifies "unknown" as part of the host.  I use dreamhost and they generally mark ip addresses that they don't know as 'unknown'.  Can I use this in a email filter to eliminated all received email from an unknown IP address?

Yes, absolutely!  But this particular message not only fails the junk mail tests, but I also have spam sieve installed and it fails spam sieve.  Remember that it has a made up return path, so it's only the intermediate receiver that knows it's from an unknown IP address, I've taken out the to: and CC:
From:                                              Enlargement pils Free trial<[email protected]>
                                         Subject:   Jamie Lynn is a bigger **** thanBritney
                                               Date:   April 21, 2011 8:13:23 PM PDT
                                Return-Path:   <[email protected]>
                                Delivered-To:   [email protected]
                                       Received:   from abcf9819d8d314 (unknown [125.99.168.200])by homiemail-mx12.g.dreamhost.com (Postfix) with SMTP id 3056B2780F1; Fri, 22Apr 2011 11:53:47 -0700 (PDT)
                                       Received:   (qmail 6083 by uid 083); Fri, 22 Apr2011 11:51:32 +0800
                                  Message-Id:   <002801cc01b1$7e83d570$7b8b8050$@org>
                              Mime-Version:   1.0
                             Content-Type:   multipart/alternative;boundary="----=_NextPart_000_0027_01CC01B1.7E83D570"
                                        X-Mailer:   Microsoft Office Outlook 12.0
                               Thread-Index:   AcjidAFNNjWFusN8Rk+HXMZApSrL/w==
    Content-Language:   en-us
The Key for all of these (I get about 20 a day which fail all spam filters and junk mail filters is that the RECIEVED: says 'unknown' that's what I'd like to filter on and I can't seem to get it to work

Similar Messages

  • How to migrate mails from Google Apps to MS Exchange Online IMAP (Getting error)

    Any tips on How to migrate mails from Google Apps to MSOL? What is required? When I am trying to migrate using IMAP but getting fpollowing error
    =======================
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:11
    [email protected]
    Failed
    Error:
    Failed to log on successfully for the following reason:
    Server rejected Basic login with following message : * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.
    Exchange Management Shell command attempted:
    'Microsoft.Exchange.Transporter.Provider.PopImap.InternetMailboxMeta' | Move-XsIMAPMailboxToExchangeOnline -AllowUnsecureConnection $false -TargetCredential 'System.Management.Automation.PSCredential' -MaxThreadCount '10' -Quiet
    Elapsed Time: 00:00:11
    ======================
    Any help will be much appreciated.
    Regards
    Sunil DK

    I just finished migrating a client from Google Apps to Microsoft Exchange Online using the IMAP option in the Microsoft Online Services Migration Tool.  
    I added the mailboxes by creating a CSV file [i.e. GoogleApps(Gmail)_Mailboxes.csv] in the following format:
    SourceIdentity,SourceServer,SourceLoginID,SourcePassword,TargetIdentity
    [email protected],imap.gmail.com,[email protected],P@ssword1,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword2,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword3,[email protected]
    Then I created a custom folder map XML file [i.e. GoogleApps(Gmail)_FolderMap.xml] to map the Google Apps (Gmail) labels to the appropriate Exchange (Outlook) mailbox folders and create those that didn't exist (i.e. Important, Starred, Follow up,
    Misc, Priority) as sub-folders under the Inbox:
    <?xml version="1.0" encoding="utf-8"?>
    <FolderMappings xmlns="http://tempuri.org/FolderMap.xsd">
    <!-- This xml contains the mapping of foldername in source server to folders in target server -->
    <!--
    "path" is the name of the folder in source server
    "Name" is the name of the folder to be mapped into target server
    "SpecialFolder" is the name of the special folder to be mapped into
    target server (Name will be ignored) valid values are :
    Inbox
    Calendar
    Tasks
    Sent Items
    Deleted Items
    Drafts
    Junk E-mail
    Contacts
    Outbox
    Journal
    Notes
    "Description" Description of the folder
    "ExcludeFolder" indicates folders to exclude. Valid values are:
    true (case sensitive)
    false (case sensitive)
    0
    1
    -->
    <!-- Default Mapping Section -->
    <Folder path = "INBOX">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "New Mail">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "[Root]">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "Calendar">
    <Property SpecialFolder = "Calendar"/>
    </Folder>
    <Folder path = "Tasks">
    <Property Name = "Migration items/Tasks"/>
    </Folder>
    <Folder path = "Sent Items">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Deleted Items">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Draft">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Junk E-mail">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Contacts">
    <Property Name = "Migration Items/Contacts"/>
    </Folder>
    <Folder path = "Outbox">
    <Property SpecialFolder = "Outbox"/>
    </Folder>
    <Folder path = "Journal">
    <Property SpecialFolder = "Journal"/>
    </Folder>
    <Folder path = "Notes">
    <Property SpecialFolder = "Notes"/>
    </Folder>
    <Folder path = "Public Folders">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <!-- Google Apps (Gmail) Specific Mapping Section -->
    <Folder path = "[Gmail]/All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "[Gmail]/Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "[Gmail]/Important">
    <Property Name = "Inbox/Important"/>
    </Folder>
    <Folder path = "[Gmail]/Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "[Gmail]/Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "[Gmail]/Starred">
    <Property Name = "Inbox/Starred"/>
    </Folder>
    <Folder path = "[Gmail]/Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <!-- Custom Mapping Section -->
    <Folder path = "Follow up">
    <Property Name = "Inbox/Follow up"/>
    </Folder>
    <Folder path = "Misc">
    <Property Name = "Inbox/Misc"/>
    </Folder>
    <Folder path = "Priority">
    <Property Name = "Inbox/Priority"/>
    </Folder>
    </FolderMappings>
    Additionally, I had to tell the Internet E-mail Mailbox Migration Wizard to use the "Individual Account Credentials" option since I was able to specify each account password in the CSV file when adding the mailboxes to Microsoft Online Services Migration
    Tools console.
    Just to note, the users had to manually export their contacts to a CSV file and calendars to iCal (ICS) files in order to import those items into Outlook.
    I hope this will benefit others since Microsoft doesn't seem to have a custom, specifically defined migration strategy for this scenario.  With Google Apps being in direct competition with BPOS/Office365, I assumed that Microsoft would have a simple
    strategy using something like ActiveSync to facilitate the migration of email, contacts, calendar entries, etc.  Hopefully we'll see something along those lines become available in a future release of the migration tools.
    --Jon Payne

  • How to filter results from 4 dynamic list menus depandant on how many of them are selected

    I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?  

    Hey there,
    Thanks for replying,
    I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
    Any suggestions?  
    SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
    FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
    WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR  (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR  ( location=varloc AND type=vartype AND beds=varbed) OR  (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
    ORDER BY detailstable.trueprice ASC
    Look forward to receiving your thoughts,
    Linda
    Date: Wed, 21 Oct 2009 14:36:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
    Hiya,
    I'm just doing my first dynamic site too, and am at a similar level to yourself.
    Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
    For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
    Let me know how you're going on anyway
    Cheers
    Andy
    >

  • HOW TO FILTER DATA FROM MICROSOFT ACCESS

    HOW TO FILTER DATA FROM MICROSOFT ACCESS BASED ON DATE AND TIME AND GIVE THE RESULT TO A TABLE ?
    I need some example files , can anybody please help me ?
    Solved!
    Go to Solution.

    Just be sure to get examples specific to the Jet DBMS. It is rather "idiosyncratic" when dealing with time and date values.
    One question: the timestamp is being saved in a datetime field, right?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to stop mail from recovering a too large message

    how to stop mail from recovering a too large message

    You can't stop Mail from storing sent messages locally. If they're synchronized with the IMAP server, they'll still be present locally. The only way to get the effect you seem to want is to use webmail.

  • How to stop mail from recovering the same message over and over again to the extent that it has wiped out all start up disk memory?

    How to stop mail from recovering the same message over and over again to the extent that it has wiped out all start up disk memory?

    You need to find and delete (move to the Trash) the offline mail cache (.offline cache.) It's a hidden folder (files and folders with a preceding dot are hidden) inside the Mail folder (inside IMAP) in your user library. Since it's hidden, in order to see it run the following command in Terminal in Applications>Utilities. Hit return/enter once you have pasted in the command.
    defaults write com.apple.finder AppleShowAllFiles -bool true ; killall Finder
    To reverse this and hide all those hidden files and folders again
    defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder
    Leave hidden files/folders enabled until you finish emptying the Trash so you know it's gone.

  • How to stop Mail from selecting addresses from the list of Previous Recipients?

    How to stop Mail from selecting addresses from the list of Previous Recipients?

    This is a related question.
    I deleted ALL my previous recipients and when I create a new e-mail it STILL is getting addresses that I don't want - they pop up and I don't know how to stop this!
    I switched from one ISP to another - I deleted the old e-mail account in MAIL - I DID use the same name on the account - is that why it keeps bringing up the old address? 
    ARGH!

  • TS3276 How can I block mail from a specific email address?

    How can I block mail from a specific email address?

    Create a Rule
    Mail menu
    You can choose the Delete option from the drop down list or you can move the message to a specific folder.

  • How to migrate mail from cabinets in GW 8.x to Gmail

    Hi,
    I've got a Groupwise 8.x email account and my only access is from a web browser. This account is being deactivated, and so I want to migrate all my email to my Gmail account. Through the settings of my Gmail account, I was able to IMPORT email from the Inbox of my Groupwise account. But, that step did not export any mail contained in my cabinets.
    I found some help online that showed how to EXPORT mail from the cabinet folders, but you have to have the actual Email client to do this, and I only have access from my browser. I can export mail items one at a time, but since I have many email items, I figured that there has to be a better way.
    Can anyone offer me some sugggestions and/or links to help?
    Thank you in advance.
    Scotty

    In article <[email protected]>, Scotty81 wrote:
    > I tried to install the full client on my PC. I was able to do so, but
    > it didn't work.
    Well it does require a little bit of configuration. "Little" things like
    pointing it to the GroupWise server, which depending on the size of the
    system may well be the same host name as used for webaccess, and the
    default post office port is 1677. What tripped you up in connecting?
    > So, I think your alternative of using a Thunderbird
    > email account would be my next option. I don't have an account,
    Well you do have an account that you are trying to get mail out of, that
    is the account you would be using, selecting the IMAP option and
    pointing it to the GroupWise server.
    And you have an account you are trying to get your mail into, your GMail
    account, that you'd also have to connect to via IMAP.
    > Then the instructions for extracting the Novel email from the
    > Thunderbird client?
    Select all messages from a cabinet folder, Drag and drop them into
    GMAIL. Rinse and repeat per folder.
    Andy Konecny
    Knowledge Partner (voluntary SysOp)
    KonecnyConsulting.ca in Toronto
    Andy's Profile: http://forums.novell.com/member.php?userid=75037

  • How to filter mail to delete email where incoming email address is not a valid address from my address book

    how to create a mail filter which checks the incoming email address with valid address from my address book?

    "Sender is not in my Contacts" is just an example ...
    There are many different options built in to the Rules pane.
    For example,
    If the built in options do not meet your needs, you can create a script. For another "for example" see this discussion for a way to return unwanted mail to the sender:
    http://www.jarnot.com/archives/2011/08/restore-bounce-message-functionality-to-o s-x-lion-mail-app.php

  • How to retrieve mails from a Mail Server ? PLEASE REPLY IF YOU KNOW !

    Hello,
    I am trying to retrieve mail from a mail server using the example from JGuru. The command line is as follows:
    java GetMessageExample mail.wlfdle1.on.home.com (Mail Server Name) <username> <password>
    I should be prompted to read the messages in your INBOX. Enter YES to see the message content.
    0: [email protected] Thanks.
    Do you want to read message? [YES to read/QUIT to end]
    YES
    Blah Blah Blah
    1: [email protected] No Thanks.
    Do you want to read message? [YES to read/QUIT to end]
    YES
    Blah Blah Blah Blah
    I do not get any error or any output.
    Any Clue or any idea how I can get some result ??
    Response will be appreciated.
    Thanks.

    This is the sample program from jguru. After executing the following command (replacing the mail server, username, and password):
    java GetMessageExample POP.Server username password
    You'll be prompted to read the messages in your INBOX. Enter YES to see the message content.
    0: [email protected] Thanks.
    Do you want to read message? [YES to read/QUIT to end]
    YES
    Blah Blah Blah
    1: [email protected] No Thanks.
    Do you want to read message? [YES to read/QUIT to end]
    YES
    Blah Blah Blah Blah
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class GetMessageExample {
    public static void main (String args[]) throws Exception {
    String host = args[0];
    String username = args[1];
    String password = args[2];
    // Create empty properties
    Properties props = new Properties();
    // Get session
    Session session = Session.getDefaultInstance(props, null);
    // Get the store
    Store store = session.getStore("pop3");
    // Connect to store
    store.connect(host, username, password);
    // Get folder
    Folder folder = store.getFolder("Inbox");
    // Open read-only
    folder.open(Folder.READ_ONLY);
    BufferedReader reader = new BufferedReader (
    new InputStreamReader(System.in));
    // Get directory
    Message message[] = folder.getMessages();
    System.out.println(folder.getMessages());
    for (int i=0, n=message.length; i<n; i++) {
    // Display from field and subject
    System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    System.out.println("Do you want to read message? [YES to read/QUIT to end]");
    String line = reader.readLine();
    if ("YES".equals(line)) {
    // Display message content
    System.out.println(message[i].getContent());
    } else if ("QUIT".equals(line)) {
    break;
    // Close connection
    folder.close(false);
    store.close();
    Please help me on this.
    thanks.

  • How to filter datagridview from 3 textboxes?

    hey, would you help me 
    so, i have a form and connects to mdb database.
    this is my code
    Imports System.IO
    Imports System.Data.OleDb
    Public Class Form1
    Private DBPath As String
    Private conn As OleDbConnection
    Private adapter As OleDbDataAdapter
    Private dtMain As DataTable
    Public Sub New()
    InitializeComponent()
    End Sub
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load
    DBPath = Application.StartupPath + "\db.mdb"
    If Not File.Exists(DBPath) Then
    Dim cat As New ADOX.Catalog()
    cat.Create(Convert.ToString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=") & DBPath)
    cat = Nothing
    End If
    conn = New OleDbConnection(Convert.ToString("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=") & DBPath)
    conn.Open()
    Try
    Using cmd As New OleDbCommand("CREATE TABLE [Table_1] ([id] COUNTER PRIMARY KEY, [text_column] MEMO, [int_column] INT);", conn)
    cmd.ExecuteNonQuery()
    End Using
    Catch ex As Exception
    If ex IsNot Nothing Then
    ex = Nothing
    End If
    End Try
    Using dt As DataTable = conn.GetSchema("Tables")
    For i As Integer = 0 To dt.Rows.Count - 1
    If dt.Rows(i).ItemArray(dt.Columns.IndexOf("TABLE_TYPE")).ToString() = "TABLE" Then
    ComboBoxTables.Items.Add(dt.Rows(i).ItemArray(dt.Columns.IndexOf("TABLE_NAME")).ToString())
    End If
    Next
    End Using
    End Sub
    Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    If ComboBoxTables.SelectedItem Is Nothing Then
    Return
    End If
    adapter = New OleDbDataAdapter("SELECT * FROM [" + ComboBoxTables.SelectedItem.ToString() + "]", conn)
    Dim builder = New OleDbCommandBuilder(adapter)
    dtMain = New DataTable()
    adapter.Fill(dtMain)
    DataGridView1.DataSource = dtMain
    End Sub
    End Class
    and now i have 4 textbox and 4 column table of database.
    for example, this is my table :
    and if i type :
    textbox 1 : "1"
    textbox 2 : "2"
    textbox 3 : "1" then i press button2.
    the result is textbox4 display : "C"
    other example, if i type textbox1 : "3", textbox2 : "3", textbox3 : "2" then textbox4 diplay "J".
    of course, if i type textbox1 : "3", textbox2 : "3", textbox3 : "2" then i'll get msgbox "max for column 2 is 2" or 
    if i type textbox1 : "3", textbox2 : "4", textbox3 : "2" i'll get msgbox "max of column 1 is 3"
    well, now im stuck, how to filter this. 
    thanks before. sorry for bad english.

    Hello,
    The following uses Lamda and LINQ to query three text box controls where each one has a unique tag value, TextBox1.Tag = 1, TextBox2.Tag = 2, TextBox3.Tag =3. The Tag is used to dictate the order of the columns in the where condition.
    In values, a where condition is used to determine any TextBox controls with Text then in the select I create a condition suitable for use in the SQL SELECT. In the variable WhereClause the conditions are combined. There is one or more conditions they are
    appended to the SQL statement.
    Now if we have to deal with columns of type string we need to surround them in apostrophes which opens up a can or worms if a string contains apostrophes so food for thought.
    Code suitable for VS2012 or higher, for VS2010 line continuation is needed.
    ''' <summary>
    ''' Each TextBox (three of them) have their tag set to 1,2,3 for ordering columns
    ''' in the where clause.
    ''' The Where conditions are using "and", you can also do "or" instead
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) _
    Handles Button1.Click
    Dim SelectStatement As String = "SELECT * FROM SomeTable"
    Dim Values = Me.Controls.OfType(Of TextBox).Where(
    Function(tb) Not String.IsNullOrWhiteSpace(tb.Text)).Select(
    Function(tb)
    Return New Item With
    .Index = CInt(tb.Tag),
    .Value = tb.Tag.ToString & " = " & tb.Text
    End Function).ToList.OrderBy(Function(item) item.Index)
    Dim WhereClause = String.Join(" and ",
    (From T In Values Select T.Value).ToArray)
    If Not String.IsNullOrWhiteSpace(WhereClause) Then
    SelectStatement &= " WHERE " & WhereClause
    Else
    ' Nothing to append
    End If
    Console.WriteLine(SelectStatement)
    End Sub
    End Class
    ''' <summary>
    ''' Strong type data in the select part of the
    ''' lambda statement above
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Item
    Public Property Index As Integer
    Public Property Value As String
    Public Sub New()
    End Sub
    End Class
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How to get mail from Outlook to SAP GUI (workflow)

    Hi All ,
    How can we get a mail from outlook or personal mail into SAP GUI .
    can it be used as an event for 'wait for event step ' in workflow . ?
    Thanks ,
    Naval bhatt

    Hi Naval,
    I just want to clarify some areas from your question:
    1. Will a workflow be triggered because of the email from Outlook to SAP? Does it always have to start from the Outlook side?
    The integration of SAP Workplace (thru Workflow) and Outlook is possible using the Extended Notification (tcode SWNCONFIG). Here, you can send an email from SAP to Outlook then execute a function from your Outlook message and then you will be directed to the tcode of SAP side (SAP GUI).
    Regards,
    Reymar

  • How to filter data from a source XML? Please help!

    Hi Experts,
       I have a source XML as shown below:
        <Inventory>
         <InventoryItem>
           <ItemCode>InTransit</ItemCode>
           <Quantity>1000</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Available</ItemCode>
           <Quantity>1500</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Restricted</ItemCode>
           <Quantity>2500</Quantity>
         </InventoryItem>
        </Inventory>
    My Target XML is as below
        <Inventory>
          <stock>1500</stock>
        </Inventory>
    The stock element contains Quantity value where ItemCode is 'Available'.
    But note that there are 3 InventoryItem nodes.
    So how to get the desired target XML in XI mapping? Basically I have to filter data from source XML based on value of an element. What is the best approach to handle this?
    Kindly help
    Thanks
    Gopal

    Hi venkat,
              Your solution does'nt work fine. But why are you using collapsecontext and splitbyvalue before putting the value into stock element?
               Kindly explain your concept.
    My target message is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Inventory>
       <InventoryItem>
          <ItemCode>InTransit</ItemCode>
          <Quantity>1500</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>1000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>UnRestricted</ItemCode>
          <Quantity>2000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>2500</Quantity>
       </InventoryItem>
    </Inventory>
    I am getting the output even though stock is unbounded and I have used collapsecontext and splitbyvalue as:
    <InvStock>
      <Stock>1000</Stock>
    </InvStock>
    I should get:
    <InvStock>
      <Stock>1000</Stock>
      <Stock>2500</Stock>
    </InvStock>
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

  • How to send mail from UDM ALERT in Oracle 10 Grid control

    Hi,
    I have created a UDM alert in Grid control for a specific target which is sheduled to run every 15 Minutes.So if the sql query which will run for every 15 min returns any records then it will generate the alerts.*If there is any alerts thrown I should immediately send a mail from UDM .How to do this?*

    10.2 library
    http://download.oracle.com/docs/cd/B16240_01/welcome.html
    Administrator's Guide
    Chapter 4
    *T                                                                                                                                                                                                                                       

Maybe you are looking for

  • Error in Client Copy - Urgent

    Hi all, A client copy was done from PRD to QAS. It has been found out that the Field name in the QAS and PRD doesnot match in SE16. In the table BSEC, the field STRAS was present in QAS where as it is displayed as STRAR in PRD. This is in SE16. In SE

  • TS2446 On my I Pad I am getting a message that says "Your Apple ID has been Disabled" nothing else. I have not tried to log in so I don't know why this is happening. How do I get it enabled?

    On my I Pad I am getting a message tha says "Your Apple ID has been disabled". Nothing else. I have not tried to log in so I don't know why this is happening. How do I get it enabled?

  • Scientific notation SSIS

    Hi, the situation is that I receive a column on excel, with format nvarchar, for example "8.0442 E +18" and I wanted to get "8044200073000360000" how do this transformation in ssis. From excel to sql server, using -> SSIS. the format is varchar (on e

  • Question reg. Types

    hi, when I am creatating type as under: create or replace type sop_record_journal_file as object service_request_id sop_service_request.service_request_id%TYPE It gives me: SQL> show err Errors for TYPE SOP_RECORD_JOURNAL_FILE: LINE/COL ERROR 0/0 PL/

  • Form with Upload Facility

    Hi there. I'm looking at implementing an online form on a website, that has the abilility for the user to attach a file (will most likely be a word document or a pdf). I have made forms before, but never with uploads. If possible, it will email the a