Sender mail Adapter - Log in Error
Hi,
I am facing the below error while communicating with the mail server using the POP3 transport protocol.
exception caught during processing mail message; java.io.IOException: unexpected password response; read -ERR Logon failure: unknown user name or bad password.
Confimed with the mail server administrator there is no issue with log in credentials.
We are able to access the mail box using the same user ID & password through webservice URL. But if we use the same User ID & password in communication channel it is showing the above error.
Any one have the idea about other possibilities to get this error?
Thanks & regards,
Krishna
Hi Vijay,
It is POP3 protocol setup. We are able to login using webservise URL. But not able to log in with Mail adapter.
Regards,
Krishna
Similar Messages
-
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,
DevHi 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,
BradHi 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 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 - 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,
SugataHI,
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 -
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 -
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,
SakthiHi,
<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 -
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,
Amithi 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 - 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 youthanks 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 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 -
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 -
Sender Mail Adapter - default interface name
Hi,
I need to receive through one e-mail sender channel tree different kind of messages.
In sender mail adapter I specify ecept other parameters "Default Interface Name". When I send a message with a same as defined in an interface the message is processed correctly.
But when I send a different kind of message then I get an error : "Receiver could not be determined".
Is any way around how through one sender e-mail adapter receive a different kinds of messages ?
Thanks for any help,
MarianHello Marzian,
have you find a solution for this problem?
We're facing the same issue.
thanks,
-Peter Ha
Maybe you are looking for
-
MGW1_CREATE_BOM- plant not updated in ECC 6.0
Hi, We have upgraded SAP from 4.7 to ECC 6.0. In SAP 4.7 Program with FM MGW1_CREATE_BOM works fine . In ECC 6.0 While creating BOM through the same program via FM MGW1_CREATE_BOM everything is created OK- but the plant that i enter in the header s
-
We didn't find anything to show here in archived emails
We use Outlook as an email client, since we don't have a Exchange Server. When I make an archive 2 months ago, it works perfect, I could see all my older messages in my inbox and folder created. For some reason (I believe after the last office upda
-
How to initialize an adf component before a page loads
Hi all I use JDeveloper 11.1.2.2.0 I have two pages: first page has a link to a second page <af:document title="first.jspx" id="d1"> <af:form id="f1"> <af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleL
-
PS, Epson Color Management in OSX 10.6
I know this is a problem way from way back but I thought I would revisit. It's clear that OSX 10.6 broke color management between Photoshop (PS)and my Epson R800. Since Epson no longer considers an R800 as a current printer I've resigned myself that
-
My wife and I share an ipad. Can we BOTH have email account in iCloud (i.e. BOTH have our contacts, mail etc transfer over)