Error in receiver Mail Adapter of PI 7.1

Hi Team,
I had configured Mail Receiver Adapter in PI 7.1 with the following Parameters.
I had imported the XSD given & Mapped only Subject, From, To, Content fields.
In Receiver Communication Channel parameters are
*Transport Protocol = SMTP
Message Protocol = XIALL
URL = SMTP url given
Authentication Method = Plain
User/ Password given for my id only
MAIL Attributes
From, To = my own company id
Content Encoding = base64*
These are the seeing i had done for Mail Receiver Communication Channel
When I test by HTTP, i am getting Succesful in Moni & in Adapter i am finding this error.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error: invalid XIMailAdapter channel 'b7b80e17d9e336b38354f663c01aed68'
Mail Settings have been done in System, got even Test mails from System.
Thanks in Advance,
Sriram

See, the XSD that you are referring or the blog is referring needs to be imported under External Definitions and directly use it in message interface & message mapping ....you dont again need to create a DT based on that XSD!......you will need a DT & MT just on the sender side (in your particular case)
So just create the DT for sender (you seem to have done this part).....import the XSD into IR from this location
https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
use it on the receiver side.....The only thing that i wanted to mention is that when you enter the Subject, To, From details in CC you can even design your own DT for receiver side
I hope that you are entering the URl in this format --> smtp://<the url>
Check this thread :invalid XIMailAdapter
and this blog to confirm your settings: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
Regards,
Abhishek.

