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>

Similar Messages

  • Error: Couldn't find delivery channel for message

    Hi All,
    In our production environment, we sometime get the following error (Channel Audit Log):
    2009-01-12 15:08:47 Error Unable to find channel ID
    2009-01-12 15:08:47 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Couldn't find delivery channel for message: 496b9e98-9466-0109-e100-8000ac10a218.
    2009-01-12 15:08:47 Error The message status set to NDLV.
    This particular interface runs around 100 times a day without any issues, however around once or twice  a month we get this error.
    This is a synchronous interface.
    Could be because of number of threads alloted for Synchronous messages in Visual Admin.
    Thanks.

    Hi XIer
    try doing a CPACache Refresh:
    Http://<host>:50000/CPACache/refresh?mode=full)
    Best regards,
    Chris

  • 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

  • Error while using Mail Package for dynamic email address - XMLScanException

    Hi All,
        i am trying to implement File_to_Mail Scanrio. Here i am using mail package stuff to make use the dynamic mail Id's. i am following the blog /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address. i have finished all the settings as per the blog but it throwing the following error
    failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found Mail at state 1
    Please help me to resolve this error.
    Thanks in advance
    -Siva
    Edited by: Siva Ram on Jan 18, 2008 7:43 AM
    Edited by: Siva Ram on Jan 18, 2008 7:43 AM
    Edited by: Siva Ram on Jan 18, 2008 7:44 AM
    Edited by: Siva Ram on Jan 18, 2008 7:44 AM
    Edited by: Siva Ram on Jan 21, 2008 5:59 AM

    Hi Siva
    check with these threads discuss the same XMLScanException
    Mail adapter fails when using Mail Package Format
    Error in E-mail Adapter - Message protocol XIALL
    Mapping Error with mail package
    Error in Mail Adapter
    See the below links also
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    Error in Mail Adapter
    Mapping Error with mail package
    Regards
    Abhishek

  • HT5361 Can I use send and delivery receipts when composing mail?

    Does anyone know if I can ask for read receipts and delivery receipts when composing mail?

    Additionally (to BobtheFisherman):
    And his suggested method will work just as well as any send/read receipt since many recipients will not allow such a receipt be sent. If it is important enough to require a receipt, send it via USPS return receipt requested, or FedEx, etc.

  • 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.

  • 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.

  • 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.

  • File to Mail using Mail Package

    Hello,
    I have a requirement where we receive a csv file having mutiple columns, one of them being the email address.
    I need to get this email address from the file and send this file as an attachment to the same email address.(Dynamic email address)
    I have used the Mail xsd and have done graphical mapping to achieve this.
    Now,the problem is,if I use Mail package for dynamic email address,I am not able to get the source file as an attachment because the payload here is a mail structure.
    If I get source file as an attachment using PayloadSwapBean and MessageTransformBean,I cannot have dynamic email address.
    Can anyone please suggest a solution to this?
    Thanks in advance for your help.
    Regards,
    Shweta

    Hi Stefan,
    Thanks for the reply.
    But I think,I am not able to understand the solution mentioned by you.
    I can find following fields in ASMA mail adapter:
    Meaning
    Technical name
    User
    TServerLocation
    Authentication Keys
    TAuthKey
    Mail header 'from' field
    THeaderFROM
    Mail header 'to' field
    THeaderTO
    Mail header 'Cc' field
    THeaderCC
    Mail header 'Bcc' field
    THeaderBCC
    Mail header 'subject' field
    THeaderSUBJECT
    Mail header field for reference to mail which is being replied to
    THeaderIN-REPLY-TO
    Mail header 'reply to' field
    THeaderREPLY-TO
    Mail header field for mail client program
    THeaderX-MAILER
    Mail header field for delivery acknowledgement
    THeaderDISPOSITION-NOTIFICATION-TO
    Mail header field for priority
    THeaderPRIORITY
    Mail header field for message importance
    THeaderIMPORTANCE
    I couldn't find a field related to attachments.
    I can see the xml version of file in inbound message in SXI_MONITOR.
    But after mapping,I get Mail package structure.
    Could you please explain again.Sorry for this.
    Thanks.
    Regards,
    Shweta

  • Error in mail adapter whilst using 'mail package' option

    Hello,
    I am using receiver mail adapter. Its working fine when I do not use 'mail package option'. But when I use mail package option, this error comes in
    Message processing failed. Cause: com.sap.aii.af.modules.conversion.xml2plain.ConversionException: No data is allowed on this structure level (2) at XML element Mail,Subject
    This is the sample of payload:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>Data Update to  Portal failed</Subject>
      <From>sender email id/From>
      <To>receiver email id/To>
      <Reply_To />
      <Content_Type>text/plain</Content_Type>
      <Content>Error: Undefined Error</Content>
      </ns1:Mail>
    Any idea what should I do to get it working. Alternatively, is it possible to use the dynamic value into the email 'TO' field.
    Thanks in adavance

    Hi All,
    I need the same info in my requirement . The Scenario is MAIL > FILE . THe Vendor sends the email with  Invoices ( An Attachment) to a mail server and the attachment has to be moved to the network folder (File )
    Here , I used  IMAP4 Protocol in MAil Sender CC
    I wanted to know is it  required to use :localejbs/ AF_Modules/PayloadSwapBean and any module configuration to petch the attachment  ?

  • Dynamically pass subject via mail adapter without using mail package

    Hi,
    We have requirement to pass the Dynamic variable as Mail subject
    we can't use Mail Package as we need to capture the data from Dynamic SOAP header Data from incomming channel
    Dynamic SOAP Header variable (XHeaderName1) comming from Sender SOAP channel.
    Receiver side we need to capture that XHeaderName1 in Mail Adapter channel using ASMA and Variable transport binding so that value of XHeaderName1 should overwrite Subject under General/ Mail Atribute section.
    Could you please let me know, how to handle this requirement using module configuration?
    Also suggest the correct configuration to use ASMA and Variable transport binding.
    Regards
    Venky

    Hi Venky,
    Please have a look at the links below. They should help you.
    Configuring the Sender SOAP Adapter- https://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Configuring the Receiver Mail Adapter-https://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Adapter-Specific Message Attributes in the Message Header  -https://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    Regards,
    Jannus Botha

  • Dynamic attachment name with receiver mail adapter and use mail package

    We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload).
    I could probably do this using the adapter module (as per the following link),
    http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Set%20Attachment%20Name?bc=true
    I would like to explore if this would be feasible using Mail package and XI payload.I already have a Java mapping that is converting the input XML to required Output format. If I am using Mail package (XI Payload), how do I go about sending this Output XML from java mapping as attachment to email id available in the input payload?

    Hi,
    1) XML payload as attachment (with dynamic name)
    2) recipient (recipient email id is part of input xml payload, but not part of the mapped XML payload)
    These two is possible by using Mail Package. You have a standard xsd for mail package which you can download from the SAP Note 748024.
    The xml created in you java mapping which will be your attachment should be put into the <content> tag of the mail package xml structure. and the file name can be set in the <Content_Type> tag.
    <?xml version="1.0"; encoding="UTF-8"?>
    <p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
    <Subject>My Invoice</Subject>
    <From>from email address<;/From>
    <To>to email address</To>
    <Content_Type>text/plain;name="MyFile.csv";</Content_Type>  --> file name here
    <Content>123;A49;aaa</Content>   -> attachment xml here
    </p2:Mail>
    And you have to select MailPackage in the receiver mail adapter.
    Regards,
    Aravind

