Mail adapter configuration

Hi all,
  I am using the mail adapter to send mails to end users for a certain process from the integration server. The SXMB_MONI doesn’t give me any errors but I cannot see the mail coming through. On viewing the adapter monitor, I don’t see the mail adapter in the monitor though I have configured the mail adapter in the directory settings. Am I missing something? Do I have to do something extra to get the mail adapter into the adapter monitor? When I run the “trace , I am able to see the following error
<Trace level="3" type="T" />
  <Trace level="3" type="T">Unknown channel type: Mail</Trace>
  <Trace level="3" type="T" />
Any ideas please…
-Teresa

Hi Teresa,
If your XI system in on SP9 then check this OSS note:789584
It describes the solution for the problem "The XI 3.0 Adapter Monitor does not display the status of the mail adapters in detail"
This will atleast help you see what is happening with the mail adapter.
You may also want to check these OSS notes:
817049 and 810238 on mail adapter.(SP10)
Regards,
Sridhar

Similar Messages

  • Sender Mail Adapter Configuration error

    Hi,
    I am working on scenario mail adapter to CRM system. And when I tried to configure the sender email adapter I have got the error following error, Can any one help me to resolve this issues
    error occured: <b>exception caught during processing mail message; java.net.ConnectException: Connection refused</b>
    the details I have provided are as follows
    Transport protocol is POP3
    URL - POP://mailservername/Inbox/folder
    And I have tried with the IMAP4 also
    URL - IMAP://mailservername/Inbox/folder
    And we have cross checked that the XI server is able to ping that particular mail server.
    Regards,
    Venkat.

    Hi Venkateswara,
    I would suggest that you go through these to know how to configure your sender mail adapter,
    <a href="/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step mail adapter step by step</a>
    <a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure adapter Scenario</a>
    Also, to know the various parameters of a sender mail adapter, just go through this link,
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm">Configuring sender mail adapter</a>
    Check your mail adapter configuration against these details. Also, check if the mail server you are trying to access is running.
    Also go thru this pdf to make yourself more comfortable with mail adapters.
    https://websmp205.sap-ag.de/~sapidb/011000358700004556712005E/HowTo_Mail_Adapter2.pdf
    Regards,
    abhy

  • Mail Adapter Configuration in XI 3.0

    Hi all,
    i tried to set up a process using the mail adapter. Unfortunately it doesn't work. Has anyone succeeded in setting up a process with the mail adapter using POP3 and SMTP?

    Hi Michael,
    I did not find any documentation of the XI 3.0 mail adapter so result of practical test only for outgoing mail using SMTP:
    <b>Mail server settings:</b>
    SMTP port 8025 (you can configure any port of course)
    Account demo, password test
    <b>Mail adapter configuration:</b>
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXIMailImpl
    Part 0 : common part ######
    Mail.MailSubject="mail from adapter z_outmail"
    Mail.MailFrom=[email protected]
    Mail.MailTo=demo@<you mail server name>
    XIALL or XIPAYLOAD
    Mail.MessageProtocol=XIPAYLOAD
    Mail.Log=1110
    Part : XI client to Mail server ######
    OMail.TargetURL=smtp://<you mail server name>:8025
    OMail.User=demo
    OMail.Password=test
    The port and path where the adapter waits for XMB messages from clients.
    XI.Port=8240
    XI.Path=/z_outmail
    It look so that there is no POP3 support, just only IMAP.
    Jiri

  • Mail Adapter configuration connection timed out

    I am setting up a simple mail scenario to test if my mailadapter works.
    But I receive a error message in the Communication Channel I receive this error:
    "exception caught during processing mail message; java.net.ConnectException: Connection timed out: connect"
    Does anyone knows how to resolve this error?
    gr Roy

    Hi,
    Refer this thread.
    Sender Mail Adapter Configuration error
    Regards,
    Sudheer.

  • Sender Mail Adapter Configuration - Process Multiple Attachments

    Dear sirs,
    I need to process several attachments at the same mail message as individual payloads.
    In default configuration of sender mail adapter only the body of message is used as payload.
    So I added PayloadSwapBean Module at Processing Sequence and it processed the attachment I set in Module Configuration.  I'm not able to process all attachments available, just one attachment is sent to PI pipeline.
    How can I process all attachments of a single mail message?
    Thank you in advance.
    Fabio Purcino

    Hi Jose,
    We are trying to implement reading multiple attachment in sender mail adapter. 
    Our Requirement is : Reading a mail having multiple .xls files. This should be read and converted to payload .
    package multiswap;
    //import com.sap.aii.adapter.xi.ms.XIMessage;
    import com.sap.aii.af.lib.mp.module.*;
    import com.sap.aii.af.lib.trace.Trace;
    import com.sap.aii.af.sdk.xi.mo.Message;
    import com.sap.aii.af.sdk.xi.mo.MessageContext;
    import com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageOperator;
    import com.sap.aii.af.sdk.xi.mo.xmb.XMBPayload;
    import com.sap.aii.af.sdk.xi.util.PayloadType;
    import com.sap.aii.af.service.auditlog.Audit;
    import com.sap.aii.af.service.cpa.*;
    import com.sap.engine.interfaces.messaging.api.MessageDirection;
    import com.sap.engine.interfaces.messaging.api.MessageKey;
    import com.sap.engine.interfaces.messaging.api.Payload;
    import com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus;
    import java.util.Hashtable;
    import java.util.Iterator;
    import java.util.Locale;
    import javax.ejb.*;
    public class MultiSwapRead
        implements SessionBean, Module
        private static final String VERSION_ID = "$Id: //tc/xpi.af/NW731EXT_07_REL/src/_af_application_ejb_module/ejbm/api/com/sap" +
    "/aii/af/app/modules/PayloadSwapBean.java#1 $"
        private static final Trace TRACE = new Trace("$Id: //tc/xpi.af/NW731EXT_07_REL/src/_af_application_ejb_module/ejbm/api/com/sap" +
    "/aii/af/app/modules/PayloadSwapBean.java#1 $"
        private static final String SIGNATURE_PROCESS = "process(ModuleContext , ModuleData)";
        protected Hashtable cachedChannels;
        protected SessionContext myContext;
        public MultiSwapRead()
            cachedChannels = new Hashtable();
        public void ejbRemove()
        public void ejbActivate()
        public void ejbPassivate()
        public void setSessionContext(SessionContext context)
            myContext = context;
        public void ejbCreate()
            throws CreateException
        public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
            throws ModuleException
            if(TRACE.beLogged(200))
                TRACE.entering("process(ModuleContext , ModuleData)", new Object[] {
                    moduleContext, inputModuleData
            ModuleData outputModuleData;
            Iterator itr;
            outputModuleData = inputModuleData;
            String chid = moduleContext.getChannelID();
            TRACE.infoT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, (new StringBuilder()).append("performing payload swap for channel ").append(chid).toString());
            LookupManager lman = LookupManager.getInstance();
            Channel chan = null;
      try {
      chan = (Channel)LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, chid);
      } catch (CPAObjectNotFoundException e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
      } catch (CPAException e1) {
      // TODO Auto-generated catch block
      e1.printStackTrace();
            Direction direction = chan.getDirection();
            String swapkey = moduleContext.getContextData("swap.keyName");
            String keyvalue = moduleContext.getContextData("swap.keyValue");
            Object obj = inputModuleData.getPrincipalData();
            Object pivotedObj = inputModuleData.getSupplementalData("mp.pivoted");
            boolean pivoted = pivotedObj == null || !(pivotedObj instanceof Boolean) ? false : ((Boolean)pivotedObj).booleanValue();
            Message mo = null;
            if(obj instanceof com.sap.engine.interfaces.messaging.api.Message)
                mo = (Message)((com.sap.engine.interfaces.messaging.api.Message)obj);
            } else
            if(obj instanceof MessageContext)
                mo = ((MessageContext)obj).getMessage();
            } else
                TRACE.warningT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, "no message found");
            if(mo != null && XMBMessageOperator.numberOfPayloads(mo) > 0)
               // String midstr = XMBMessageOperator.getMessageId(mo).toString();
                MessageKey auditkey = new MessageKey(((com.sap.engine.interfaces.messaging.api.Message) mo).getMessageId(), com.sap.engine.interfaces.messaging.api.MessageDirection.INBOUND);
                itr = (Iterator) mo.getAttachments();
                if(swapkey != null && keyvalue != null)
                    StringBuffer textSwappingbyBuf = new StringBuffer();
                    textSwappingbyBuf.append("Swap: swapping by '").append(swapkey).append("' ? '").append(keyvalue).append("'");
                    String textSwappingby = textSwappingbyBuf.toString();
                    TRACE.infoT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, textSwappingby);
                    Audit.addAuditLogEntry(auditkey, AuditLogStatus.SUCCESS, textSwappingby);
                   while (itr.hasNext()){
                    boolean swappedp = swapPayloads(mo, swapkey, keyvalue);
                    String swappedStatus = swappedp ? "Swap: successfully swapped" : "Swap: no matching payload found";
                    Audit.addAuditLogEntry(auditkey, AuditLogStatus.SUCCESS, swappedStatus);
                } else
                    StringBuffer textInvalidBuf = new StringBuffer();
                    textInvalidBuf.append("Swap: parameter missing ");
                    if(swapkey == null)
                        textInvalidBuf.append("swap.keyName");
                    if(swapkey == null && keyvalue == null)
                        textInvalidBuf.append(" and ");
                    if(keyvalue == null)
                        textInvalidBuf.append("swap.keyValue");
                    String textInvalid = textInvalidBuf.toString();
                    TRACE.warningT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, textInvalid);
                    Audit.addAuditLogEntry(auditkey, AuditLogStatus.WARNING, textInvalid);
            } else
                String messageEmpty = "Swap: message is empty or has no payload";
                TRACE.infoT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, messageEmpty);
            return outputModuleData;
        private static boolean swapPayloads(Message mo, String swapkey, String keyvalue)
            swapkey = swapkey.toUpperCase(Locale.ENGLISH);
            keyvalue = keyvalue.toUpperCase(Locale.ENGLISH);
            int ifound = -1;
            for(int i = 0; i < XMBMessageOperator.numberOfPayloads(mo); i++)
                XMBPayload pldi = XMBMessageOperator.getPayload(mo, i);
                String pldivalue = null;
                if(swapkey.equals("PAYLOAD-DESCRIPTION"))
                    pldivalue = pldi.getPayloadDescription();
                } else
                if(swapkey.equals("PAYLOAD-NAME"))
                    pldivalue = pldi.getPayloadName();
                } else
                    pldivalue = pldi.getContentAttribute(swapkey);
                if(pldivalue == null)
                    continue;
                pldivalue = pldivalue.toUpperCase(Locale.ENGLISH);
                if(pldivalue.indexOf(keyvalue) < 0)
                    continue;
                ifound = i;
                break;
            if(ifound >= 0)
                XMBPayload pldfound = XMBMessageOperator.getPayload(mo, ifound);
                if(pldfound.getPayloadType() != PayloadType.APPLICATION)
                    XMBPayload pldapp = XMBMessageOperator.getApplicationPayload(mo);
                    if(pldapp == null)
                        pldfound.setPayloadType(PayloadType.APPLICATION);
                    } else
                        pldapp.setPayloadType(PayloadType.APPLICATION_ATTACHMENT);
                        pldfound.setPayloadType(PayloadType.APPLICATION);
                    TRACE.infoT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, "successfully swapped");
                return true;
            } else
                TRACE.warningT("process(ModuleContext , ModuleData)", ModuleCategories.SAP_MODULE_ROOT, "no matching found");
                return false;
    We couldn't go further. Please have a look in highlighted code.
    Regards,
    Kesava.

  • Receiver mail adapter configuration for e-mail attachments

    Hi ,
    I need to send two files from sender file adapter to receiver mail adapter as e mail attachment.
    I want same attachment name in email as on sender side on FTP location.
    This is by pass scenario no object created in ESR.Please suggest how to handle this.
    For example if file name test.txt is send by file adapter then on mail  attachment name should be test.txt
    Thanks
    Mohit
    Edited by: Mohit Verma on Feb 10, 2012 4:18 PM

    Hi Mohit,
    Follow this blog for the ID configuration:
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4383
    Create Receiver Determination and Interface Determination as described, and add a sender file CC and receiver mail CC according to your needs, plus sender and receiver agreements.
    In order to maintain the original file names, use a simple adapter module with the code mentioned here:
    http://forums.sdn.sap.com/thread.jspa?threadID=2122711&start=14
    Hope this helps,
    Greg

  • 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

  • Sender Mail adapter configuration with attachment

    Hi,
    I read the below blog regarding the mail adapter
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    I have the same requirement but the attachment file is not an XML, it is CSV file so in the module tab if I change like below is it enough?
    TRANSFORM    swap.keyValue  attachment; filename=u201DMailAttachment-1.csvu201D     (I think MailAttachment-1 is the file name, am I correct?)
    If I change like above is it ok? or any other thing is required, Could you please give me the inputs
    Thanks
    Ramesh

    I have the same requirement but the attachment file is not an XML, it is CSV file so in the module tab if I change like below is
    it enough?
    PayloadSwapBean will ensure that the input to the mapping is from the attachment.....in the blog the attachment is in XML format and hence there was no need for any conversion.....yours is however a CSV file so you need to convert it to XML first and then do the further processing.....you can either use the MessageTransformationBean as shown in this blog:
    /people/gabrielsagayaselvam.panneerselvam/blog/2009/08/31/solve-key-field-problem-using-structplain2xml-in-messagetransformationbean
    Or write your own module code for the conversion.
    Regards,
    Abhishek.

  • Sender Mail Adapter configuration connection timed out

    Hi All,
    I am setting up a simple sender mail scenario to test if my mailadapter works.
    But I receive a error message in the Sender Communication Channel I receive this error:
    "exception caught during processing mail message; java.net.ConnectException: Connection timed out: connect"
    I tested File Sender to Mail Receiver Scenario it worked fine.
    But Sender Mail to File Receiver is not working and giving above exception.
    Mail Sender SetUp
    pop://xx.xxx.xx.xx
    In User and Password I have given my Lotus Notes Server user & password credentials
    Pls suggest

    HI Rachit,
    Have you seen the thread
    Sender Mail Adapter
    There it is mentioned that the Lotus notes mail id shoudl be POP3 enabled. Try doing that
    Regards
    Suraj

  • Issue with Sender Mail Adapter Configuration

    Hi All,
    We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
    Default XI Parameters : Default Interface Namespace and Default Interface Name.
    Also, we are geeting a Nullpoinetr exeception in RWB.
    Kindly provide your suggestions.
    Thanks & Regards,
    Navneeth K.

    Hi.
    I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
    AF_Modules/DynamicConfigurationBean     Local Enterprise Bean
    with
    parameters:
    message.interface=<Your Interface Name>
    and
    message.interfaceNamespac=<Your Interface Namespace>
    Note that last parameter name is not interfaceNamespace but interfaceNamespac .
    It would be great if anyone will explane were Default XI parameters gone and how we can get them back.

  • Rx Mail Adapter configuration for Attachment sending and dynamic From/ To

    Hi
    I have a senario in which i have to send a file content as an attachment and then take the values of the from / to /CC from the xml dynamically and post.
    I am able to do it without dynamic
    Do we need to add some modules to do the same.
    RGds
    Aditya

    Hi,
    Check this Weblogs
    Dynamic Mail Address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u
    Mail Adapter options
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    <b>Cheers,
    *RAJ*
    *Reward points if found usefull*</b>

  • Configuring the Receiver Mail Adapter

    Hi,
    I have to send data in a flat file via email using XI. I have configured a File adapter to read the XML file from sender. I have configured receiver mail adapter at the other end. I get success message in the SMXB_MONI transaction. But no mail is received.
    My receiver communication channel settings are as follows:
    Adapter type: Mail
    Transport protocol: SMTP
    Message protocol: XIPAYLOAD
    Adapter Engine: Integration Server
    URL: smtp://mail.xyz.com:25
    Mail Attributes: Use Mail package (Source file has from/to Email Addresses)
    I tried differnet cmobinations of SMTP server address (with/without port/using http:// etc), but no success.
    Can anyone tell me what the problem could be and how to go about this?
    Thanks in advance.
    Riyaz

    hi riyaz,
    these r some of the links which can help u to configure ur mail adaptor.
    https://www.sdn.sap.com/irj/sdn/weblogs?   blog=/pub/wlg/1798
    Info on Email Receiver Adapter
    Mail Adapter Configuration in XI 3.0
    regards
    jithesh

  • Configuring the mail adapter Sender

    Hi Guys, hope you are fine.
    I have a doubt: is it possible to configure, how many emails the sender mail adapter takes per polling?
    I have an inbox with more than 300 emails and I have a sender mail adapter configured with a 10 minutes pooling and I need to limit the number of messages or, just to have an ideia about the number of messages it takes. Does it depends of the machine or something like that?
    Any kind of help is welcome... =)
    Thank you
    Luciana Rossan

    Hi Luciana,
    Please refer to the FetchLimit option, described in SAP Help for sender mail adapter, it matches your requirement perfectly:
    IMail.FetchLimit
    You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
    Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
    Please refer to the help itself if further details required:
    http://help.sap.com/saphelp_nwpi711/helpdata/EN/48/3276dba3af58d8e10000000a421937/content.htm
    Hope this helps,
    Greg

  • Sender Mail Adapter with PayloadSwapBean

    Hello Experts!
    I have a Sender Mail Adapter receiving emails with attachments! I'm using PayloadSwapBean, because I have to manipulate (to do mapping) the XML attachment.
    Sender Mail Adapter Configuration:
    Default Interface Namespace = urn:mynamespace.com
    Default Interface Name = abs_async_myInterface
    swap.keyName = Content-Disposition
    swap.keyName = Content-Description
    swap.keyValue = attachment;filename="MailAttachment-1.xml"
    swap.keyValue = MailAttachment-1
    Well, my problems are:
    1) Although my Default Interface Namespace is urn:mynamespace.com, sometimes the namespace that cames to SXMB_MONI is http://sap.com/xi/XI/System/Mail. In that case, an Receiver Determination error happens.
    2) My XML can be the first (MailAttachment-1), the second (MailAttachment-2), the third (MailAttachment-3), or any other attachment position. Since my swap.keyValue is set to "MailAttachment-1", I'm able to pick the XML only if it is the first attachment.

    Hi Julio,
    Writing an Adapter Module for the same can make your task easy.
    Thanks'
    Sunil Singh

  • Error while using mail adapter

    Dear All,
    We have recently transported a scenario from XI 3.0 to PI 7.1.
    In this scenario a BPM is configured which on getting any error triggers an alert mail (Mail adapter configured).
    Now while testing in PI 7.1, mail message is getting generated but mail are not received and following error is coming:
    "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.lang.StringIndexOutOfBoundsException: String index out of range: 0"
    If anybody has faced this type of error kindly guide me in resolving this error.
    Regards,
    NJ
    Edited by: nishu jain on Jul 13, 2009 9:08 AM

    Failed to call the endpoint
    Check if you have given the correct details of the mail-server in your receiver mail CC.....also confirm that the mail server is up and running....
    Regards,
    Abhishek.

Maybe you are looking for