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

Similar Messages

  • 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

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

  • 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

  • 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

  • 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

  • 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 Transport Protocol as SMTP

    Hi,
    i am Working with Mail to File Scenario..
    Done with Whole Process..
    But when i m Sending a mail from SBWP... the mail was sent Successfully sent to the receptint...
    But i m not able to see my message in SXMB_MONI ... and when i check in RWB i got the following error at Sender Communication Channel..
    Can Anyone help me to fix this Error... what might be the problem ?
    1/5/11 1:20:29 PM   mail client job stopped completly
    1/5/11 1:16:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
    1/5/11 1:11:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
    1/5/11 1:06:27 PM   exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
      1/5/11 1:06:26 PM   mail client job scheduled

    Hi Deepthi,
    Try to restart the j2ee engine , Tcode=SMICM by SAP GUI.
    hope it works.
    Also try to chk themailserver security settings , maybe XI is not able to reach it.
    Chk whether theauthentication details for accessing mail box are correct ?
    Connection refused this error generally  occurs when XI is not able to connect .
    maybe some ports are not opened on the firewall
    check if the mail server you are trying to access is running.
    just chk the below link for Configuring the Sender Mail Adapter :-
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    Regards,
    Rohit

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

  • Error while sending mail through SMTP

    Hi,
      We are getting the following error while trying to send mail through SMTP.
    '554 ERROR_MESSAGE_STATE: SMTP_NO_HANDLER( host:1-,subrc:0001)'
    Please advice,
    Regards,
    Sam

    Hi All,
      Configured SMTP as per the note 455140,i can able to send mails from SAP to the out side world,
    mails in SAP.When i tried the test to check whether the SAP system is correctly set up to receive e-mails as per the note 607108, iam getting a connection closed message as below.                                                                           
    afgdev:pgdadm> telnet afgdev 2500                                          
    Trying...                                                                  
    Connected to afgdev.                                                       
    Escape character is '^]'.                                                  
    220 afgdev.abc.ae SAP 6.40(52) ESMTP service ready                   
    helo afgdev                                                                
    250 afgdev.abc.ae                                                    
    mail from:<[email protected]>                                      
    250 Ok                                                                     
    rcpt to:<[email protected]>                                 
    250 Ok                                                                     
    data                                                                       
    354 Enter mail, end with "."                                               
    Hello,This is a test.                                                      
    Connection closed.                                                         
    afgdev:pgdadm> 
    rgds
    Sam

  • SMICM error while sending mail using SMTP server

    Hi All,
    We are not able send mails using SMTP server.
    We have made every settings necessary in SCOT, SO16 , SMTP service is activated, default domain is maintained etc
    Only things which seems to be wrong is in SMICM trace file.
    [Thr 13] *** ERROR => NiBufIConnect: non-buffered connect pending after 5000ms (hdl 29;10.26.24.44:1090) [nibuf.cpp    4608]
    [Thr 13] *** WARNING => Connection request from (0/1/0) to host: 10.26.24.44, service: 1090 failed (NIECONN_REFUSED)
    [icxxconn_mt.c 2321]
    This error is getting repeated in it.
    BUt I am not sure why it it trying to hit 10.26.24.44, as we dont have any server by this ip. The ip is only not resolvable from the server.
    1 more thing, at OS level, following parameter is maintained in profile :
    icm/server_port_1 = PROT=SMTP,PORT=25000,TIMEOUT=180
    But in SCOT, under SMTP node PORT is given as 25.
    Kindly let me know what going wrong here?
    Thanks

    also getting error as follows
    Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1
    Authentication Required. Learn more at
       at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
       at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)
       at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
       at System.Net.Mail.SmtpClient.Send(MailMessage message)
       at ST_c121e07caaa94c21bb1355d4f753112f.vbproj.ScriptMain.Main()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
       at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()

  • Write error. [Error sending mail message to SMTP server. Return code: [].]:

    Hi ,
    I am getting the below error when scheduling a report which is larger in size in excel format.
    write error. [Error sending mail message to SMTP server. Return code: [].]: [CrystalEnterprise.Smtp]  
    The same error does not come up when sending the same report in XLS format using outlook.
    Can some one confirm if this error is because of the size of the report as I see a different error in XIR2 incase the size the exceeds the email server limit.
    ~Neethi

    Hi,
    this could be
    Maybe you have different limits for service smtp account (which the BO Server should use) and User smtp accounts.
    Thats why you can sent it via outlook and not from the BO Server.
    Regards
    -Seb.

  • Write error. [CrystalEnterprise.Smtp]: [Error sending mail message to SMTP

    Hi,
    The below error messgage i am getting while scheduling report in CMC. My report getting refreshed successfully but while posting refreshed file(Excel) it is not posting and throwing below error.
    Error Message:
    write error. [CrystalEnterprise.Smtp]: [Error sending mail message to SMTP server. Return code: [].]
    please provide some help on this.
    Thanks
    Vivek

    Hi Vivek
    Mails to the destinations are delievered by SMTP server. Size of the file in the mail depends on the SMTP server.
    For example, If SMTP server does not permit file size more than 2MB then that file won't be delievered.
    For testing purpose copy the instance generated in Filestore to your local drive and send this instance using your mail client to
    desired destination.
    You can try sending large size file from your mail client to test SMTP server capacity of sending large size file.
    Thanks,
    Hrishikesh Parasnis

Maybe you are looking for

  • How do i use air sync to sync with my iTunes on my computer

    How do i use air sync to sync with my iTunes on my computer

  • HD Wouldn't hook up (Reboots by itself)

    It started with the hard drive spinning with an APPLE logo on the screen. A few seconds lated it would restart automatically with a click sound. Other forums talk about ways to fix it using the computer but my iPod won't connect to it because it's st

  • Terminal Commands for Internet Connect VPN?

    I could maybe do this as an applescript but I'm hoping there are terminal commands which I can incorporate into an rsync script... I need to open a PPTP VPN connection on a computer (Internet Connect VPN client, 10.4.8) , to connect to VPN services o

  • Best practices for promotions to production

    My company's production environment is way to lose, I need to implement some controls. My analysts keep fouling up the production objects. Does anyone know of best practices for an organization rolling out production changes? thanks

  • Bean problem: No interface classes found

    Hi ; I try to create a adapter . according to tutorial "How To Create Modules for the J2EE Adapter Engine" https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e&overridelayout=true Although I did all steps in it