Maybe you are looking for

  • Link SRM and back-end in a query

    hi experts, i'm doing a query in SRM 4.0 with a back-end ECC 6.0. This query includes some TABLES/VIEWS of SRM and others of ECC 6.0 (MM module). Pay attention: i know how is possible to link the views between them, i need to know how to connect two

  • Is it possible to load .swfs on top of scrollpane

    I have a scrollpane that links to a movie clip in my library that holds about 40 buttons. I'm using the scrollpane since the layout doesn't have enough room to show them all at once. This way the user can scroll down to see all the names. These butto

  • Help Required - Need to add current user as superuser

    Is there a way to add my user account to the superuser group in Solaris 10? I need to install some pretty heavy software which involves unpacking and repacking war files so would like to be superuser throughout. I am using a VM and am not concerned w

  • Flat File Data Loads to BI 7.0

    Hi Experts, Please update me what is the best approach i have to follow for the below scenario of Flat File Data Loads I will get data in Excel ....with Two worksheets....from the user My requirment is to place the file in Central location avaliable

  • Iphone not removing reoccuring Outlook Calender events! ARGH

    Help. I've been syncing my iphone with my Outlook 2003 calendar all the time for months. I had a couple of re-occuring events that happened every week, those events have since expired, but the iphone g3 still thinks they are there and beeps at the ev