SAP PI Sender Mail Adapter error : Unexpected User response

Hello ,
          I developed a scenario which requires Sender mail Adapter to connect a Third party system to PI, by going thro the links .
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
and PDFs in SDN.
When configured the sender mail adapter using POP Mail Server,faced the following error:gave the correct URL and Login credentials.
+" exception caught during processing mail message; java.io.IOException: unexpected user response; read -ERR Command is not valid in this state."+
Then used IMAP for the same mail server : error:
"exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state."
Tried with another Mail server :
"exception caught during processing mail message; java.net.ConnectException: Connection timed out".
Can you please help, what be the cause? how to rectify it?

Hi
There might be an connectivity issue from PI server to mail server. Please check with your BASIS to resolve the issue.,
Regards
Ramg

Similar Messages

  • Sender mail adapter error

    hi all,
    I am working on mail-mail scenario where in when i monitor my sender CC it is displaying following error:
    "exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Protocol Error: "Invalid string supplied for user name".
    Please help me out in tracing the error as i am not able to trace it.
    Sender CC configurations are as follows
    >> Transport protocol - POP3.
    >> Message Protocol - XIALL
    >>URL - pop://pop.gmail.com
    >>User - [email protected]
    >>password - xxxxxx
    Thanks and Regards,
    Amit

    hi ramesh,
    I have changed user to amit.tsec and stopped and started the channel again and the job got scheduled and after the scheduling time it  shows following error :
    exception caught during processing mail message; java.net.ConnectException: Connection timed out: connect
    Please see if u have any idea on this error and can u give me the demo scenario on this sender mail adapter right from scratch i.e Data type.
    Thanks and Regards,
    Amit.

  • 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 Error - UnknownHostException: hostname

    Dear All Gurus,
    PI Version : 7.31
    Scenario : Mail to File
    Below is the sender communication channel configured.
    But in the Communication Channel Monitoring ( Runtime Workbench) I'm getting below error
    exception caught during processing mail message; java.net.ConnectException: A remote host did not respond within the timeout period.

    Hi Mkhail,
    Thank you..
    I have setup according to that...and BASIS confirmed that they are  able to telnet with port 25. It was showing connected
    Now I'm getting
    exception caught during processing mail message; java.io.IOException: unexpected greeting response; read 220 ARALIYA.hayleys.net Microsoft ESMTP MAIL Service ready at Wed, 23 Apr 2014 14:11:33 +0530

  • 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

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

  • Error during configuration of Sender Mail Adapter

    Hellow All,
    I was trying to configure Sender Mail Adapter and I am getting this error.
    <b>error occured: exception caught during processing mail message; java.io.IOException: unexpected greeting response; read 220 mailrelay2.lntinfotech.com ESMTP Service (Lotus Domino Release 6.5.5) ready at Fri, 14 Jul 2006 16:11:29 +0530</b>
    Can anybody please suggest me why this error is occured and how to solve that?
    I am waiting with points, come on
    Thanks in advance,
    Sugata

    HI,
    1)Try to do with POP3
    2)Check the URL , give correct Exchange Server Name/IP address.
    3) Hope you have access to read the inbox (sometimes it will not be there)
    Than try it.
    Regards.
    Moorthy

  • B2B Inbound Error - sender mail adapter - SMTP

    Boa tarde
    Estou tendo um erro quando tento ler uma caixa de e-mail via scenario B2B inbound utilizando sender adapter mail (SMTP)
    estou passando as seguintes informações no adapter sender :
    Transport Protocol: POP3
    Message Protocol: XIPAYLOAD
    URL :smtp://sepcsawi003.xxxx.xxx.
    Authentication Method : Plain
    USER : monit.nfe
    SENHA : XXXXX
    Poll interval(Min) : 1
    Keep Attachments : X
    namespace : http://sap.com/xi/NFE/005a
    interface name : NFB2B_procNFe_OB
    Segue o log extraido do comuncation Channel Monitoring :
    In the Last 20 Minutes Server 0 70_34165 not initialized
    Na sxmb_moni não aparece nada.
    Essa configuração está correta para uso de SMTP com sender mail adapter?
    Entrei na máquina do PI e executei o comando telnet sepcsawi003 25 para acessar o servidor de email.
    Recebi o retorno:
    Connecting To sepcsawi003...Could not open connection to the host, on port 25: Connect failed
    Meu administrador me disse que as máquina PI e Email estão se conectando.
    Vocês podem me ajudar?
    Abs,
    Sérgio Salomã

    Boa Tarde
    Lembrando
                     se for Pop3 a vc tem que ter acesso a porta 110  e IMAP4 143 se não me engano por padrão
    de uma olhada nesse link
    http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario
    não esqueça  no adapter sender mail
    na aba module
    Processing Sequence
    1 localejbs/AF_Modules/PayloadSwapBean | Local Enterprise Bean | 1
    2 localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean | Local Enterprise Bean | mail
    Module Configuration
    1 | swap.keyName | Content-Disposition
    1 | swap.keyName | Content-Description
    1 | swap.keyValue | attachment; filename="MailAttachment-1.xml"
    1 | swap.keyValue | MailAttachment-1
    Att
    Ronaldo de Moraes

  • Getting error when configured sender mail adapter

    Hi Everyone,
    When i tried configuring sender mail adapter am getting these logs in Runtime workbench.
    In ID,when i gave ip address in place of URL, am getting this log
    "exception caught during processing mail message; java.io.IOException: unexpected password response; read -ERR Logon failure: unknown user name or bad password."
    When i gave URL in place of URL, am getting this log
    "exception caught during processing mail message; java.net.UnknownHostException:"
    why is it giving this log, What correction i have to do to make it work.
    Thanks in advance,
    Sakthi

    Hi,
    <i>1.How to stop deleting mails.</i>
    When the IMAP4 protocol is used, we get an option "Delete messages when read".You could specify if you need to delete it or not.
    <i>2.How to do mapping for an attachment,what additional things i have to do for this.</i>
    Could you please elaborate?
    <i>3.Is there any option to change the flag of mail once it is read by XI.</i>
    You cannot do this from XI. You would need to do it in your email client. In case you are using IMAP4,you could mark the message as read, once XI reads the unread message.
    Regards,
    Smitha.

  • 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

  • Sender Mail Adapter with SAP Conversion agent

    have some1 used SAP conversion agent on attchment from XI Sender Mail adapter?
    it seems to ignore the attchment of the e-mail
    the sender configuration module tab is as follows :
    1.localejbs/AF_Modules/PayloadSwapBean transform
    2.localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean CM
    3.sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean mail
    The paramters are
    transform swap.keyName Content-Disposition
    transform swap.keyName Content-Description
    transform swap.keyValue attachment
    transform swap.keyValue codeco
    CM TransformationName ZIM_CODECO_VALIDATIONS
    The Convesion Agnet runs prefectly when using the Conversion Agent engine
    thx,Shai Rosenzweig

    check with tis may helpful for you
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/frameset.htm
    Regds
    Abhishek

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

  • Sending mail adapter from Exchange server

    Hi ,
       I need to configure sender mail adapter which needs to forward the mails comes to the Microsoft Exchange server to XI and then to other application..
    MAIL->XI->SAP System..
      We  are using Microsoft Exchange server to send/receive mails..But we need POP3 url to receive mails ..is it possible to receive mails from the Microsoft Exchange server..
        Can anybody help me to find out the solution..

    Anandan,
    Yes it possiable to send mails from MailServer.
    Configuring the Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Mail Adapter scenarios – SAP Exchange Infrastructure
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Mail Adapter (XI) - how to implement dynamic mail address
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Also refer these links:
    http://www.microsoft.com/exchange/evaluation/compare/ClientCompare.mspx
    http://www.microsoft.com/exchange/evaluation/whatis.mspx
    http://www.trincoll.edu/depts/cc/documentation/email/IMAP_vs_POP/default.htm
    http://www.imap.org/papers/imap.vs.pop.brief.html
    Also please go through these notes:
    804102
    xi 3.0 mail adapter with pop3 user authentication problem
    810238
    XI 3.0 Mail Adapter for POP3 may not report some errors
    Just an additional info "sender mail adapter is to convert e-mails to XI messages"
    Message was edited by:
            Sreeram Reddy

  • Sender Mail adapter encounters MalformedInputException

    I have a sender mail adapter that processes the attached .csv file.  All is working fine.  I use FCC in module to convert the attachment and pass to an IDOC adapter for processing in SAP system.
    My problem is sometimes the sender mail CC fails with ...........
    exception caught during processing mail message[1]; com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
    It only fails with some files.  At the moment when we test we FORWARD the email to our email account.  If I detach the failed email attachment and attach it to a NEW email it will then work.
    So why does it not work when forwarding emails?  But it works when I attach the same file to a new email and send?
    Other threads for this error seem to point to encoding.  But how do I know which to use.  I currently use the following in my module config:
    Transfer.ContentType     application/octet-stream;charset="ISO-8859-1"

    I have this in my configuration:
    localejbs/AF_Modules/PayloadSwapBean   on local
    TRANSFORM
    localejbs/AF_Modules/MessageTransformBean   on local
    txtxml
    TRANSFORM   swap.keyName   payload-name
    TRANSFORM   swap.keyValue   MailAttachment-1
    txtxml   Transfer.ContentType   application/octet-stream;charset="ISO-8859-1"
    txtxml   Transform.Class   com.sap.aii.messaging.adapter.Conversion
    txtxml   Transform.ContentDescription   MailAttachment-1
    txtxml   Transform.ContentDisposition   attachment;filename="MailAttachment-1.bin"
    txtxml   xml.conversionType   SimplePlain2XML
    txtxml   xml.documentName   MT_BCD_INVOICES
    txtxml   xml.documentNamespace   urn://federalmogul.com/BCDTRAVEL/FINGLOBCD001/00
    txtxml   xml.fieldNames   COST_CENTRE,EMPLOYEE_ID,PRODUCT_GROUP,COMP_CODE,BCD_ACCOUNT,INVOICE_DATE,TRAVELER_NAME,TRAVELER_FIRST_NAME,INVOICE_NO,AMOUNT_EXCL_VAT,CURRENCY1,AMOUNT_VAT,CURRENCY2,AMOUNT_DOC_CURRENCY,CURRENCY3
    txtxml   xml.fieldSeparator   ;
    txtxml   xml.lastFieldsOptional   YES
    txtxml   xml.processFieldNames  fromConfiguration
    txtxml   xml.structureTitle   RECORDSET