Similar Messages

  • Error at Receiver Mail adapter modules

    Hi,
    We have implemented a receiver mail adapter for producing Excel file as attachment.
    It is giving the error as follows:
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of MessageTransformBean.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of MessageTransformBean..
    This configuration has worked well earlier, and suddenly it is throwing this error.
    Please let me know what might be the reson for this.
    Thank you.
    Regards
    Bhanu.
    Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AM
    Edited by: Bhanu Tiruveedula on Sep 15, 2009 1:00 AM

    Hi,
    I didn't use the fullstop.
    Can anybody help me in resolving this issue?
    Thanks.

  • Error in receiver Mail adapter: Client was not authenticated

    Hi.
    My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same.
    Tramsport Protocol: SMTP
    Message Protocol: XIPAYLOAD
    URL: To get the value of URL, execute transaction SCOT in PI system. Double click on SMTP and get the Mail host from there (name). So the URL has been specified as smtp://name
    Comfigure User authentication - Checked
    User: My outlook email address
    Password: My outlook email password
    From:  My outlook email address
    To: External address to which the email needs to be sent
    Content encoding: base64
    But the email is not getting sent. when I check the adapter engine I see the errors:
    Mail: error occured: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Mail: error occured: com.sap.aii.af.lib.mp.module.ModuleException
    MP: exception caught with cause com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated
    Adapter Framework caught exception: Failed to call the endpoint
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.1 Client was not authenticated.
    Can anyone please suggest what changes are needed to make this work?
    Any help is greatly appreciated.
    Thanks.
    Anuradha.

    HI Anuradha,
    Check the below link for receiver mail configuration and follow the steps accordingly.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    Regards,
    Naveen

  • Error on Receiver Mail Adapter (SMTP)

    Hi All,
    I'm going to exchange message within mail to mail scenario like synchronous one. Sender Mail Adapter is running well, it can take any email in inbox. but when I want to send the email back to the sender, the receiver adapter doesn't work. here is my config :
    Receiver :
    Transport Protocol   : SMTP
    Message Protocol    : XIPAYLOAD
    Adapter Engine        : Central Adapter Engine
    URL : smtps://[outgoing_mail] (use smtps because it use SSL)
    Tick 'Configure User Authentication'
    Authentication Method : Plain
    User : [Username]
    Password : [Password]
    Tick 'Use Mail Package'
    Content Encoding : Base64
    Tick 'Keep Attachment'
    The error Message in RWB :
    - failed to send mail: java.io.IOException: unable to create a socket
    - Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.io.IOException: unable to create a socket
    I was config and run successfully in Outlook Express.
    There was something wrong with my config in PI? Please Help me..
    Regards,
    Glenn

    Hi Nunes,
    I already test this mail account using microsoft outlook express. smtp port with ssl is 25 or port 587 work fine.
    my basis team had already investigate and do some config such as, install cryptolib, config sapconnect, etc, but no luck.
    here is some error log from our server:
    #2.0 #3 20:15:00:748#+0700#Error#com.sap.aii.af.sdk.xi.net.SMTPClientConnection#
    #BC-XI-CON-AFW#com.sap.aii.af.lib#00215ACD468400E200000001000009B4#2170350000001401#sap.com/com.sap.aii.adapter.mail.app#com.sap.aii.af.sdk.xi.net.SMTPClientConnection.send(Object)#J2EE_GUEST#0#SAP J2EE Engine JTA Transaction : [0211dffffffee0023ffffff94]#101B37B806B611E0A2CF00215ACD4684#101b37b806b611e0a2cf00215acd4684#101b37b806b611e0a2cf00215acd4684#0#MS Queue Worker [Mail_http://sap.com/xi/XI/SystemRecv]#Plain##
    additional info ssl_debug(44): Starting handshake (iSaSiLk 4.31)...
    ssl_debug(44): Sending v3 client_hello message to <outgoing_mail_server>:25, requesting version 3.2...
    ssl_debug(44): SSLException while handshaking: Invalid SSL message, peer seems to be talking plain!
    ssl_debug(44): Sending alert: Alert Fatal: handshake failure
    ssl_debug(44): Shutting down SSL layer...
    any other suggestion?
    Edited by: Glenn Prasetya on Dec 15, 2010 4:40 AM

  • Error in receiver mail adapter

    Hi,
    i am working with file to mail scenario.
    I have two files.The second file i am sending as an attachment with the first file.
    My receiver communication channel has following error::
    error occured: [2006-11-08T07:35:08Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to RCPT TO; 550 5.7.1 Unable to relay for [email protected]
    Please provide some help on it.
    Thanks & Regards,
    Nilima J.Rodrigues

    Hi,
    Now i am getting the emailat my email id.
    But when i try to open the file,it displays the following contents::
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    A name was started with an invalid character. Error processing resource 'file:///C:/Documents and Settings/nilrodri/Local S...
    The second file is an image file(.jpg).
    Filename is appearing but when i open it ,it says 'No preview available.'
    Please provide some help on it.
    Thanks & Regards,
    Nilima

  • Receiver Mail Adapter configuration Error???

    Hi,
    i've created a Mail Adapter with the following configuration:
    Adaptertype: Mail
    Receiver
    Transport-Protocol: SMTP
    Message-Protocol: XIPAYLOAD
    Adapter-Engine: Integration-Engine
    I set From and To Fields to a valid address. When i start a test the message is passing the integration engine and an error occurs within the mail-adapter:
    Mail: Configuration error: Channel 7a15b118b96b392bbc9be5922f55b7d0is not configured for XIMailAdapter
    Mail: call failed; com.sap.aii.af.ra.ms.api.RecoverableException: Error: invalid XIMailAdapter channel 7a15b118b96b392bbc9be5922f55b7d0
    How can this happen?
    regards
    ms

    Hi,
    Reffer these BLOGS
    /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/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    <u><b>Target Structure:::::</b></u>
    - <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
    xmlns:xi="http://sap.com/xi/XI/Mail/30"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    - <!--
    Mail
    -->
    - <xs:element name="Mail">
    - <xs:annotation>
    <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
    </xs:annotation>
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="Subject" type="xs:string" minOccurs="0" />
    <xs:element name="From" type="xs:string" minOccurs="0" />
    <xs:element name="To" type="xs:string" minOccurs="0" />
    <xs:element name="Reply_To" type="xs:string" minOccurs="0" />
    <xs:element name="Content_Type" type="xs:string" minOccurs="0" />
    <xs:element name="Date" type="xs:dateTime" minOccurs="0" />
    <xs:element name="Message_ID" type="xs:string" minOccurs="0" />
    <xs:element name="X_Mailer" type="xs:string" minOccurs="0" />
    - <xs:element name="Content" minOccurs="0">
    - <xs:annotation>
    <xs:documentation>any type</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="encoding" type="xs:string" />
    </xs:complexType>
    </xs:element>
    - <xs:element name="MailReceipt">
    - <xs:annotation>
    <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
    </xs:annotation>
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="Server" type="xs:string" />
    <xs:element name="Format" type="xs:string" />
    <xs:element name="UseMailPackage" type="xs:boolean" />
    <xs:element name="Encoding" type="xs:string" />
    <xs:element name="Subject" type="xs:string" minOccurs="0" />
    <xs:element name="From" type="xs:dateTime" minOccurs="0" />
    <xs:element name="To" type="xs:string" minOccurs="0" />
    <xs:element name="Date" type="xs:dateTime" minOccurs="0" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    Regards
    Seshagiri

  • Receiver Mail adapter errors

    I am trying to configure a receiver mail adapter..
    Our system is using microsoft exchange server and i specified the following,
    URL: Microsoft Exchange Server
    and I get the following exception in Adapter monitoring,
    Mail: error occured: com.sap.aii.af.mp.module.ModuleException
    Has anybody encountered this error and if so how should this be resolved?

    Hi
    <i>>>Our system is using microsoft exchange server</i>
    Ok ur company is using Microsoft Exchange Server, then r u sure the name of ur server is also Microsoft Exchange Server becoz in our company we hav a specific name of our Microsoft Exchange Server.
    <i>>>URL: Microsoft Exchange Server</i>
    The URL shd b something like this
    <b>URL</b>: smtp://<b>name of Microsoft Exchange Server</b>
    Hope it helps.
    Regards
    Arpit Seth

  • Receiver Mail Adapter

    Hi All,
    I am using Receiver Mail Adapter to send mails.
    When i choose Message Protocol the mail goes. But when i change it to XIPAYLOAD the mail doesnt go.
    I cannot find any errors in SXI_MONITOR or in adapter monitoring.
    My file is in this format..
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
      <Subject>Mail From XI new</Subject>
      <From>kmadmin</From>
      <To>[email protected]</To>
      <Content_Type>text/plain</Content_Type>
      <Date>2006/08/24</Date>
      <Content>Test mail from XI</Content>
      </ns0:Mail>
    Tried both ways..
    XIPAYLOAD without “Mail Package”
    XIPAYLOAD with “Mail Package”
    Can anyone temme where im going wrong..or any settings which i need to do.

    Bhavesh
    <i>Am not sure which SP onwards this is applicable. But , did you select and try with MAIL PACAKGE also selcted.</i>
    Tried using both wayz..
    You dont need to create ,http://sap.com/xi/XI/Mail/30  namespace in IR.
    The mail is going now..
    just disabled
    Content_type, Date in Mapping.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
      <Subject>Mail ALert XI</Subject>
      <From>kmadmin</From>
      <To>[email protected]</To>
      <Date>2006/08/24</Date>
      <Content>SQL Server Is Not Working</Content>
      </ns0:Mail>
    Thanks
    SUmit

  • Regarding Receiver Mail adapter.

    Hi experts,
    iam looking at one off the weblog whick  Michal Krawczyk have created.
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    in this weblog michal have told to download the XSD file from service market place  and upload it in IR External definition it gives us target structure.What is the use off it, we can directly create the target structure.
    And also one more dought what is the use off checking parameter in mail Attributes use mail package.I dont have much knowledge on mail adapter please help me in this issue.
    i want to send parameters dynamically into receiver mail adapter in my project ie(TO,FROM,SUB and CONTENT) please send links and doc's on it.
    Note: Helpfull answer will be rewarded.
    Thanks & regards,
    Phani

    Hi raj,
    Once again thanks for the reply,I will explain my object,its is any 2 senarios in one object.
    1) file to proxy were i upload employee details in to infotype2010 after inserting what ever error records i will l store them in error table.
    2)ater geting error records if i get more then 25 i have to send file path and error records to receiver side. or if i get all sucess also i have 2 send sucess flag into receiver side.
    but i haveto pick data from different systems and i have to send the data into different mail ids i have to generate TO FROM CONTENT dynamically.
    onsite have prepared TS(Tecnical specs) in that spec they gave XIALL and SMTP.
    so my question is using this parameters can i post them dynamically or  not.
    if YES ? then how??
    please help me in this issue.
    if u still dont understand give me ur id  i will send my TS.
    Thanks and regards,
    phani

  • Configuring Receiver mail adapter with dynamic email addresses

    Hi,
    I'm a newbie to XI and I have problems in configuring the Receiver mail adapter with the "Use Mail package" option selected. I am trying pickup a file (using file adapter on Sender side, picks up a simple XML file) and after mapping in XI, send the message as an email message to dynamic email addresses.
    Everything works fine if I did not select the "Use Mail Package". But when I choose that option it errors out. I followed this blog posted on SDN -
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    The following XML message is my source
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/Somenamespace">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>Studentlastname</lastname>
                <firstname>Studentfirstname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Test mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    What I want to accomplish is, I have a simple message mapping where the Studentdetails are mapped to, lets say Customer details. For convenience lets keep it simple, StudentId --> Customerid, (student)Firstname --> (customer)Firstname, (Student)Lastname --> (customer)Lastname
    I would like to get the Customer details as an XML attachment or in the body of an email with from, to and subject corresponding to that specified in the <Mail> node.
    I followed the instructions posted on the blog and it works fine if I don't map the studentdetails to customerdetails. I did multimapping, with one source message (the xml file I posted above) and two target messages (customerdetails and Mail, which is the external definition posted on the blog). I beleive I'm missing something here. Could somebody please guide me through this?
    Thanks
    Karthik

    hi,
    I still have not found the solution for this problem. Michal, your blog works fine when my source message has got only the mail details. As per your advice, I tried modified the structure of the xsd file as follows
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CustomerlistExternal">
        <xs:annotation>
          <xs:documentation>Customer List</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Customername" type="xs:string"/>
            <xs:element name="Customerid" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    My source message will be something like
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>abclname</lastname>
                <firstname>abcfname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Testing Mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    I have mapped the <student></student> information to customerlist, with customerid --> studentid and customername --> firstname or lastname (for symplicity). This was a multimapping with one source and two target messages. My test mapping output is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <ns2:Mail xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Subject>Testing Mail adapter</Subject>
                   <From>[email protected]</From>
                   <To>[email protected]</To>
              </ns2:Mail>
         </ns0:Message1>
         <ns0:Message2>
              <ns2:CustomerlistExternal xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Customername>abclname</Customername>
                   <Customerid>1</Customerid>
              </ns2:CustomerlistExternal>
         </ns0:Message2>
    </ns0:Messages>
    So how would I get this part of the <CustomerlistExternal></CustomerlistExternal> part of the message as an attachment to the mail address specified in the <ns2:Mail></ns2:Mail> tags.
    I'm definitely not understanding it right and am missing something. Could you give me step by step instructions to acheive this. I apologize for the trouble..this would be of great help to me.
    Thanks
    Karthik

  • Error in reciever mail adapter

    Hi all,
           I am testing my reciever mail adapter by sending message from runtime workbench.
    In sxmb_moni i get successfull status.But it is giving following error in reciever mail adapter :
    Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.net.UnknownHostException:XYZ
    failed to send mail: java.net.UnknownHostException: XYZ
    where xyz = My microsoft exchange server name  taken from tools->options->mail setups ->Email Accounts -->email tab  here we get microsoft exchange server name.
    Thanks
    Deepak

    Hi  Deepak ,
    Please refer this forum post .. if this helps.
    Reg:Receiver Mail Adapter
    Regards,
    srinivas

  • Error in Receiver Email adapter

    Hi
    I have done one scenario as file is sender and mail is receiver.
    In message monitoring it is giving success whereas mail is not generated..
    I have checked receiver mail adapter it is giving the following error:
    <b>error occured: [2006-01-09T06:36:47Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.net.SocketException: Software caused connection abort: connect</b>
    can any body suggest me to solve this problem
    Thanks
    N.Prasad Babu

    Hi prases,
    Check the configruation of your mail adapter. Hope this link helps,
    sender  mail adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    receiver mail adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    regards,
    bhavesh

  • Receiver mail adapter problem

    I am doing File -XI-Mail scenario.I am able to pickup the file but don't receive any mail.In RWB in communication channel monitoring I can see the error log for receiver mail adapter.The error is
    "failed to send mail: java.net.SocketException: Network is unreachable: connect"
    The configuration parameters I am using are:
    Transport Protocol:SMTP
    Message Protocol:XIALL
    URL:smtp://Outlook server host
    Userid:xxxxx
    PWD:xxxxxx
    I am at client network and the my outlook server is in my company network which we connect using VPN from client.Is this could be the reason for this error?
    Please let me know if someone has come across such error.
    Thanks,
    Rekha

    hi,
    >>>"failed to send mail: java.net.SocketException: Network is unreachable: connect"
    probably there's no communication between your XI server and mail server machine and XI server cannot access the mail server
    you need to report it to your network admin so it will allow the connection
    or he will set up a mail server on the XI server machine
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Error In Receiver BC adapter(EOIO not supported by protocol BC.)

    Hi Experts ,
    My Scenario is ABAP proxy to SAP BC .I had  bellow error  in Receiver BC adapter .
    Adapter Framework caught exception: Delivery semantics EOIO not supported by protocol BC.
    Error Delivering the message to the application using connection BC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.InvalidParamException: Delivery semantics EOIO not supported by protocol BC..
    Please help how to resolve this .
    Regards
    Upendra.V
    Edited by: upendra v on Oct 4, 2010 2:08 PM

    HI Anuradha,
    Check the below link for receiver mail configuration and follow the steps accordingly.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    Regards,
    Naveen

  • Receiver Mail adapter Content type issue

    Hello,
    I am formatting the body of the receiver mail. The body of the email  should look like below.
    Dear PI User,
    The following Interface has been successfully processed by the middleware PI system.
    Please do not reply to this email. If you need more information please contact the Super User.
    Regards,
    SAP PI Team
    The mapping looks fine and My source MT looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Mail_Reply xmlns:ns1="http://test.com/Mail/Reply"> 
    - <Reply>  [0..unbounded] 
    - <Item> [0..unbounded] 
    <MESSAGE>Dear Business User, </MESSAGE>   [0..1] 
    /Item>
    - <Item> 
    <MESSAGE>The following Interface has been successfully processed by the middleware PI system.</MESSAGE> [0..1]
    </Item>
    - <Item> 
    <MESSAGE>Please do not reply to this email. If you need more information please contact the Super User.</MESSAGE> [0..1]
    </Item>
    - <Item>
    <MESSAGE>Regards,</MESSAGE> [0..1] 
    </Item>
    - <Item>
    <MESSAGE>SAP PI Team </MESSAGE>  [0..1]
    </Item>
    </Reply>
    </ns1:MT_Mail_Reply>
    The mapping works fine without errors and I get the target message as below after mapping-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30"> 
    <Subject>ISAP PI Interface Status</Subject> 
    <From>[email protected]</From> 
    <To>[email protected]</To> 
    <Content>Dear Business User</Content> 
    <Content>The following Interface has been successfully processed by the middleware PI system.</Content> 
    <Content>Please do not reply to this email. If you need more information please contact the Super User</Content>
      <Content>Regards,</Content>
      <Content>SAP PI Team</Content>
    </ns1:Mail>
    t
    The context of MESSAGE has been changed to Reply.
    In the adapter I still get the following error.       
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: expecting end tag: {http://sap.com/xi/XI/Mail/30}Mail, but found {}Content at state 1
    Please advise !!
    Thanks,
    Teresa
    **I changed the receiver mail adapter to not use Mail package and I receive an email without errors with the Content as mentioned above. **

    Hi Teresa,
    I think the problem is that you are using multiple "Content" tags. Have you tried to use only one?, you can concatenate all your text.
    Check the page 3 of this document to know how introduce new-line character http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992?overridelayout=t…
    Regards.

Maybe you are looking for