Error in a Mail Adapter

Hi,
I am trying to configure mail sender adapter with imaps.
Adapter status in a adapter monitor has a "red" status with following error message : "error occured: exception caught during processing mail message; java.io.EOFException: Connection closed by remote host."
When I display a mailbox by Outlook the inbox is empty.
Any help is appreciated.
Thanks.
Marian

Hi Michal,
thanks for pointing me to your weblog.
I will use it for sure in future. However when I do a step 2 in your weblog I get still a same error message.
Something in a configuration of my e-mail sender adapter is wrong but what ?
Transport Protocol : IMAP4
Message Protocol : XIPayload
URL : imaps:<host>:<port>/<account>
Content Encoding : base64
Keep Attachments : checked
Default Interface Namespace : http://sap.com/xi/XI/Mail/30
Default Interface Name : ORDRSP_2_IDOC_I
Quality of Service : Exactly Once
and my adapter is still not picking an e-mails and has a red icon status.
Thanks for any help.
Marian

Similar Messages

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

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

  • 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 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 Recever Mail Adapter (Communication Channel)

    Hello Experts,
    I am getting below error in recever Adapter Communication Channel. I have given SMTP, XIALL,PLAIN parameters, i have given proper: SMTP://compnay.com & correct user id and password, i browse throug all most all related links.
    Exception caught by adapter framework: java.io.IOException: server does not support PLAIN or LOGIN authentication
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server does not support PLAIN or LOGIN authentication
    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: java.io.IOException: server does not support PLAIN or LOGIN authentication.
    Thanks,
    Siva

    HI Siva
    Are you trying to send Email from any file send by system or Read by PI and send as Email.
    Please describe your Scenario.
    If your email is generated from the content provided by Integraton engine use Message protocol XI PAYLOAD instead of XIALL.
    Using Authentication you change from Plain to CRAM-MD5. then it might not give any error
    Your URL should be SMTP://mailhost.company.com
    For reference check Help URL
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Thanks
    Gaurav Bhargava

  • 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 in E-mail Adapter - Message protocol XIALL

    Hi,
    when I set a message protocol XIPAYLOAD ... everything is OK
    when I set a message protocol XIALL an error message : "error occured: exception caught during processing mail message; java.net.ConnectException: Connection refused: connect" is raised in adapter monitoring.
    Any help is highly appreciated.
    Thanks.
    Marian

    Hi,
    you was right. There was a configuration error.
    But anyway if configuration is set correctly I get this error in case message protocol "XIALL" :
    "error occured: [2006-06-13T06:41:25Z] 1 new messages found among 19 messages in total; processing message 19exception caught during processing mail message [19]com.sap.aii.messaging.mo.MalformedMessageException: java.lang.NullPointerException; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 2d, 2d(:main:, row:2, col:3)(:main:, row=2, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 2d, 2d(:main:, row:2, col:3); action[s] takenexception caught during processing mail message; java.io.IOException: unexpected close response; read FLAGS (\Seen \Recent))"
    Any help is very appreciated.
    Thanks.
    Marian

  • Error in configuring Mail Adapter

    Hello Friends,
    I am working in XI 2.0
    I am trying to configure the Outbound file adapter for sending the Mail.
    and i configure my adapter as
    File adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleXMB2File
    mode=XMB2FILE
    ##Adress for XMB endpoint
    XMB.httpPort=8220
    XMB.httpService=/mailSender
    ##File Adapter specific parameters
    file.createDir=1
    file.targetDir=e:/oraclejdbc/mail
    file.targetFilename=mail.txt
    #file.writeMode=append
    file.writeMode=overwrite
    uncomment and adjust parameters for using a dispatcher ***
    Dispatcher.class=com.sap.aii.messaging.adapter.ConversionDispatcher
    Dispatcher.namespace=namespace1
    namespace1.ConversionDispatcher.logPayload=true
    ##namespace1.MailClient.contentType=text/html
    namespace1.Service.1=MailClient
    namespace1.MailClient.class=MailSender
    namespace1.MailClient.smtpHost=POWAI
    namespace1.MailClient.smtpPort=25
    namespace1.MailClient.from=[email protected]
    namespace1.MailClient.to=[email protected]
    namespace1.MailClient.subject=NewXI Message
    namespace1.MailClient.contentType=text/html
    And when I am trying to start the adapter engine it gives me error as
    Tue Nov 23 10:46:47 IST 2004 *****
    10:46:47 (4115): File adapter listener initialized successfully
    10:46:47 (8200): Conversion dispatcher 2.0.0904 initializing
    10:46:47 (4024): Attempt to initialize file adapter failed with
    java.lang.NullPointerException
    10:46:47 : Error(s) in adapter configuration parameters found:
    10:46:47 (4108): Unable to start file adapter (not initialized)
    If any one know please help me to solve this problem.
    Thanks & Regards,
    Gaurav Jain

    Could you check, if the file Mail.jar is installed correctly in your Adapter Framework folder and the starting program of the Adapter Framework (e.g. runadapter.bat or install_service.bat) is enhanced with this library file?
    Regards
    Stefan

  • 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

  • Error in Sender Mail adapter

    Hello Everyone,
    I am trying out a Mail-to-Mail Scenario and I've configured the sender mail CC with all the details(i'm using a POP3 protocol and server, authentication details) are provided. But in CC monitoring it says " java.net.ConnectException: Connection refused: connect"
    Also, if I clear through this and can access the mail server, what will the polling of sender CC fetch? all the mails or only a single mail??
    Regards,
    Indudhar.

    >
    Indudhar P.G wrote:
    > Hello Everyone,
    >
    > I am trying out a Mail-to-Mail Scenario and I've configured the sender mail CC with all the details(i'm using a POP3 protocol and server, authentication details) are provided. But in CC monitoring it says " java.net.ConnectException: Connection refused: connect"
    >
    > Also, if I clear through this and can access the mail server, what will the polling of sender CC fetch? all the mails or only a single mail??
    >
    > Regards,
    >
    > Indudhar.
    have you provided authentication?
    the polling will fetch all mails first and then subsequently the new mails that follow.

  • MAIL Adapter Error..........

    Hi all,
    I am getting an error in sender MAIL adapter configuration in communication channel monitering.
    "<b>exception caught during processing mail message; java.io.IOException: unexpected greeting response; read 220 tn6tdc00.wdf.sap.corp SAP 7.00(52) ESMTP service ready"</b>
    Can anybody tell me why this error is coming and how to resolve it.
    Thanks,
    Shiv Prashant Dixit

    Hi,
    Please check your URL what you used.. in MAIL Adapter configured  and port ,(SMTP Configurations..)
    See the following threads
    Mail-XI-file scenario
    Email Adapter Throwing Error
    Error during configuration of Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    Regards
    Chilla..

  • 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

  • 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

Maybe you are looking for

  • Multiple email addresses for one Apple ID?

    Hello, I'm wondering how to add more than one email address to my Apple (ID) account. The main reason is because when I login to FaceTime with my Apple ID (email address), it then asks me which email I wish to use with FaceTime. Well, obviously I'm o

  • Order Import of Sales Tax

    I have an order with a number of order lines. For each of the order line there is a sales tax associated with it. The orders are created outside OM and needs to be imported into Order Import as order lines and sales tax lines. What is the proces to s

  • PDF won't save to computer

    I download several financial statements in PDF each month and two of them, though enabled, will not allow themselves to be saved to my computer. They can be viewed, printed and edited but clicking on the save icon does nothing. The'Save to:' pop-up d

  • Airport keeps turning off!

    I have a mid-2009 MacBook Pro running Snow Leopard. When I'm running wireless in my home, I experience a lot of drop offs from the Internet. While some of this is due to poor wireless reception, what puzzles me is that when I try to get back on, I ke

  • What are the ways to download j2ME app to j2ME phones

    Hello Friends, What are the ways to download j2ME app to j2ME phones, is there any method that all phones supports. I am downloading app to different phone in different ways, i.e using infrared, bluethooth, cable (different cable for different phones