Sender Adapter Mail Problem

Hello All,
on PI 7.0, i have a scenario MAIL -> PI -> MAIL.
I've configured the sender mail adapter in order to keep attachment and using pop protocol.
When i test, the problem is that everything is green in the CC monitoring but it doesn't take any mail from the mailbox server, still in it. i see 0 mail taken in the CC monitoring.
Since i don't have error messages i don't know how and where to look at ! Do you have some ideas ?
For infos, i've based my configuration with the help of this blog :
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
EDIT : For further more informations, i am using a Lotus server for the mail.
Thanks,
Jean-Philippe
Edited by: Jean-Philippe PAIN on Jan 14, 2010 6:08 PM

Hi Jean,
  Have you tried to open the link *http://xiserver:port/mdt/amtServlet
as suggested by Michal? What is the status there? There you can see whether the mail has been received by your mail adapter or not. If not, then check with your POP server and ports again. Look whether you have the POP port opened bi-directionally for your PI server.
Regards,
Sugata

Similar Messages

  • Sender Adapter archiving problem

    Hello All,
                 In the sender adapter channel, we are getting the following error message. The messages are not getting archived in the archive folder that we have mentioned in the Sender adapter configuration in the ID.
    Putting message into send queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 36f5f1e6-97a8-41b0-1fb8-b9c2bdbb6008(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPPIXDB.SYS_C00159667) violated .
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 36f5f1e6-97a8-41b0-1fb8-b9c2bdbb6008(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPPIXDB.SYS_C00159667) violated
    Could you please let me know the exact problem? And how to resolve this? Thanks.

    Hi there,
    This error is issued if a user tries to insert an already existing value into a column defined unique.
    This error will also be generated if an existing record is updated to generate a duplicate (unique) key. Typically this is a duplicate primary key, but it need not be the primary key.
    Remedy:
    Only one of the following will be appropriate:
    1. Remove the unique restriction.
    2. Change the restriction to allow duplicate keys. An index could be changed to be a non-unique index, but remember that the primary key must always be unique.
    3. Do not insert the duplicate key.
    Cheers'
    Neetesh

  • HTTP Sender Adapter Strange Problem After SP16 Patch!!!

    Hi,
    after upgrading to XI SP 16 I'm no longer able to create HTTP Sender Adapter based Communication Channels. I can create a Receiver Adapter but no Sender since the Sender button is greyed out in the UI. Does anybody have an Idea what could be the problem here?
    Kind regards,
    Heiko

    HI Heiko,
    As stated by bhavesh you cant have a sender http adapter, infact there is no need to have it.
    If you want topost message to the integration engine using http protocol,you can directly send the xml message to the pipeline url of the integration engine.
    http://<host>:<Abap http port>/sap/xi/engine?type=entry
    Yomesh

  • JDBC sender adapter - driver problems

    Hi.
    Iu2019m struggling with a little problem regarding the JDBC sender adapter, querying an Oracle database.
    Iu2019m making a simple SELECT statement, where one of the fields is of the typeu201DTIMESTAMP(0) WITH LOCAL TIMEu201D.
    Making the query in a SQL client works just fine, but in the JDBC sender adapter, it generates this error u201DError during conversion of query result to XML: java.sql.SQLException: Session Time Zone not set!u201D
    Iu2019ve searched for answers on numerous forums, and found one place, where the following where the solution:
    >>> Hi. The issue is that the driver itself needs to have a time zone
    >>> set. You have to call setSessionTimeZone() on the connection object.
    Unfortunately it is a bit hard to call this function in the adapter.
    Any of you guys have an idea what to do?
    I can add, that making a query, where no date fields are selected, works fine in the adapter.
    Regards...
    Peter

    Problem solved...
    Put a conversion (CONCAT, SUBSTR, TO_CHAR, etc.) around the date field you are about to fetch, and it works just fine.

  • FTP (Sender) Adapter - Polling Problem

    Hello everyone!
    I'm trying to pick up an XML file using the FTP Adapter (Sender).
    Weird thing is that I have set the "polling interval" for 60secs, but the FTP adapter doesn't seem to want to repeat polling at the said time interval.
    It only picks up the file once, and after that no more polling occurs.
    Could anyone know what the problem might be?
    Warm regards,
    Glenn
    PS. We are on PI 7.0, SP11.

    Hi Glenn,
    Check the connection mode in FTP adapter.
    Connect permanently or connect everytime.  Try changing the option and see if it works.
    If it still doesnt work then contact the guys who are maintaining the FTP server.
    Regards,
    Sumit

  • Mail & Adress Book: issues sending group mail - Problem solved

    I started writing this discussion because I could not get something to work. As I wrote it, I made many tests to confirm what I was writing and also read several past discussions on the subject. I ended up solving my problem and decided to share my findings. Hope it is useful to other people.
    EMAIL TO A GROUP WITH ALL RECIEPIENTS SHOWING IN THE «TO» HEADER - My problem solved
    SENDING FROM THE MAIL APPLICATION:
    To start do the following:  Mail/Preferences/Composing  check «Show members of a group»
    Then for a group name with two or more words OR wit a one word group name, start writing the group name in the «TO» header of an email wait until the « () » appears highlithed in a color as you slowly write the Address Book group name and then select the group name from the scroling list appearing below which comes from your Adress Book (whether it's open or not). If you choose in a selection list before the « () » appears as you type, you could end up with an empty list and the group email does not work. When the « () » does not yet appear but the group name does below, it most likely will not work but if you scroll down you may find a second one that will.  The whole thing is wear but once you get the hang of it you make it work everytime.
    SENDING FROM THE ADDRESS BOOK APPLICATION:
    If you try to send the email to a group from the application ADRESS BOOK by pressing «ctrl» & right clicking the name of the group and select «Send an email to GROUP-NAME», it will work also. But the group name must not have a space before its name in the Address Book (one could decide to do this to have a group to appear at the top of a list of groups). The latter was my problem and sending from the address book application did not work.
    EMAIL TO A GROUP WITH «UNDISCLOSED RECIPIENTS» SHOWING IN THE «TO» HEADER  - My problem solved
    First one has to uncheck the «Show members of a group» in Mail/Preferences/Composing
    Second strat a new email and proceed as described above in «1.»  in the second and third paragraph.
    As suggested in one discussion, if you still can not get it to work try closing your Mail and Address Book applications and re-open them.
    As suggeted in another discussion by Ernie Stamper on May 15 2009 in the «Can't send an email to a group»:
    «In Mail Preferences/Composing, select to Show members of a group, and then compose a message (no need to send for this test) using the group address -- do the 9 addresses show in the message header? If so, then report the name of the provider of the SMTP you are using. It might be that they do not allow the Group in the To -- when working correctly, the recipient sees only Undesignated Recipients in the header.»
    I'm using Mac OS X 10.7.5 and Mail 5.3 (1283) on an iMac 2009
    Can't send an email to a group.

    Hi Priyanka,
    I can't get it working. I get this error:
    2007/03/25 17:23:00] Error in evaluate <from> expression at line "98". The result is empty for the XPath expression : "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')".
    [2007/03/25 17:23:00] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    - <selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    - <part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')" is empty at line 98, when attempting reading/copying it.
    Please make sure the variable/expression result "ids:getUserProperty('esbMailTo', 'mail', 'jazn.com')" is not empty.
    </summary>
    </part
    In users-properties.xml I have this:
    <userObject>
         <name>esbMailTo</name>
            <description>MailTo</description>
         <mail>[email protected]</mail>           
         <title>Loan Agent 1</title>
         <firstName>James</firstName>
         <lastName>Cooper</lastName>
         <manager>jstein</manager>
            <timeZone>America/Los_Angeles</timeZone>
         <languagePreference>en-US</languagePreference>
         <notificationPreferences>Mail</notificationPreferences>
         </userObject> Any ideas?
    Regards Pete

  • Sending & receiving mail problems in Yosemite

    I have had continuous problems wt my Comcast mail for months now. The problem started after I did a clean install of Yosemite. My mail settings, and passwords are all correct. I used connection doctor, and it said that I had two Comcast.net smtp accounts. One was green, while the other was red. I'm quite sure that I only have one, that I set up, but still deleted my Comcast mail account, hoping that this would remove the offending account. I removed it, and checked connection doctor again. It still says trying to log in to this Comcast SMTP account failed. Verify that the username, and password are correct. This is really confusing me, because I no longer even have a Comcast account account, even set up in mail. I am guessing that the extra offending Comcast account is to blame, but I can't seem to locate or delete it from my mac. Any ideas why I can't Comcast to work?

    I believe I fixed the problem wt some internet searching, and help from above. I read on another site, that sometimes if you have multiple passwords in your keychain for mail, it can cause problems. I checked my keychain, and sure enough, I had 3 different passwords, set up for my dektop mail account. One of them, was the password, that Comcast had changed my email too, when I had called them previously about the problem. I had changed it back, but the older one in the keychain was still inadvertently taking control. I removed all of my desktop mail  login from the keychain, deleted all email accounts in my mac for good measure, and then added them again. I changed my password also through Comcast, from the goofy one they chose. So far all of my mail accounts are working A-Ok. Should I have removed the older passwords from my keychain? I change online email passwords occasionally, on the Internet, but never had a problem wt my keychain mixing up passwords before.

  • File Sender Adapter transformation problem

    Hi everyone,
      I have a problem tha might be quite simple to solve but I'm completely lost And some help would be apreciated
      We have an "File -> RFC -> File" scenario implemented using BPM, in our case the file is already in an XML format and we dont have control on the creation on that file, some old application generates it. The problems is that no matter if we build the data type or if we use an external definition, PI always adds the namespace to the message using the tag xmlns:ns0="namespace...." and in our case the when we test the interface is expecting something like this:
    If we tests with the original file PI triggers an Mapping Error, in fact, if whe load the file in the mapping test section at design time we can reproduce the error. When we change the file format mannualy and we just add the "ns0" and the attribute xmlns:ns0="Some namespace....." it works just fine. The problem is that we cannot change the program that generates the files and I don´t have any clue on how to solve this on PI side. We don't know which should be the approach.. content transformations in the CC, XSLT, or create an VBS at operating system level to change all the files before PI runs, etc...
    Any ideas would be very helpful.
    Gustavo Balboa

    Hi Gouri,
      I was sure that would be a very simple solution jejejeje..... thank you very much. You were right. I just remove the namespace of the data type, and now is working just fine.
      I always use the namespace and I thougth that was mandatory always because in the repository the field is marked as mandatory...
      Again, thank you!
    Best Regards
    Gustavo Balboa

  • Soap sender adapter - Mapping problem

    Hello gurus,
    Right now i am working on the scenario in which requirement is something like this :
    Soap to RFC synchronous scenario. I want to make sure that if RFC is not responding in 40 sec. It should get timed out and it after that XI should get timed out. As well as in response mapping it should give the time out error.
    There is a default time out period for RFC which i cant modify (bcz it will effect to every scenario).
    The mail question is how can i map time out error into response?
    Any suggestions are invited.
    Thanks,
    Hetal

    Hello Bhavesh,
    It is actually a system error. So it will come as a soap fault message. That is why i asked that how i can map it with the response mapping?
    Any idea?
    This is my response :
    <SOAP:Envelope xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/ ">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>System Error</faultstring>
             <detail>
                <s:SystemError xmlns:s=" http://sap.com/xi/WebService/xi2.0 ">
                   <context/>
                   <code>MAPPING.EXCEPTION_DURING_EXECUTE</code>
                   <text>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_enrollment_in_to_Z_E_ISU_WEB_ENROL: java.lang.IllegalArgumentException: Element ( Con</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I also defined fault message mapping in Interface mapping but it did not get executed.
    Any suggestions?
    Thanks,
    Hetal

  • How to send data to RFC Destination(RFC SENDER Adapter)

    Hi ,
    Scenario:  R/3 Backendà RFC Sender Adapterà XIàsome other system.
    I have configured the RFC destination (of the type TCP/IP) at R/3 System and have registered the Program ID (specified in the RFC destination) in the XI server and using it in the configuration parameters of the RFC Sender Adapter.
    Problem: I do not know how I can send data to the RFC destination. (Should I use a report program/ ABAP Function Module?) Can anybody provide me with a sample code of Report Program/Function module (whichever is required), how to send data to the RFC Destination, so that it may be picked up by my RFC Sender Adapter.
    Thanks and Regards,
    Siva Maranani

    I have one query for you that
    I am trying to develop a scenario in SAP XI
    SAP R/3 ( RFC function module) sends a synchronous request to the XI and SAP XI will send this request to a third party web application using HTTP receiver adapter.
    I am able to send the data/message and it is successfully received at the third party web application.
    But I am facing one issue that I am unable to receive any message/data in my RFC module back.i have seen in sxmb_moni that the two messages are displayed in successfuly processed but in SAP R/3 side nothing get happedned
    Can you tell me how to use some waiting mechanism in function module to wait for the response from SAP XI.
    Regards
    Gopesh

  • Problem of encoding for mail sender adapter

    Hello, everyone.
    I have faced the problem of mail sender adapter.
    When someone send message with any content encoding (even UTF-8) and 8bit content type encoding the XI mail adapter corrupt special and foreign symbols. I checked the message for correct structure and encoding with tpcgw utility and it was fine. For example (this is what I can see in tcpgw)
    ==== Response ====
    +OK
    +OK Password required for user itra_xi
    +OK XXXXX maildrop has 1 messages (2048 octets)
    +OK 1 2048
    +OK
    +OK 1459 octets
    Return-path:
    Received: from (port=20091 helo=XXXX)
         by mx76.mail.ru with psmtp
         id 1O7UoW-0003I4-00
         for XXXXXX; Thu, 29 Apr 2010 18:34:04 +0400
    Message-ID:
    Subject: Message 29 4
    Date: Thu, 29 Apr 2010 17:33:43 +0300
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
         boundary="----=_NextPart_000_0018_01CAE7C2.1D0BBA60"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.5843
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
    X-Spam: Not detected
    X-Mras: Ok
    This is a multi-part message in MIME format.
    =_NextPart_000_0018_01CAE7C2.1D0BBA60
    Content-Type: text/plain;
         charset="utf-8"
    Content-Transfer-Encoding: 8bit
    Test
    Тест
    And after processing by XI mail adapter  I have this payload (XIPAYLOAD mode using mail package)
    Test
    Тест
    The same situation with using mail package in xml document.
    Any suggestions how this can be corrected?

    I switched UTF-8 encoding during displaying of http content in tcpgw utility and all other mail clients detect it as UTF-8 and work fine. Also this problem occurs with different mail clients that are senders of the message. So it seems adapter takes each byte of cyrillic symbol (each from two) and represents it as individual symbol.
    Correct me if I'm wrong. Maybe there is some configuration somewhere allowing to correct or maybe it's possible to write module to correct.. but it's quite complicated to split correct and incorrect symbols.

  • Mail Sender Adapter - Attachment Handling

    Hello,
    I 'm using XI 3.0 SP 14.
    I have problems with my Mail-Sender-Adapter.
    The mails, I fetch, have an xml-attachment which
    represents an IDOC-structure (ORDERS.ORDERS05).
    I want to sent this attachment as payload to an SAP-System.
    The problem is now, that I have 2 Payloads (SXMB_MONI).
    One for the normal email-body and one for my original
    xml-attachment. See below:
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailMessage</SAP:Name>
      <SAP:Description>mail message</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailAttachment-1</SAP:Name>
      <SAP:Description>mail attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
    The XI Runtime Workbench (SXMB_MONI) takes (in my case)
    the wrong one (email-body-attachment) and gives me
    an parsing error. (Error occurs at my IDOC-Receiver-Adapter)
    Now my question:
    Can I remove the email-body-attachment, so that
    the further processing works with my xml-attachment?
    Or how can I resolve my problem.
    best regards
    Marcel Reichert

    Hi Marcel,
    use the PayloadSwapBean module to get the attachment as main payload.
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    As parameters use:
    swap.keyName = payload-name
    swap.keyValue = MailAttachment-1
    Regards
    Stefan

  • Mail sender adapter POP server not configured for URL access

    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://Fully qualified host name/
    _Error: exception caught during processing mail message; java.net.UnknownHostException
    _2. When I use pop://IP address of host/
    _Error: exception caught during processing mail message; java.net.SocketException: Connection timed out:could be due to invalid address
    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
    Edited by: Shobhit Swarup Mathur on Jul 14, 2009 9:29 AM
    Edited by: Shobhit Swarup Mathur on Jul 14, 2009 9:29 AM

    Hi Shobhit
    Check with 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
    also check mailserver security settings ...
    Connection refused occures when XI cannot connect
    in most cases so try checking it again , maybe some ports are not opend on the firewall
    Thanks
    Edited by: Abhishek Agrahari on Jul 14, 2009 11:44 AM

  • Mail Sender Adapter for Exchange 2007 IMAPS account

    Hi everybody,
    I have the following todo:
    I configured a Mail Sender Adapter that is supposed to fetch mails from an IMAP account.
    The mails contain text files with data to be processed by XI 3.0 SP 22.
    The mail server is Exchange 2007 and requires IMAPS. IMAP is not enough. I read the notes
    - 893590 - XI 3.0 Mail sender adapter with IMAP or POP with SSL problem
    - 856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
    and configured the sender apapter as follows:
    URL:                     imaps://<ip address>/owa
    Authentication method:     Plain
    User:                    <domain>\<user>
    Password:                       topsecret
    Poll Interval: 5
    The first challenge is to setup the adapter with SSL. To do so, I added the Exchange server's
    root SSL certificate in the default truststore service-ssl via the KeyStorage service.
    This is necessary, as far as I know, to successfully validate the Exchange server's trusted
    certifacate which is being transfered to XI during SSL handshake.
    Since the communication channel in RWB is in status error with following message:
    mail client job stopped completly
    exception caught during processing mail message; java.io.IOException: invalid IMAP status response; not finding * STATUS, but 001I NO owa doesn't exist.
    mail client job scheduled,
    I do not know how to setup SSL for IMAPS. I successfully tested a PING to the Exchange server.
    Are there already experiences with Exchange 2007?
    What I have to do to fetch mails from an Exchange 2007 IMAPS folder/account with a Mail Sender Adapter?
    Kind regards,
    Andreas

    Hi,
    It should be imap and not imaps.
    You can try imap://xxx.xxx.de:993/Inbox
    Make sure that port 993 is correct. If you have doubt, then you may try 143 which is default port instead of 993 in the above url.
    regards,
    ganesh.

  • Mail sender adapter: date

    Hi all
    I need to fetch the mail date during the processing with mail sender adapter. I can't find a relevant field in the Adapter-Specific Message Attributes (SHeaderFROM, SHeaderTO etc.).
    Do you know how to fetch the mail date during the processing of a mail via mail sender adapter?
    Thx
    Tobias

    Thanks for the response.
    The problem is that the mail is perhaps not processed when it is created. For example: the mail is created on 01th of april and sent to the mailbox. But the PI mail sender adapter is fetching the mail on 02nd of april. Due to the reason I can't use current date - I need the original sending date of the mail.
    Thx

Maybe you are looking for