Maybe you are looking for

  • Printing Docs - how to get rid of 3 inch wasted space on right side of page

    I tried to print out : Communicating With Objects http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaFunda mentals/CommunicatingWithObjects/CommunicateWithObjects.html After trying several different settings and printed only t

  • JDBC 2.0, Type 4 Driver for Oracle 8.0.4

    I'm looking for a Type 4 JDBC 2.0 driver for Oracle 8.0.4. Does Oracle provide one. I have looked at the downloads area but was not able to locate one. Any pointers? Ravindra Rao [email protected] null

  • Working with footage exported from After Effects

    Hello! I'm using after effects because i'm more familiar with it and i don't want to relearn a visual effects software right now, so hopefully some of you might be familiar with it. I compiled my video using a NTSC DV Widescreen composition. I export

  • Time management (leave Types)

    Hi all, I have some issue in creating leave types likes my employee has different leave conditions according to the employee groups , Eg : if i am taking Earned leave into consideration they have 20  days quota for staff, 25 for trainees , 15 for oth

  • Working network, but airport utility unable to find any network devices

    Hi Can anyone help. I have a stable network which has been working fine for ages. I have an airport extreme + express(airtunes)X2. I was having problems with my printer and ran airport utility 5.3.2 which failed to find any of my devices, but my airp