Error in mail sender channel : invalid sequence number

Hello all,
I'm having the following issue.
I'm using the mail adapter to get messages from a mail server, which are attached to the mail.
This interface is already productive, and is working fine most of the time.
Only frequently I get the following error, which can be found in the java log.
exception caught during processing mail message[630];
java.io.IOException: the specified message not found: -ERR invalid sequence
number
This error seems only to appear when there are a lot of mails to be fetched.
All the mail is read into PI and processed succesfully, only I also get a lot these errors.
Does anyone know what causes this error?
I also don't know where this sequence number is coming from, and what's the meaning of this.
Is it possible it's trying to read the same mail more then once?
The settings in the mail sender channel are:
- transport protocol : POP3
- message protocol : XIPAYLOAD
- Use mail package : enabled
- content encoding : none
- Keep attachments : enabled
- QOS : exactly once
- Set adapter specific message attibutes : enabled
The PI version is 7.01
Thanks a lot in advance for the replies on this question.
Kind regards,
Marco van Iersel

Hi
Well we have used it with POP3 and it is working in the way as it should be.
This feature is recommended  by sap when the number of emails to be read is large.
You can set this additional parameter to restrict the number of mails fetched by sender mail adapter in one polling interval.
Sometimes the mailbox configured for the sender mail adapter contains large number of unread mails, which exceeds the average expected number of mails in one polling interval. In such a case, processing of all the unread mails in the same polling interval by sender mail adapter degrades the system performance. To avoid this, set value of this parameter to the maximum number of mails to be fetched and processed in one polling interval. The remaining mails exceeding the limit would be processed in the next polling interval.
That's why I have asked you to give it a try.

