Sender Mail Adapter: Java Exception: no mailbox at this server

Hi experts,
we are in the process of moving our PI sytems to different servers. Although this is not an easy task, we are pretty much there. However, also the e-mail (exchange) server moved from server A to server B.
We migrated the mailbox to the new server and ajusted the communication channel accordingly. But starting the CC shows the following error on communication channel monitoring: "There is no replica for that mailbox on this server".
So far I have been struggling in a search for a solution or cause of the error. Google and SDN only give a few hits for java and windows things, mostly pointing at IMAP forwarding problems. As far as I know, the mailbox is actually located on the new server.
The protocol used is IMAP4, with IP:  imap://<host>/Inbox , logon-user is <domain>\<e-mailbox name>, password is correct.
Any help would be very much appreciated,
Paul

Hi Paul,
This issue is related to New server creadentials.U ou are made all the changes in Adapter but ur not changed inserver details SCOT Transactions.Just u have to check in SMTP configuartions.
Thanks
Ravi

Similar Messages

  • Sender Mail Adapter Error: exception caught during processing mail message;

    HI , I am configuring mail to file scenario. Need to read mail content (no need to capture From,TO or Subject details) and create a file with the content in the mail.
    Need to read mails from microsoft outlook. Exchange server has been configured for POP3 protocol.
    Following are the details provoding in sender mail adapter:
    URL: provided url in the format: pop://<server name>
    Authentication method: plain
    provided user credinetions to access mails.
    poll interval - 1min
    content encoding none.
    processing parameters : quality of service-exactly once
    Since there is no need to capture From,TO or Subject details, didn't select the option - use mail package.
    Verified for unread mails in the mail box and made sure that there are few unread mails.
    Also, created data types and other components in IR and completed mapping.
    But after starting sender mail communication channel, getting error "exception caught during processing mail message; java.lang.NullPointerException" in RWB-adapter-communication channel monitoring.
    please let me know what needs to be done to resolve this error.
    Thanks.

    HI Stefan, i tried, but still it is giving same error. Yes, i am able to access outlook mail with the user credentials given in the communication channel to access exchange server.
    I am using message protocol: xipayload . Also since i dont have to capture TO,from,subject details., created data type just with one element of type string, not in the standard format .Does this makes any difference.

  • Sender  Mail Adapter - java.lang.NullPointerException in CC monitoring

    hi,
    I configured my Sender Mail Adapter correctly.
    I have the correct POP URL, authentication. I'm not using PayloadSwapBean right now.
    I can't get rid of the exception inside my Channel monitoring.
    exception caught during processing mail message; java.lang.NullPointerException
    does anyone know why?
    I've been told the POP account has emails already.
    I will try to create an outlook account for this POP e-mail account in the mean time to see the e-mails.
    Thank you

    thanks aaron.
    I don't see the folder ./SYS/../j2ee/...
    will it be under another folder?  I don't see a trace log folder either.
    I think the problem might be in the Module tab.
    I tried.
    AF_Modules/PayloadSwapBean
    localejbs/AF_Modules/PayloadSwapBean
    /localejbs/AF_Modules/PayloadSwapBean
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    /localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    they all produce the same error. I wonder if these Beans actually exist.
    I think we might have to reinstall this Mail Adapter altogether.
    Or maybe it's really the connection to the Mail Server. But would it display this kind of message.
    This is what I'm looking at.
    Also, i had to use this URL
    pop://server:995/
    (995 is using SSL and it is the default port).  When I use this, I see the Java Null Pointer Exception a lot less frequently. Weird.

  • Sender mail adapter java.lang.NullPointerException

    Hi Experts,
    I have a Mail --> PI --> R/3 scenario and I am configuring the Mail sender adapter for POP3. The issue is that the POP server is not configured to be accessed via a URL and hence the URL pop://hostname/ is causing the following error at runtime:
    1. When I use pop://FQDN host name/
    Error: exception caught during processing mail message; java.net.UnknownHostException
    2. When I use pop://IP address of host:port/
    Error: exception caught during processing mail message; java.lang.NullPointerException
    I am able to ping the POP3 server from the PI server using both the FQDN and IP address.
    Can someone please help.
    Thanks,
    Shobhit

    Hi,
    I think this problem is due to POP3 configuration at PI  basis level.  Check with basis team whether they have configured POP3 configuration at PI basis level or not.

  • Sender mail adapter to hit multiple Mailbox

    Hi
    We have scenario to read emails from 100 mail ids.
    Can we hit 100 Email ids to read email using single mail adapter?
    Can we achieve it using standard module?
    Do we need to develop custom module to read emails from 100 mail ids?
    I checked option for distribution list also but it seems we can not hit distribution list to read emails.
    Thanks

    Hi,
    Can we hit 100 Email ids to read email using single mail adapter?
    no, you have to configure url / authentification in the adapter what is obviously different for different ids.
    Can we achieve it using standard module?
    Do we need to develop custom module to read emails from 100 mail ids?
    You don't need module, you need 100 sender channels.
    /Udo

  • Sender Mail Adapter issue

    Hi All,
    We are getting this error in Sender Mail adapter.
    "exception caught during processing mail message; java.net.ConnectException: A remote host refused an attempted connect operation"
    It is a (Lotus Notes) Mail to File scenario.
    Used POP3, and gave the URL as POP:// ** .
    I have tried pinging the server and getting a good response.
    I have also tried the OS01 ans it returned a response : Program Terminated.
    I am not sure if the POP3 port is enabled.
    Are there any check points we are missing ?
    Please throw some light on this as we need to solve this asap ..
    Yashwanth
    Edited by: YashwanthSVK on Aug 2, 2011 7:18 PM

    Shabarish is right.
    This seem a connectivity issue. Try to ping Mail server from your PI System and check pop3 port.
    This document can be helpful for you:
    http://wiki.sdn.sap.com/wiki/display/XI/SMTPConfigurationinSAPXI

  • Problem with Sender Mail Adapter

    Hi experts,
    I'm developing a Mail-XI-RFC scenario and have a problem in the mapping. I have created a MI based in the structure of the attachment of the mail. I have a mapping that does xml->RFC and tests OK. When I send a mail to the account of the sender adapter, the system generates two payloads, the 'MailMessage' and the 'MailAttachment-1' that is the xml to map, but I have an error in SXM_MONI 'Cannot produce target element /ns0:...RFC name'.
    The Sender Adapter configuration uses message protocol XIPAYLOAD, I have checked Mail Package, base 64 and keep Attachments. Interface namespace is the same as the xml and default interface name is the message interface created of type my xml.
    What is wrong?
    Best Regards,
    Alfredo Lagunar.

    In this case you need to use payloadswap bean for swapping the payload and attachment
    http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step check this
    Rajesh
    Edited by: Rajesh on Feb 4, 2009 2:52 PM

  • Exception in XI sender mail adapter

    Hi,
    XI sender mail adapter raised the following exception when it was fetching emails from a mailbox on a MS mail server while these mails were sent from a unix system.
    Adapter-Error: exception caught during processing mail message [1]com.sap.aii.messaging.lang.com.sap.aii.messaging.lang.BinaryIndexOutOfBoundsException: Binary index out of range: -3
    However if I sent the same attachment to the same mailbox from yahoo the XI sender mail adapter can process it correctly.
    I would appreciate if somebody could share his/her expertise or experience regarding this issue.
    Many thanks.
    Zhongliang

    I dont think this has got something to do with Unix or Windows system. As per the exceptions is considered, it says that, index out of range, which can occure in cases, by the time it was about to process the next mail, it could have been deleted or moved to some other folder..
    VJ

  • Sender Mail Adapter - forcing content as an attachement

    Hi all,
    We are using the Sender Mail Adapter to pull emails from the inboxes of some users of an exchange server.  We use the Mail Package option.
    We have noticed that the content of the emails are by-default added as attachments when there are no real attachments to the emails.  However the content is not added as an attachment when one or more attachments are present in these emails.
    Is there a way of forcing the Sender Mail Adapter to always add the content as an attachment and keeping the other attachments as well?  and of course maintain the Mail Package message type as the main payload...?
    Many thanks,
    Aldo

    Hi Stefan,
    Thanks for your reply.  I am glad to hear that I am wrong again )
    In your opinion is it possible to force the Outlook Exchange server to add the content attachment every time?  I mean by doing some configuration on it...?
    The reason why we would like to do this is because when - in the content tag of a Mail Package message - we have MIME message parts that are of content-type text/html we are having problems in decoding the html back to a readable format.
    To do this we use the apache QuotedPrintableCodec Java class.
    This works fine when the content type of the message is just text/plain but we get an exception when we try with text/html.
    The exception we get is:
    org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 13
    I don't know if this is because of the two character sets we have in the payload (utf-8 and iso-8859-1) or if it is for other reasons...
    If you could help me figure out how to forward any HTML email to another system in a readable format it would be great.
    Thanks for your support,
    Aldo

  • Error when using Variable Transport Binding in Sender Mail Adapter

    Hi,
    I am using the Sender Mail Adapter to receive an email, convert the attached tab delimited text file into xml and map it to an IDOC.
    I am using PayloadSwapBean and MessageTransformBean in order to do this, and this all works perfectly.
    I am now trying to access the Adapter Specific Message Attributes to retrieve the SHeaderFROM attribute from the message and map it to a field in the idoc.
    However when I check the "Variable Transport Binding" option in the Advanced tab of the mail adapter, the message no longer goes through to SXMB_MONI and I get the following error in the Java logs.
    Transmitting the message to endpoint http://sapserver:53500/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Error during parsing of SOAP header.
    Any ideas why this is happening?
    Thanks,
    Brad

    Hi Luciana,
    Honestly, I cant really remember how or if it was resolved and I was just helping out on the issue, but another consultant continued with it, so unfortunately I cant be any help on this.
    Good luck!
    Cheers,
    Brad

  • Sender Mail Adapter - CC Error

    Hi,
    My scenario is Mail>XI>Proxy(R/3).
    The sender mail adapter checks the e-mail box and procces into XI.
    I'm getting the following error in the CC:
    "exception caught during processing mail message, java.lang.ArrayIndexOutOfBoundsException 0 > = 0"
    But, this error is only present when the client try to sent the e-mail data, If i resend the same e-mail manually it works perfectly ( Which led me to think that the CC configuration is correct ).
    I'm not ruling out any outlook issue.
    Do you guys have experiencied this kind of issue?
    Thanks.

    Thanks Satish,
                            I'm sending the same e-mail. (manually works, automatically don´t work)
                           Also, I can´t see the result of the payload because the error is in CC and only shows that error.
    Configuration CC:
    Transport Protocol: POP3
    Message Protocol: XIPAYLOAD
    URL, User,Pass...
    Encoding : base64
    Quality of service: Exactly Once
    - Any suggestions?

  • Sender mail adapter : no messages and no error log

    Hello,
    I have configured a sender mail adapter to read mails from the inbox. I have used IMAP protocol. URL is specified as imap://EMHBSEXM01/Inbox. User name and password is also specified properly. I have kept poll interval to 1 minute. Messages in the inbox are in unread status. But the mail is not getting processed. I do not see anything after 1 minute. I tried using generate fetch report flag. But even then it does not create any message in SXMB_MONI. I checked runtime workbench for Mail adapter but I do not see any message for the same. Is there something that I am missing?
    Thanks,
    Dev

    Hi All,
    I chekced your responses and tried accordingly. Our basis team has given me new link now and the error message has changed. I am getting following error message.
    exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state.
    Does anyone have any idea what this error is?
    Thanks in advance,
    Devendra

  • Sender Mail adapter get no mails

    Hello,
    we are using the sender mail adapter to receive mails (IDOCS) from a Exchange server.
    A few days it works, but suddenly no mails are received.
    But in RWB the mail adapter status is green and shows, that there are no new mails. But when I check the mail box with OUTLOOK, there are some mails.
    When I deactivate and activate the mail adapter, all mails are read then.
    Pollinterval: 1 minute
    XI: SP10
    Who can help me are had s similar problem?
    Or is it possible to stop/start the mail adapter (or the adapter engine) automaitcally (more like a workarround)
    best regards
    Werner Magerl

    Hi All,
    I chekced your responses and tried accordingly. Our basis team has given me new link now and the error message has changed. I am getting following error message.
    exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state.
    Does anyone have any idea what this error is?
    Thanks in advance,
    Devendra

  • 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

  • Read multi-tabbed excel file attachments from Sender Mail Adapter.

    There is a need to read excel attachments from incoming email to a
    mailbox. We know we can use Sender Mail adapter to easily read .xml, .txt
    or .csv attachments.
    For excel attachments we know from SDN that you have to write
    adapter modules to handle excel. However the excel file we need to read has
    multiple worksheets(tabs) and data may be contained in any of them.
    Is it possible to use SAP XI Mailsender adapter to read such a file as an attachment? What kind of module development would we need for this? I am not much of a Java programmer so examples or links to other documentation would help.
    Thanks,
    Rudra

    Rudra,
    Use Java Mapping.  There is a free java api available called JExcelAPI to achieve this. 
    Shabarish's blog describes about this.  This might be helpful to you
    /people/shabarish.vijayakumar/blog/2009/04/05/excel-files--how-to-handle-them-in-sap-xipi-the-alternatives

Maybe you are looking for