Mail adapter fails when using Mail Package Format

Hi.
Using XI 3.0 stack level 9.
When i set up the mail adapeter to Use mail package format (by ticking the "Use Mail Package") checkbox I get the following error :
"error occured: [2005-09-14T09:42:46Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: expecting end tag: Mail, but found Subject at state 1".
The scenario is basic : file in mail out.
File coming in has the structure :
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
  <ns:Subject>Sap test</ns:Subject>
  <ns:From>SAP</ns:From>
  <ns:To>[email protected]</ns:To>
  <ns:X_Mailer>Outlook</ns:X_Mailer>
  <ns:Content>Contect</ns:Content>
</ns:Mail>
Any help would be appreciated.

Hi Rodney,
try to use the following structure...
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
  <Subject>Sap test</Subject>
  <From>SAP</From>
  <To>[email protected]</To>
  <X_Mailer>Outlook</X_Mailer>
  <Content>Contect</Content>
</ns:Mail>
The namespace should only be included in the Mail tag. On our side it works fine with the mentioned structure.
Hope it helps...
Regards,
Lars

Similar Messages

  • Default Mail Font ignored when using "Mail this webpage" in Safari

    This is not really a problem but more of a puzzling irritant.  I often use the "Mail this webpage" option in Safari (the small envelope icon in the tool bar) which opens a draft email with the then-current webpage's URL already embedded in the text area.  Prior to Mavericks when using this option the draft note triggered by Safari reverted to my default Mail font already selected via Mail's preferences pane.  Just as I would want it.  Ever since Mavericks though, when I click the envelope icon it brings up the draft email with the URL as before, but the text font for that note defaults to Times, not my previously-selected default Mail font (Lucinde Grande just for clarity).  So to stay consistent with my other email styling I have to manually click the draft email's Format button, select Lucinde Grande, and then begin typing.  I can find no place in either Safari's or Mail's preferences or options where I can change the default "send an email triggered in Safari" font. Emails originated in Mail properly use the default Lucinde Grande font.
    Once I go through the above and send the note, if I later repeat the same "mail via Safari" acion, the new note is again defulting to Times and I have to go through all of the above again.
    A companion oddity is that when I go through this and click the Format button once, nothing happens.  I click it a second time and then the font selection options are presented.  This happens consistently on 3 separate installs of Mavericks in our house (two iMacs and a MBP), and it has been this way from OS 10.9.0 through the updates to the current 10.9.2.  Any ideas, or anyone else experiencing this?  Thanks.

    This is very annoying behavior.
    I have a sudo work-around, although it's really just a different set of steps. If you use the new Share button (square with arrow icon) than the resulting email consists of a url at the top and text from the page below that. The first line of the email (empty) and the url are in the default mail font. Now just delete the text that was added from the page.
    I use this method because it seems like if I do it the other way the new message will sometimes go back to Times when I hit Return a couple times.

  • How to map when using mail adapter

    Hi:
    I'm doing a test with mail adapter in XI. The scenario is I put an XML representation content based on the outbound interface used by sender mail adapter directly in inbox mail content and send it. At the other side, I want to using receiver file adapter sotre the content as a file in file system. But some mapping is needed.
    What I have already done is to define one outbound interface(<b>IF_Mail</b>) which is used by sender mail adapter.IF_Mail using the structure like
    <MT_Mail>
    <mail> 
    </mail>
    </MT_Mail>
    I also defined an inbound interface(<b>IF_File</b>). IF_File is using the structure like
    <MT_File>
    <file> 
    </file>
    </MT_File>
    I want to map the value of <mail> in mail to <file> in file. I did structure mapping between two message types in IR and all of the configuration in XI.
    I put the below content
    <MT_Mail>
    <a> test
    </a>
    </MT_Mail>
    as inbox mail content and send it. But when I monitor the XI message. It always says something is wrong with mapping.
    what am I doing wrong?  Thanks.

    Hi Oscar,
    copy the payload of incoming message (SXMB_MONI) to your desctop and test the mapping inside the IB Repository (Test Modus of IF-Mapping or Message Mapping), switch the trace to "all".
    Regards,
    Udo

  • Since installing iCloud I get the pinwheel a lot when using Mail

    Hi Since installing iCloud i have been getting the pinwheel on and off a lot when using mail on my macbook pro.   Does anybody know how to make that go away?   Perhaps it's going back and forth to the cloud a lot?  

    20 inch, 2009
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  2 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400 256 MB
    Software  OS X 10.8.4 (12E55)
    I have 2GB installed
    Kind: Volume
    Created: 3/24/09
    Modified: 6/21/13
    Version 10.8.4
    Format: Mac OS Extended (journaled)
    Capacity: 319.21 GB
    Available: 113.4 GB
    Used: 205,814,046,720 bytes (205.81 GB on disk)
    The breakdown is of usage is:
    Audio: 11.69
    Movies: 32.79
    Photos:115.55
    Apps: 8.86
    Backups: 0
    Other: 36.93
    I have no crapware; I also don't have any anti-viral software because when I bought my Mac the guy said I didn't need it.
    I usually have Mail, Calendar, Stickies and Safari going.  If I launch iPhoto, my system totally slows down, almost to the point that I almost give up waiting.

  • Why do I get a spinning wheel when using Mail

    Recently I have noticed that I get the rainbow spinning wheel when using Mail.
    I have upgraded to Mavricks
    This seems to happen when looking for an address
    Also when I attempt to move emails from inbox to another mailbox this does not happen.

    A general cure for Mail problems is Mailbox > Rebuild.  Don't know if it applies to your problem but it shoud not hurt. 
    P.S.  Have a current Time Machine or other backup before attempting any major software updates or rebuilds.

  • Why can't I see my hotmail folders when using Mail on my Mac, but I can see them when I use Mail on my iPhone, weird?

    I've set up Mail on my new Mac, but the folders I have set up in my Hotmail are not visible. Funny, coz I can see the folders when using Mail on my Iphone. Have I set the connection between Hotmail and my Mac incorrectly? It was very automated so I don't know what I did incorrectly. Can anyone out there give me a tip?
    Cheers, Paul

    I've set up Mail on my new Mac, but the folders I have set up in my Hotmail are not visible. Funny, coz I can see the folders when using Mail on my Iphone. Have I set the connection between Hotmail and my Mac incorrectly? It was very automated so I don't know what I did incorrectly. Can anyone out there give me a tip?
    Cheers, Paul

  • When use mail, or safari mounting lion, get too slow.

    i install mountain lion  and actualize with version 10.8.2. after a days, when use mail, or safari mounting lion, get too slow. But extremely slow.
    I restart, and use google crome, and everything is ok. But when i try to use again the mail (mac) get slow after 5 minute. If i dont open mail or safari, o calendar, everything is ok.
    What i see is in spotlight the signal " INDEXING USER COMPUTER"
    Can someone help me?
    I am disappointed with this new system.
    sorry for my english!
    juan

    Muchas gracias!!! Ralston Champagnie
    Is true, we must to be patient in life!!!
    juan

  • When using mail on my iMac, my folders disappeared.  Using OS X Yosemite v 10.10.1 and Mail v 8.1 How do I get them back?

    When using mail on my iMac, my folders disappeared.  I am using OS X Yosemite v 10.10.1 and Mail v 8.1 How do I get them back?

    The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The  MAILBOXES category can't be hidden.
    In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down.

  • Thin flickering white line at the very top of screen when using mail

    using an imac 27 inch, new...
    there is a thin flickering white line at the very top of screen when using mail.
    usually when sending a mail or when the cursor moves over a link ( in apple mail )
    the flickering line is just under the very top menu bar which has the date on etc...
    anyone else had this or know how to fix it?
    cheers

    I am facing the same problem. In fact mac book pro 13 retina was in the 14 day period so I got it retuned today, after directions from the apple telephone support. However, the new machine I got in exchange has the same problem or flickering line under the menu tab.
    The only relief it seems is the fact that it's not a hardware problem probably. I also think so because if I do a full screen which essentially means there is no menu bar, then there is no flickering white line.
    Hope apple fixes this. Sad to notice this drop in apple quality, and yet not fixed.

  • Known issue: Speech APIs fail when an x86 package is run on an x64 desktop (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When building an app for the x86 platform, speech APIs fail when the x86 package is run on the desktop of an x64 system. You may see an error with the message "mod not found".

    Use the Visual Studio Configuration Manager to retarget the app to x64 when running on an x64 system.

  • [svn:bz-4.x] 16147: Fix a few more regression tests on the 4. x branch that were failing when using Spring integration.

    Revision: 16147
    Revision: 16147
    Author:   [email protected]
    Date:     2010-05-17 06:18:38 -0700 (Mon, 17 May 2010)
    Log Message:
    Fix a few more regression tests on the 4.x branch that were failing when using Spring integration.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/ROMessage Destination.java
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/RuntimeCo nfigurator.java
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/flex-config.xml

    Well heres my story. I tried kde4 from extra the last 3 weeks and I like it. I have used xfce for the past 3 years, previous to that gnome. Tried kde but never really liked it. Now I am only using workspace, base, mutimedia and graphics.
    Here is what I like.
    1- Dolphin, awesome I have used thunar a while and it is great but I love splitview, and fish for ssh (which has been around a while I know), and the ability to mount other partitions on my hdd with a click no fstab entry or nothin'.
    2-Pretty, I've used xfce with built in compositor an love the snappiness. But I like desktop grid with kde4 and flipswitch. Compiz-fusion is cool but I prefer not to use I'll take what the DE gives. Plasmoid are cool too.
    3- Gwenview is nice too. Use to use gqview, but thumnails are nice.
    Looking forward to or lacking
    1- Keyboard shortcuts, Yes xbindkeys is there but if I have a DE I want it to do it. They just don't work now.
    2- kde4 has windows specific settings, but I can't set the opacity for particular windows , doesn't work.
    3- Ram of course is much higher in kde4, but maybe I'm getting old I just don't care as much.

  • IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.

    Hi,
    I just saw the release notes for Endeca 6.2.2 and read this bug:
    IFCORE-1565: The Dgraph could fail when using a relevance ranking strategy.
    Is there someone who could provide some more information on this bug? What is it and when does it occur? Reading the word 'could' would suggest a kind of unpredictability?
    Thanks,
    Maarten

    The known trigger for the bug was doing relrank on a query that contained multiple text searches.

  • When MAIL adapter failed to send the mail to recever, how does it handle XI

    Hi Experts,
            I used dynamic mail adapter, how do we track whether the mail has been successfully received by receiver,  if it is failed to send the mail by mail adapter how do we handle in XI. Please help me out.
    thanks
    siva

    Siva:
    There is one option in Mail Adapter (Receiver) "Send Delivery Status Notification". I think, it will help you to get the status. When you fill the above option, you are required to fill a recipient email id to whom, the status of the email will be emailed. From there, you can get the status. Please dig little more into this.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Couldn't find delivery channel when using Mail-Package

    Hi,
    I use the mail receiver adapter. If I configure the mail header data (sender, receiver, subject) in the adapter configuration everything works fine. But now I need a dynamic subject, so I thought of using "mail package". But now I get an error "Couldn't find receiver channel for message..."
    The mail package looks like this:
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>[email protected]</Subject>
      <From>[email protected]</From>
      <To>[email protected]</To>
      <Content_Type>text/xml</Content_Type>
      <Content>This is my mail content</Content>
      </ns1:Mail>
    Has anyone an idea - thanks a lot - werner

    Hi Werner,
    some time ago I posted a weblogs
    which describes such a configuration
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    have a look at it
    BTW
    >>>>now I need a dynamic subject
    if you have sp14 or above then there's much
    easier method with adapter identifiers
    (then you can set the subject in message mapping )
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Xi 3.0: Mail adapter fails with "exception in method process"

    Hi.
    I configured the dynamic address for mail adapter following the fantastic-as-always weblog from michalgh.
    Althou everything seems to work fine (that is, i send correctly the email message) the A.F. returns an error with "exception in method process".
    I tried both async and sync case with the same result. In the sync case, the response contains:
    <!--  Call Adapter   -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="PARSING">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any idea???

    Yes. There is also a response message in the imported structure.. it seems it should work as a kind of application ack with some info on the server that processed the mail.
    Anyway, in my server i get a 404 for the link you suggested.
    In the async case i don't get any error on the SXMB_MONI but only on the A.F.
    I attach the audit log for the async case:
    Audit Log for Message: ffb28585-3c53-0f4b-b366-7dd7a00513fc
    Time Stamp Status Thread ID Sequence No. Description
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_45 1118608026046 The message was successfully received by the messaging system. Profile: XI URL: http://CAPELAB010:50000/MessagingSystem/receive/AFW/XI
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_45 1118608026062 Using connection AFW. Trying to put the message into the receive queue.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026093 The message was successfully retrieved from the receive queue.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026375 The message status set to DLNG.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026468 Delivering to channel: MAIL_RECV
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026468 Mail: message entering the adapter
    2005-06-12 22:27:06 Error SAPEngine_Application_Thread[impl:3]_34 1118608026828 Exception caught by adapter framework: Failed to call the endpoint
    2005-06-12 22:27:06 Error SAPEngine_Application_Thread[impl:3]_34 1118608026828 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026843 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:32:06 CEST 2005.
    2005-06-12 22:27:06 Success SAPEngine_Application_Thread[impl:3]_34 1118608026859 The message status set to WAIT.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327109 The message was successfully retrieved from the receive queue.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327125 The message status set to DLNG.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327156 Delivering to channel: MAIL_RECV
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327171 Mail: message entering the adapter
    2005-06-12 22:32:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608327250 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:32:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608327250 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327281 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:37:07 CEST 2005.
    2005-06-12 22:32:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608327296 The message status set to WAIT.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627421 The message was successfully retrieved from the receive queue.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627437 The message status set to DLNG.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627546 Delivering to channel: MAIL_RECV
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627562 Mail: message entering the adapter
    2005-06-12 22:37:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608627671 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:37:07 Error SAPEngine_Application_Thread[impl:3]_34 1118608627671 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627703 The asynchronous message was successfully scheduled to be delivered at Sun Jun 12 22:42:07 CEST 2005.
    2005-06-12 22:37:07 Success SAPEngine_Application_Thread[impl:3]_34 1118608627734 The message status set to WAIT.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927734 The message was successfully retrieved from the receive queue.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927734 The message status set to DLNG.
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927750 Delivering to channel: MAIL_RECV
    2005-06-12 22:42:07 Success SAPEngine_Application_Thread[impl:3]_40 1118608927750 Mail: message entering the adapter
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927765 Exception caught by adapter framework: Failed to call the endpoint 
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927781 Delivery of the message to the application using connection AFW failed, due to: Failed to call the endpoint .
    2005-06-12 22:42:07 Error SAPEngine_Application_Thread[impl:3]_40 1118608927796 The message status set to NDLV.
           Total: 33 Entries   1020304050 messages displayed per page; this is page 1 of  1 page(s)     

Maybe you are looking for