Similar Messages

  • Mail sender channel

    Hi,
    we have a problem configuring the mail sender channel. We want to realize a mail->xi->file scenario. No messages arrive at the xi server (sxmb_moni). In the adapter monitoring the sender adapter seems to be fine (green led,   text: running).
    The mail address is a web.de address. How should the URL in the adapter look like? We tried imap://imap.web.de, imap://imap.web.de/username, but no messages arrived.
    Btw we read in an other topic, that there exists a monitor (url: http://xihost:port/mdt/amtServlet). The server replies a 404 (not found) http error. How can we get this monitor?
    Thanks

    Thanks for your answer,
    yes, web.de does allow imap, I get my mails with thunderbird with the imap protocol. I tried also an other mail server, without success.
    I describe my scenario, perhaps there is an error in my configuration:
    In the Integration Directory I have imported the following xsd file
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    I have imported the xsd file in myNamespace into External Definition. Then I made a Messege Interface (outbound asynchronous)out of the imported data type (name--> MailReceiver).
    In the configuration of the mail sender channel I have following settings:
    message-protocol: XIPAYLOAD
    Use mail package: True
    Content Encoding: base64
    Keep attachment: False
    Interface Namespce: myNamespace
    Interface Name: MailReceiver
    Quality of service: Best effort
    In my scenario I have made a sender agreement which uses the mail sender adapter, interface and namespace of the sender are myNamespace an MailReceiver.
    hope anybody can help me...

  • Random error IN RFC sender channel

    Hi all,
             Please note that in two different scenarios Same busness system is used but different Sender RFC channels and different Functional modules. In spite of this a random error is occuring. At times scenario works fine and some times it gives error.
    "Wrong Sender Agreement:The Sender agreement doe
    ot have channel Func_sender_cc"
    No error report in SXMP_MONI.
    Any clue please.
    Regards
    venkat

    Hi,
    Now it is clear very much there is no need of registaring programID specifically any where. Any programID first mentioned in Comunication channel and actived and then defined rfc destination using SM59 with same programID gives successfull test result.
    Also for different RFC senders Different ProgramID shall be used to avoid the type errors faced by me.
    Hope this helps all
    cheers
    Venkat

  • Error in Mail Sender communicational channel

    Hello!
    We have an XI scenario, which should take emails from the mail server and transfer them to SAP. For this purpose the configuration channel has been configured with the following params:
    Transport protocol: IMAP:
    Message protocol: XIPAYLOAD
    Configure user authentification: checked.
    This channel stopped working about two weeks ago after a kernal patch (notes 1436917, 1441654, 1424397 and 1443925). The error is the following:
    exception caught during processing mail message [44]java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
    Application log gives only this information:
    1.5 #16F1003D6202007C00003680001470F4000484907936C6A6#1271655950632#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK##com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl.invoke()#J2EE_GUEST#0##bxp45ci_BXP_505494050##91fa4cf04b6e11dfae4616f1003d6202#XI Mail[Mail_Sender_MailFIBeleg/S36_SECURITAS/]_800280##0#0#Error#1#com.sap.aii.messaging.srt.xmb.XMBIMAPInitiatorServiceImpl#Plain###exception caught during processing mail message; java.io.IOException: unexpected list response;
    I don't have an access to the Adminiatraion Viewr by now and can't activate any other traces. What is the most interesting - the error is occured only for definite sender, if the email is sent from another address, the processing works without errors.
    Do you have any suppositions why could it be so and where should we search the reason of problem?
    Your help will be very appreciated.

    Dear Bond,
    Please follow the below useful doc:
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    http://wiki.sdn.sap.com/wiki/display/XI/StepbyStepMailToFileScenario
    Thanks,
    Satya Kumar

  • Reg: Error in Mail sending through background job in SCOT

    Hello experts,
    I am trying to schedule a background job through SCOT so as to send the mails present in SOST.
    The job is running but it is giving error as "Invalid status  for recipient" in SOST.
    But when I am sending it directly from SOST it is delivered without any errors. The email address is maintained correctly and SMTP settings are also correct as while sending it directly from SOST it reaches the required recipient without any error.
    This error is observed only through background job. I am using program RSCONN01 with variant SAP&CONNECTINT in background job.
    Kindly suggest why I am getting the error "Invalid status  for recipient" in background job.
    Thanks & Regards
    Meraz
    +91 8894522860

    I am getting the exact same issue.
    were you able to fix this in the last 3 weeks?
    thanks.

  • IPhone 3G cannot send mail - Sender address invalid

    I can receive email but cannot send it. The error message is "CANNOT SEND MAIL the sender address was invalid". I have turned off Wi-Fi and as well as SSL. Does anyone know a fix?

    Was it working before?
    Verify that the ISP you are using is not blocking SMTP port 25. If so, try switching your Outgoing SMTP server to cwmx.com (AT&T SMTP server). This option will only send mail over 3G or EDGE.
    Check out this article for some suggestions as well: http://support.apple.com/kb/TS1426

  • Error in Mail Sender Adapter

    Hi all,
    without any obvious reason i'm suddenly getting an error in the runtime workbench at the Communication Channel Monitoring:
    exception caught during processing mail message; java.io.IOException: unexpected greeting response; read * BYE Connection refused
    I already restarted the j2ee engine, but with no success.
    Can anybody please help me?
    Points will be rewarded!

    Thank you for the tip with the Log Viewer. I discovered there an interesting error:
    SLD start failure, profile parameter ObjectManager.BufferInstances must be set to FALSE in J2EE cluster environment. Change the SLD profile and start the application again.
    Is it possible that the SLD is down and causes my error?
    Because in the Adapter-Monitor i get an similar error for the JPR-Adapter (what for is this Adapter?):
    SLD access SLD host:port = xxyyzz:12345
    Error getting JPR configuration from SLD. Exception: entityNotFound
    No access to get JPR configuration

  • Error in FCC-Sender Channel.

    Hi Experts,
    I have configured the following FCC in Sender communication Channel.
    DT_HEADER.keyFieldValue     =1
    DT_HEADER.fieldNames =     KEY,FILENAME
    DT_RECORDS.keyFieldValue=     2
    DT_HEADER.fieldNames=     KEY,AMOUNT
    DT_TRAILER.keyFieldValue     =3
    DT_TRAILER.fieldNames=     KEY,SUM
    DT_HEADER.fieldSeparator =     ,
    DT_RECORDS.fieldSeparator=     ,
    DT_TRAILER.fieldSeparator =     ,
    DT_TRAILER.endSeparator =     'nl'
    DT_RECORDS.endSeparator=     'nl'
    DT_HEADER.endSeparator =     'nl'
    My sender text file is
    1,RDFILE
    2,100
    3,100
    In RWB i am getting the following error message,
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'DT_HEADER.fieldFixedLengths' or 'DT_HEADER.fieldSeparator' is missing Consistency check: no. of arguments in 'DT_HEADER.fieldFixedLength' does not match 'DT_HEADER.fieldNames' (0 <> 2)
    i need to get  Sender XML structure as follows
    <DT_HEADER>
          <KEY/>
          <FILENAME/>
       </DT_HEADER>
       <DT_RECORDS>
          <KEY/>
          <AMOUNT/>
       </DT_RECORDS>
       <DT_TALER>
          <KEY/>
          <SUM/>
       </DT_TALER>
    i dont know where i did the mistake can any one help me to solve this issue.
    Regard's
    Preethi.

    Hi
    You need alter Data type structure first then do file content conversion
    DT_Record
        <Header>
              <Key>
              <FileName>
       </Header>
       <Trailer>
    </trailer?
    then add
    HEADER.keyFieldValue =1
    HEADER.fieldNames = KEY,FILENAME
    RECORDS.keyFieldValue= 2
    It works
    Regards,
    Raj

  • Double dot in file from mail sender channel

    Dear All,
    I have a volatile problem in mail channel with receiving xml file as attachment.
    The flow is: Mail with attached XML file (ORDER05 in xml format) --> XI  --> Idoc
    Sometime, may be for one percent of mails, mapping receives from channel double dots in fields with quantity(1..000 instead of 1.000). If I resend the same mail again, it is processed without errors.
    Have somebody faced with such problem? What can be decision of this problem?
    I've recreated communication channel - it didn't help.
    Thank you in advance
    Lev

    Dear Prateek,
    Looking at payload after channel I see double dot and same picture in RWB and in SXMB_MONI. I can see right payload only in the mail, which I receive on my own mail address (as CC). If I resend this mail from my Outlook address, channel work properly.
    But this problem appear rarely, may be in one percent cases and only with mail from one particular vendor. The same channel is used for 3 vendors.
    I don't use custom modules in channel, only 2 standard modules:
    localejbs/AF_Modules/PayloadSwapBean
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    Regards
    Lev

  • Error in Mail sending task of the Workflow

    Hi all,
         I am triggering a workflow which will send a mail to the vendor whenever the service entry sheet is rejected i am getting the following error, can any one tell what is this error.
    Workflow System           Background work item created             12.12.2007 12:16:34
          Workflow System           Execution started automatically          12.12.2007 12:16:34
          Workflow System           SWW_BI_EXECUTE_S                         12.12.2007 12:16:35
          Workflow System             SWW_BI_EXECUTE_S                       12.12.2007 12:16:35
          Workflow System           SWW_WI_ERROR_MESSAGE_SEND_S              12.12.2007 12:16:36 Office Document      1000010930 is Rejected.
          Workflow System           Execution started automatically          12.12.2007 12:16:36
    Its urgent, all the valuable replies are highly rewarded...
    Regards,
    Ravi G

    Hi,
      I have tried both the transactions but found no use.......
    can any one tell me wt is the reason for the error............
    Regards,
    Ravi G

  • Error with Soap sender channel

    I have a scenario SOAP->Proxy ..whenever I send a message through SOAP its giving error as below:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection SOAP_http://sap.com/xi/XI/System is currently not started.
    Please help me in rectifying this...

    Kiran,
    strange thing is that when we remove the standard module from the channel then its workign fine..
    Well, you can try couple of things more -
    1. Re-start the java engine.
    2. If step 1 doesn't work, delete the channel -> activate the change list -> create a new channel and try again.
    I feel that after step 1, it should work. Let us know how it goes.
    Regards,
    Neetesh

  • Raise Error Message in ESS for invalid Mobile number IT0105 - 9004

    Hi Experts,
    I was asked to put a small validation on mobile number being entered by user in his personal details (to check country code).
    As we are using both PA30 and ESS, I have implemented both the BADI's
    HRPAD00INFTY (for PA30) and HRPAD00INFTYDB (under enhancement spot HRPAD00INFTYBL) for ESS.
    My first one is working fine and stops user from entering wrong mobile number.
    Coming onto second one for ESS, I have written my coding in the method IF_EX_HRPAD00INFTYDB~UPDATE_DB as follows
        CASE infty.
        handle infotype 0105
          WHEN '0105'.
            CASE subty.
              WHEN '9004'.
                ASSIGN operation-old_pnnnn->* TO <old_p0105>.
                ASSIGN operation-new_pnnnn->* TO <new_p0105>.
                ASSIGN operation-new_psref->* TO <new_psref>.
                ASSIGN operation-old_psref->* TO <old_psref>.
                CASE operation-opera.
            UPDATE
                  WHEN if_hrpa_masterdata_db=>update_operation.
                    lv_prefix1 = <new_p0105>-usrid+0(4).
                    IF lv_prefix1 EQ '9715'.
                      lv_length = STRLEN( <new_p0105>-usrid ).
                      lv_length = lv_length - 4.
                      IF lv_length NE 12.
                        RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
                      ENDIF.
                    ELSE.
                        RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
                    ENDIF.
    Now though this method is getting trigged and doing the validation perfectly, it is resulting in RUNTIME ERROR due to "RAISE EXCEPTION TYPE cx_hrpa_violated_assertion" which is un-caught.
    Can any one please let me know how to send back the error message without runtime error so that user has clear knowledge of mistake that he has done.
    Appreciate any help in this regard,
    Thanks,
    Lakshmi Narayana

    Why don't you use HRPAD00INFTYUI instead?
    ~Suresh

  • Iphone error yahoo mail- sending the message content to the server failed

    yesterday i changed my yahoo password (because my yahoo email acct started spamming all of my email contacts) and i also changed password on my iphone 4s settings but now cant send emails (can get them just fine)
    i get the error "sending the message content to the server failed" and the email gets stuck in the outbox.
    i have deleted the yahoo acct multiple times, rebooted the phone and restored network settings, added other yahoo smtp.mail.yahoo.com server, went to the genius bar for an hour, but no luck.  tried a new iphone at apple store and added my yahoo account, but still had the same error from their phone.
    they said contact yahoo- currently awaiting that reply.
    my gmail acct sends emais fine thru iphone.
    any help appreciated
    thanks
    jb

    hi - i posted this in another thread but meant to post it here - oops - i've been following this thread and others for days now - i also have been having safari/email 'sending message content to server failed'/flash 10 plugin problems since latest security/java/qt software update - here's what i recommend and what i'll be doing from now on - before i install any updates via software update i'll be saving the download/installers to a folder as suggested in another topic thread - next i'll be disconnecting my router - and connecting the modem directly to the computer - bypassing the router - once i'm sure configurations/internet/mail are functioning correctly i'll connect the router - all this time my problems were with my router port settings - not safari or flash 10 plugin or mail app - go figure - hope this helps - peace!

  • Cannot Send Mail Sender Address Invalid

    when replying to an email, I receive this message. It is a POP3 account. I've experienced this in the iPod touch and reset the touch, it worked. Tried the same in the iPad, no luck. I've checked and rechecked that the smtp address is correct. I can receive but not send..help

    I called and spoke with Apple at Apple Care.
    Reset your iPad by holding the home key and power button simultaneously, wait for it to reset then, go to:
    Settings>Mail,Contact,Calendars>select your email acct.>Advanced>Authentication>Password
    Also under the Advanced, make sure "Use SSL" is turned on
    Mine has worked perfect since Sunday morning.

  • A sequence number error in a form

    I am currently creating a form with a sequence number in forms 10g
    <pre>
    table name: emp
    table desc: emp_id number,emp_name varchar2(20),emp_no number
    </pre>
    i have to generate the emp_id automatically.
    <pre>
    create sequence emp_seq
    minvalue 1
    start with 1
    increment by 1
    cache 20
    </pre>
    I use pre_insert trigger in block
    <pre>
    begin
    select emp_seq.nextval into :emp.emp_id from dual
    end
    </pre>
    problem;
    I can not insert a record because of sequence number in :emp.emp_id
    no compilation error but there is no automatic sequence number appeared in :emp.emp_id after run a form.
    It used to work before(fine with automatic sequence number in :emp.emp_id).
    it happens after I changed layout format and someone add more columns in emp table.
    eventhough i did not use sequence number in emp.emp_id
    in pre-insert-trigger
    <pre>
    begin
    select nvl(max(emp_id),0)+1
    into :emp.emp_id
    from emp;
    </pre>
    still can not show up any number in :emp.emp_id
    please help me out

    Thank you . It works now.
    would you mind explain to me; what I can not use automatic sequence number in emp.empid text field in pre-insert-trigger in my case
    is it trigger confliction in my forms?

Maybe you are looking for