Sender mail não pega os emails usando o PayloadSwapBean

Bom dia pessoal,
Estou com um probleminha no meu sender mail adapter para o cenário NFE_2_NFB2B_WebAS_Inbound_B2B_NFe.
Meu problema é muito parecido com o da thread:
Sem o módulo PayloadSwapBean, o erro na moni é "<SAP:Stack>Unable to find an inbound interface</SAP:Stack>".
Segui os passos para incluir o módulo e agora, o adapter simplesmente ignora os emails da caixa de email.
No Communication Channel Monitoring (na RWB), o status é "Started" (Sem erros) e a cada ping, ele mostra o seguinte: 0 new messages found among 1 messages in total.
Eu entendo que ele até  "vê" que tem email na caixa, mas por algum motivo, depois que inclui o módulo, ele não o pega mais.
Inclui o módulo da seguinte forma:
Module Name: AF_Modules/PayloadSwapBean
Module Type: Local Enterprise Bean.
Module Key: TRANSFORM
Module Configuration:
swap.keyName    Content-Description
swap.keyName    Content-Disposition
swap.keyValue    MailAttachment-1
swap.keyValue    attachment;filename="MailAttachment-1.xml"
Alguma idéia do que possa ser?
Agradeço desde já qualquer ajuda.
Abraços,
Luciana Rossan

Oi Henrique,
Eu usava o mesmo anexo sim. Mas o corpo da mensagem era diferente a cada teste que tentei enviar.
Agora eu criei uma nova mensagem com um anexo novo e o adapter pegou o arquivo (não sabia deste detalhe do adapter ignorar emails já processados =/).
De qualquer forma, continuo com o problema  "Unable to find an inbound interface" e os payloads não foram "invertidos" na moni.
Vou tentar fazer o teste que o Rafael fez em seu post, retirando as condições...
Abraços e muito obrigada,
Luciana R.

Similar Messages

  • Cannot Send Mail One of the Recipients Email Addresses is Invalid

    Cannot Send Mail One of the Recipients Email Addresses is Invalid
    This is the error message I keep getting on outgoing mail. Incoming mail works fine. Does anyone have any suggestions to try?

    You mean you can receive and send messages when you are connected to your wi-fi network at home with your internet service provider as the internet connection for your wireless network at home, but you are unable to send messages with this account when connected to AT&T's cellular network?
    If so, this leans toward your email account being provided by your internet service provider.
    Most internet service providers block the use of SMTP servers that are outside of the ISP's network or not provided by the ISP unless the SMTP server is authenticated. Not many ISPs provide an authenticated SMTP server with the email account they provide their customers.
    You can do one of two things. The iPhone includes AT&T's SMTP server to select as the SMTP server to use for this email account when you are connected to AT&T's cellular network, but you probably won't be able to use AT&T's SMTP server to send with the account when connected to your wi-fi network at home.
    Or you can switch to using an email account that provides an authenticated SMTP server. A Gmail account is one, and a MobileMe account is another.

  • When I try and send mail from one of two email addresses, it asks me for a password to a google e-mail account I no longer have, so now I can't send any mail

    I have x6 gmail accounts set up on my Thunderbird pop mail. When ever I try and send ANY email from 2 of these accounts ([email protected] & [email protected]) a window pops up and says the following:
    Enter your password for [email protected] on smtp.googlemail.com
    I haven't had that email address for a couple years, and I've tried every password I've ever used with no luck.
    I eventually have to hit cancel, the a new error box pops up that says the following:
    Sending of message failed.
    An error occurred sending mail: Could not get password for smtp.googlemail.com. The message was not sent.
    PLEASE PLEASE help, I need these two address to work. Every other address (x4) through Thunerbird works.
    Thank you for your time and support.

    Are you trying to send an email from "[email protected]" this address??
    Check your Thunderbird Account Settings and SMTP
    *https://support.mozilla.org/en-US/kb/manual-account-configuration
    *http://kb.mozillazine.org/Multiple_SMTP_servers_%28Thunderbird%29

  • Send mails with attachment to external email id

    Hi Folks,
    I have an ALV report, the output of which needs to be sent as an excel attachment to an external email id. Can I use SO_NEW_DOCUMENT_ATT_SEND_API1 in this case? What about the SAP Connect settings? Any documents/help files/code samples describing the same will be useful.
    /Sagar

    HI,
    If you want to send the ALV output as it is then you need send it to Spool and then convert it to a PDF then send it via email as an attachment,
    or else, if you want to send the data of the output you can send it by the final internal table i mean by using the final Internal table you can send the data by passing this final interanl table to <b>'SO_NEW_DOCUMENT_ATT_SEND_API1'</b>
    <u>example for your understanding:</u>
    DATA: OBJPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
      DATA: OBJHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
      DATA: OBJBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: OBJTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
      DATA: RECLIST   LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
      DATA: DOC_CHNG  LIKE SODOCCHGI1.
      DATA: TAB_LINES LIKE SY-TABIX.
      DATA L_NUM(3).
    Creation of the document to be sent
    File Name
      DOC_CHNG-OBJ_NAME = 'SENDFILE'.
    Mail Subject
      DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
    Mail Contents
      OBJTXT = 'Object text'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creation of the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM = TAB_LINES.
      OBJPACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
    Creation of the document attachment
      LOOP AT ITAB_DATA.
        CONCATENATE ITAB_DATA-PRODUCTOR
                    ITAB_DATA-VBELN
                    ITAB_DATA-POSNR
                    ITAB_DATA-MATNR INTO OBJBIN.
        APPEND OBJBIN.
      ENDLOOP.
      DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'ORDERS'.
      APPEND OBJHEAD.
    Creation of the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'TXT'.
      OBJPACK-OBJ_NAME   = 'WEBSITE'.
      OBJPACK-OBJ_DESCR  = 'ORDERS.TXT'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK.
    Completing the recipient list
    target recipent
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
    copy recipents
      clear RECLIST.
      RECLIST-RECEIVER = '[email protected]'.
      RECLIST-EXPRESS  = 'X'.
      RECLIST-REC_TYPE = 'U'.
      RECLIST-COPY     = 'X'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    ENDFORM.                    " SEND_MAIL

  • Cannot send mail after iOS7 , there is no "sent itens", email disapears when sent, but it does not go through

    Hi,
    my wife's iPhone 4S went haywire after iOS7. First it would not authorize iMessage ever, and there was a problem with all "Push" notifications. I had to backup, reset and restore for it to work. After that, her business POP email account stopped sending mail. It will receive emails normally, but she is unable to send. If you type an email and send it, it disapears, not "thinking" animation on the top, and it is not received. Checking the email folders there is no "sent itens" or "outbox" folders.
    Tried deleting and re-creating the account, to no avail. Any ideas? I really did not want to full reset it again, she will make me eat the d**m phone.

    It means the messages were not received and your SMS option is disabled
    Settings > Messages > Send as SMS > On

  • 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

  • Security requirements on sender mail adapter

    I have set up a sender mail adapter to fetch the email with attachment from MS exchange mail server. The sender mail adapter can process the attachment well and convert it to XML format. Now I have a new requirement to determine if the email comes from a particular user. I can see the FROM field in the payload "MailMessage" But I don't know how to get the value of this field. Any idea on how to set up the message mapping? Thanks in advance.

    Before the sender mail adapter processes the attachment in the email, it need to determine the email is actaully from the business user not someone else on server. Cuz everyone can send email to the email address the mail adapter connects to, that is why this security issue comes from.
    Basically when you fetch a email with attachment, in Sxi_monitor, you can see two field in the payload, One is MailMessage and the other is MailAttachment-1. In the MailMessage, you can see all the emial header fields, such as From, To, Subject, Content etc. I need to check if the FROM field is email address we allowed. That is basic requirements. Let me knwo if you want me to explain it further.
    Edited by: Bai Li on Dec 23, 2010 6:02 AM

  • Sending mail asks for password

    I'm trying to send mail and no matter which email I use (I have multiple mac mail and my website mail linked to my mac mail) I get the pop up asking for my password I punch it in and it pops up again, it won't accept the password. Any help would be appreciated, thanks.

    Are you sure that your outgoing mail server (SMTP) requires a passwort? Because if you try to authenticate with a password and the server does not "want" a password, this can result in errors.
    Go to:
    Mail --> Preferences --> Accounts ---> At the left side chose your account --> At the right side at the bottom chose Server Settings --> Switch "Identification" to "None"
    Perhaps this works.
    I have 5 mail accounts, only one really requires authentication on sending mail. The others don't. I had the same problems at the beginning.

  • ITouch error Message  Cannot send Mail.

    My first generation iTouch has quite sending mail. I can receive email, but can not send. When I try to send mail I get the error message
    Cannot Send Mail
    The connection to the outgoing server "smtp.mac.com:jbleeg" failed.
    I am using apples Mail program and have it set up as imap. When I right click on the inbox and choose Edit Imap Accout, I can see the incoming and out going settings match my ipod setting screen.
    This used to work, but when apple went to this "cloud" and .me, it quit working.
    I rarely send email from my iTouch so this is not a big problem, but annoying.
    Any suggestions.
    Jerry

    The other thing you might want to try on your touch is to just delete the mail account and re-enter it. This seems to fix a number of problems with e-mail when you are getting these types of errors.

  • Sending but not receiving from second email account

    Hello,
    I have recently added a new email address to an existing POP Mail Version 2.1 account that I have with Eircom. I have been successfully sending out emails from this new account and can send mail to it from another email account without messages bouncing back........yet I cannot receive any mail sent to this new account, only mail sent to my original email address....any ideas?....& does anyone know what happens to all those messages that I have never retreived?
    many thanks Domino

    Hi Domino, and a warm welcome to the forums!
    I'm only quarter Irish, so may not be all that much help!
    What kind of account is it on both ends... POP, IMAP, WebMail?
    Have you checked it with the Webmail?
    http://email.eircom.net/about/tips/

  • EEM sending mail by authenticated server

    Hi,
    we use EEM 3.2 to send email whenever interface goes down/up. But it doesnt work.
    We need to use authenticated SMTP server, so command for sending mail is following
    action 1.0 mail server "cisco:[email protected]" to "[email protected]" from
    "[email protected]" subject "something"
    But it doesnt work. Log is following
    Mar 22 12:55:34.316: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_connect_attempt: 1
    Mar 22 12:55:34.333: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 220  relay2.domain.local HE relay mail server Fri, 22 Mar 2013 13:55:34 +0100
    Mar 22 12:55:34.333: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_write HELO DP-SW1.dp.local
    Mar 22 12:55:34.752: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 250  relay2.domain.local Hello [90.185.130.170]
    Mar 22 12:55:34.752: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_write AUTH LOGIN Y2lzY28=
    Mar 22 12:55:35.298: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 503 5.5.2 Send hello first.
    Mar 22 12:55:35.298: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : buffer no reply code  matched: 503 5.5.2 Send hello first.
    Mar 22 12:55:35.298: %HA_EM-3-FMPD_SMTP: Error  occurred when sending mail to SMTP server: cisco:[email protected]: error in reply from SMTP server
    Mar 22 12:55:35.298: %HA_EM-3-FMPD_ERROR: Error executing applet INTERFACE_CHANGED_STATE statement 1.0
    Do you have any idea? I changed domain names. I figured out, that when I manually connect to SMTP server and istead of HELO command I use EHLO, it works. Do you think it can be a problem? And how to solve it then?
    Any help appreciated.
    thanks
    John

    Looks like an incompatibility with your SMTP server.  If you get a sniffer trace of a working app sending email through this server what is different versus the debug output here?

  • "Cannot Send Mail" App has the smtp address wrong.

    After upgrading my 3GS Iphone to OS 5.0.1, I have been an error msg when trying to send mail:
    "Cannot Send Mail" - No password provided for [email protected]
    The account is setup properly in settings as "SMTP.Comcast.net"
    I have deleted the account and set it up again several times. No luck!
    Does anyone else see this error?
    Any help?

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail Server SMTP>Primary Server then turn Server ON and fill in both User Name +Password under Outgoing Mail Server.

  • Sending mail from workflow or Updating container from FM

    Dear friends,
    I'm new to work flow.
    My requirement: send mail from workflow to a user after dead line is missed I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Hi,
    => To get the deadline worked via programming, you can write your own logic. In current case,
    1. Create a custom function, having proper input and output parameters like End Time to wait if in case you have maximum of 2 days of wait.
    The total wait time is calculated from the Endtime, which is input to function module.  From the Endtime, the start date and end date are calculated and then the difference between the two dates is counted as total wait time.
    Here at the most 2 days of wait time is calculated.
    * Local parameters
      DATA: LV_UTCSTART TYPE /SDF/CMO_TSTMP,
            LV_UTCEND   TYPE /SDF/CMO_TSTMP,
            LV_SECOND   TYPE /SDF/CMO_SEC,
            LV_ENDDATE  TYPE SY-DATUM,
            LV_STR TYPE STRING.
      IF ENDTIME >= SY-UZEIT AND ENDTIME <= '235959'.
    *   Today's date
        LV_ENDDATE = SY-DATUM.
      ELSE.
    *   Tomorrow's date
        LV_ENDDATE = SY-DATUM + 1.
      ENDIF.
    * Get the Start Time for function module
      CONCATENATE SY-DATUM SY-UZEIT INTO LV_STR.
      MOVE LV_STR TO LV_UTCSTART.
      CLEAR LV_STR.
    * Get the End Time for function module
      CONCATENATE LV_ENDDATE ENDTIME INTO LV_STR.
      MOVE LV_STR TO LV_UTCEND.
      CLEAR LV_STR.
    * Get the total wait time in seconds
      CALL FUNCTION '/SDF/CMO_TIME_DIFF_GET'
        EXPORTING
          UTC_START = LV_UTCSTART
          UTC_END   = LV_UTCEND
        IMPORTING
          SECOND    = LV_SECOND
        EXCEPTIONS
          PARAMERR  = 1
          OTHERS    = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Wait for total time
    WAIT UP TO LV_SECOND SECONDS.
    2. Now, create one method in the BOR object whose event triggers your workflow.
    3. Use this method in an activity step in you workflow where you want to wait on some given conditions.
    => You can use the email ID which was given by earlier step in Send Mail step. Just make your email id field as Export/Import <i><b>AD_SMTPADR</b></i> type of parameter. In the send mail, use this Id in Email Address input.
    Hope this helps your.
    PS If the answer solves  your query, plz close the thread by marking it Solved and rewarding each reply.
    Regards

  • Sending Mails to external domains

    Hi,
    Scenario:
    --I am having OCS 10g 10.1.2.3.0 on a singlebox RHEL ES Rel3 (taroon update4)
    --I have an Exchange Server on another box with Microsft Exchange Server
    --There is one more Proxy Server Box with firewalls having a proxy port to access the internet
    I was able to send mails from Oracle Workspaces to the OCS local domain but not to the external domains like yahoo.com, hotmail.com
    I was not able to ping the yahoo mail server or hotmail mail server, since the intenet connection is not a direct connection.
    Can i have any workaround for this.. or how can i configure the current system to facilitate sending mails from OCS to other email domains also..?
    Many Thanks in advance..,
    Regards,
    Prasant

    Hi,
    We are having the same problems (mail to external domains). I didn't catch what was done to correct the problem. Could you please repeat what was set.
    Thanks much,
    Kim

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

Maybe you are looking for