Mail scenario Issue

Hi,
i got some problem with the mail Adapter, when i am sending a file as a payload often mail is sent and often it is not sending. is there any thing that if i send same payload again as a mail, mail will not be processed?
what could be the reason why mail is not sending all the time...  and when mail is not sent i am not able to see the log in Reciever communication channel also. but i am able to see checkered Flag in Moni.
please clear my doubt.
Thank You,
Madhav

A status field will be there towards the end of the columns in SXMB_MONI (It is called Outbound status).
Alternatively, copy the message id of the message in SXMB_MONI and go to RWB->Message Monitoring(Chose Adapter Engine)->Advanced selections.
In the message ID field, give the message ID from the SXMB_MONI and see if you have some log.
One possible issue could be that your Mail server might have been down at that time.
Regards,
Ravi Kanth talagana

Similar Messages

  • File - XI - Mail Scenario. ( Urgent Issue )

    Hi ,
    Good Morning...
    I am doing File to mail Scenario.
    I am Using File & Mail Adapter.
    I got 5 files in FTP server named as
    SAP1.txt
    SAP2.txt
    SAP3.txt
    SAP4.txt
    SAP5.txt
    Now File adapter should pick this 5 files and make a attachments  to a single mail.
    I am able to pick one file and attach and send it to the mail.
    But now i have to pick all te files and attach to the single mail with same file names like in source.
    How should i proceed for the scenario.
    Points will be awarded.
    Regards,
    Jayasimha Jangam

    Hi Jangam,
    ur having many files should be maped under one file and then send to a mail adapter
    it better to go with BPM is there any any common value in all the files
    pls do chk out this blog
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/community.user/blog/2006/09/07/email-reporting
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5992
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    pls do  chk this links they r mainly blogs
    if found worth pls do the req
    Thanx
    Sampath

  • Mail-to-Mail scenario - Problem with comm. channel not reading message

    Good day,
    I am setting up a Mail-to-Mail scenario, where a received e-mail with an attachment is both processed into a file, as well as a monitoring e-mail needs to be send. The attachment processing is an existing process and is still working properly, but my e-mail isn't send. I am using Java mapping to create the destination e-mail based on the source e-mail. Everything is set up in the Directory as well, and through the Test Configuration feature I have tested my new addition to the existing process, I am seeing the result that I am expecting. I have sent a test message and XI picks it up just fine and processes it which is tested by both SXMB_MONI and the resulting file from the attachment.
    However, the monitoring e-mail is not sent. Using the runtime workbench, there is an error in the receiver communication channel, being the following error from the Audit Log:
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: java.io.IOException: Parsing an empty source. Root element expected!
    Looking through the Message Content, I notice there is a SOAP document describing the source message and two payloads. The first payload being the source message in XML format, the second payload is entirely empty. I suspect this empty second payload is causing the NullPointerException, but I am at a loss as to why the payload is empty. The Test Configuration showed me that the message gets through just fine, so what is going wrong?
    Here is a link to the configuration of the communication channel, maybe something is wrong here: [Config of communication channel|http://roald.hoolwerf.net/images/cc-config.png]
    My question is: What can I do to find what is causing the communication channel to receive an empty payload, and how can I solve this?
    Searching for this issue, or the given error on both Google as these forums hasn't given any related posts, if I did miss them in that case I am sorry for posting and please refer to the related topics.
    Thank you in advance for taking time to look at this question.
    Kind regards,
    Roald Hoolwerf
    Edited by: Roald Hoolwerf on Feb 1, 2010 3:57 PM

    Try this.
    Unchecked  the configure use authentication.
    and use mail package (base64)

  • Receiver agreement fails in Proxy to Mail Scenario ( B2B)

    Hi All,
    I have a proxy to mail Scenario. It is an B2B scenario.  I communicate on the sender side via a Business System and on the receiver via a Business Service.
    This is a Proxy to mail scenario.  I test via the test configuration tool.  The sender agreement, Receiver detemination, Interface detemination runs fine.
    The failure occurs in the receiver agreement.  It fails saying " NO standard agreement found" .
    I did the the following checks
    1.  Checked whether the Agreement is active
    2.  Checked the name of the Communication component and Interface.  all ran well
    What could be the issue. Why can sender agreement fail.
    Can anyone please help.
    Thanks
    Abhishek

    Hi All,
    I have a proxy to mail Scenario. It is an B2B scenario.  I communicate on the sender side via a Business System and on the receiver via a Business Service.
    This is a Proxy to mail scenario.  I test via the test configuration tool.  The sender agreement, Receiver detemination, Interface detemination runs fine.
    The failure occurs in the receiver agreement.  It fails saying " NO standard agreement found" .
    I did the the following checks
    1.  Checked whether the Agreement is active
    2.  Checked the name of the Communication component and Interface.  all ran well
    What could be the issue. Why can sender agreement fail.
    Can anyone please help.
    Thanks
    Abhishek

  • File - BPM (RFC) - Mail Scenario

    My scenario is File to Mail scenario thru BPM. in BPM I need to make RFC Call. I set ASMA in File sender adapter and File Nmae is not accessible in BPM Mapping. we are PI7.0 SP12. Im sure this is possible but for some reason not working. Any clue ?

    Hi,
    >>So Q1: Im not getting Filename into BPM though I checked ASMA in the Sender File Adapter
    You cannot take the filename (using Dynamic Configuration) in Message Mapping inside BPM transformation step. So I will propose to take it before entering into BPM.
    >>Q2: I need to send attachment name as Dynamic which I should get from the Input Message. we are on PI7.0 SP12.
    Check the blogs in sdn, you will get more idea on this. If I get any I will reply back
    Regards
    Suraj

  • JDBC to Mail scenario with XSLT mapping

    Hi all,
    I am working on JDBC to Mail scenario. We have to pick the data from Oracle system and mail has to be sent with an attached Excel file.
    I am doing this scenario by using of following blog.
    eMail Report as Attachment (Excel/Word)
    I am getting the output as an attachment but iam not getting the data.
    the same xslt coding iam using which has given in blog.
    any idea........
    Thanks,
    Sreedhar Goud.

    Hi Gaurav,
    JDBC is picking the data.In SXMB_MONI outbound payload iam able to see the data but in inbound payload there is no data.i think the problem is in XSLT code only.
    My source structure:
      <?xml version="1.0" encoding="utf-8" ?>
      <ns:MT_ORMS_Errors xmlns:ns="http://mg.adityabirla.com/mg/orms/mail">
        <row>
            <INTERFACE_NAME>MG_SAP_RMS_ITEM_PKG</INTERFACE_NAME>
            <RECORD_DETAIL>Item</RECORD_DETAIL>
            <ERROR>item</ERROR>
            <CREATE_DATE>2008-11-03 00:00:00.0</CREATE_DATE>
            <MAIL_SENT>N</MAIL_SENT>
        </row>
      </ns:MT_ORMS_Errors>
    XSLT code:
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
      <xsl:variable name="break">&lt;br&gt;</xsl:variable>
      <xsl:variable name="tableB">&lt;table&gt;</xsl:variable>
      <xsl:variable name="tableE">&lt;/table&gt;</xsl:variable>
      <xsl:variable name="trB">&lt;tr&gt;</xsl:variable>
      <xsl:variable name="trE">&lt;/tr&gt;</xsl:variable>
      <xsl:variable name="tdB">&lt;td&gt;</xsl:variable>
      <xsl:variable name="tdE">&lt;/td&gt;</xsl:variable>
      <xsl:variable name="nbsp">&amp;nbsp;</xsl:variable>
      <xsl:variable name="thB">&lt;tr BGCOLOR="#CCCC99"&gt;</xsl:variable>
      <xsl:template match="/">
       <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
        <Subject>Deliveries from XI</Subject>
        <From></From>
        <To></To>
        <Content_Type>application/vnd.ms-excel</Content_Type>
        <Content>
         <xsl:text xsl:space="preserve">These deliveries has been completed:</xsl:text>
         <xsl:value-of select="$break"/>
         <xsl:value-of select="$break"/>
         <xsl:value-of select="$tableB"/>
         <xsl:value-of select="$thB"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">INTERFACE_NAME</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">RECORD_DETAIL</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">ERROR</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$tdB"/>
         <xsl:text xsl:space="preserve">CREATE_DATE</xsl:text>
         <xsl:value-of select="$nbsp"/>
         <xsl:value-of select="$tdE"/>
         <xsl:value-of select="$trE"/>
        <xsl:for-each select="MT_ORMS_Errors/row">
          <xsl:value-of select="$trB"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="INTERFACE_NAME"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="RECORD_DETAIL"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="ERROR"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$tdB"/>
          <xsl:value-of select="CREATE_DATE"/>
          <xsl:value-of select="$nbsp"/>
          <xsl:value-of select="$tdE"/>
          <xsl:value-of select="$trE"/>
         </xsl:for-each>
         <xsl:value-of select="$tableE"/>
        </Content>
       </ns1:Mail>
      </xsl:template>
    </xsl:stylesheet>
    Thanks,
    Sreedhar Goud.

  • Mail adapter issue with mail attachment

    Hi all,
    I have a scenario mail to file and i have a problem.
    Is it possible, in a sender adapter mail to use the option keep attachment and mail package at the same time ?
    So,is it possible to use the module payloadswapbean and XMLanonymizer in a sender adapter mail in order to suppress a namespace from the attachment in it ?
    Is the option mail package useful if i am using payloadswapbean module ?
    from what i see, It seems that the XMLanonymizer doesn't work for sender mail adapter with attachment. I've tested the configuration on a sender adapter file and works fine.
    Anyone already tested it ?
    Thanks,
    Jean-Philippe
    Edited by: Jean-Philippe PAIN on Feb 9, 2010 5:29 PM

    Hi Stefen,
    Thanks for the answers.
    The question is, whether the payloadswapbean is useful at all in a sender mail scenario.
    I don't understand this one ! Isn't mandatory in sender adapter mail scenario if you want to read your mail attachment ?
    Yes. If you configure the payloadswapbean correct, the XMLanonymizer works on the attachment.
    It is not easy to set the payloadswapbean in a correct way. IPost your parameters here, when it does not work for you.
    Ok. Maybe my configuration is wrong, please tell.
    Processing sequence :
    localejbs/AF_Modules/PayloadSwapBean => 0
    localejbs/AF_Modules/XMLAnonymizerBean => 1
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean =>mail
    module configuration :
    swap.keyName =>Content-Disposition
    swap.keyName => Content-Description
    swap.keyValue=>MailAttachment-1
    swap.keyValue=>attachment;filename="MailAttachment-1.xml"
    anonymizer.acceptNamespaces =>http://namespace ''
    anonymizer.quote => ''
    I am on PI 7.1 version and when i am looking in the monitoring(sxmb_moni), it doesn't seems working.
    Thanks,
    Jean-Philippe
    Edited by: Jean-Philippe PAIN on Feb 10, 2010 10:36 AM

  • Mail Adapter Issue

    Dear All,
    I am facing a problem in my Scenario . I have configured sender mail adapter and the mail gets picked from the Mail Box.
    But the problem is in the content field i get something like '=20'. I analysed it and checked that whenever a space or a enter key is pressed when writing a mail then in XI it gets converted to =20.
    The problem is when the data goes to target system CRM it goes as =20.
    Can anyone let me know how can we take care of the same.The problem is with the Content field which gives characters =20 .
    Format as below
    <xim:Mail xmlns:xim="http://sap.com/xi/XI/Mail/30">
      <Subject>test</Subject>
      <From>test123@test</From>
      <To>test12233</To>
      <Content_Type>text/plain;charset="us-ascii"</Content_Type>
      <Date>2008-09-22T09:47:40Z</Date>
      <Message_ID></Message_ID>
      <Content>=20Dear CRM team=20=20Please find below mails kindly check =20Regardsxyz=20=20.</Content>
      </xim:Mail>

    Hi! Amit,
    This is Amar Srinivas Eli. Give me your E Mail ID so that I will send you one document regarding FIle To Mail Scenario Adapter which I did a test scenario successfully and also I hope it will be useful to you.
    Also please make sure as
    Transfer Protocol     SMTP
    Message Protocol    XI PAYLOAD
    Also select the option in radio button as Keep Attachments
    Regards
    Amar Srinivas Eli...
    Note:  Kindly  POints if useful....

  • IDOC- XI- Mail Scenario

    Hi All,
    I am configuring IDOC-XI-Mail scenario using following web-log:
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    I follow following steps:-
    1) In IR-create Name Space -"http://sap.com/xi/XI/Mail/30 "
    2) In IR-Upload XSD file from SAP note: 748024
    3) In IR-Do message mapping with Imported IDOC
    4) In ID-Add Business System's for SAP & XI
    5) In ID-Create mail receiver communication channel
       (URL/User ID/Password/User Mail Package only)
    When I test trigger IDOC from SAP, I get Error in SXMB_MONI
    (Error category:RCVR_DETERMINATION, Error ID:NO_RECEIVER_CASE_ASYNC)
    Is i need to do more configuration's in IR & ID that is not explained in Web-log?
    Is there is any other configuration need to be done on server to send mails?
    Please guide me in completing Idoc->Mail scenario.
    Thanks & Regards

    Hi Rohan,
    "4) In ID-Add Business System's for SAP & XI"
    You donot have to create a business system for XI.
    First of all you can either create a business system which needs to be created in SLD such that it is pointing to your target system (which here is the mail server) or you can use a business service. Choose any one of them.
    "When I test trigger IDOC from SAP, I get Error in SXMB_MONI
    (Error category:RCVR_DETERMINATION, Error ID:NO_RECEIVER_CASE_ASYNC)"
    Check if you have defined your message interfaces correctly. Since you are not expecting any response from the mail adapter, the inbound and outbound interfaces should be asynchronous.
    Also check if you have defined your receiver determination correctly. Here you should give the source and target systems and interfaces correctly. The problem sems to lie here. Check these configurations once again.
    Regards,
    Sushumna

  • How to configure receiver communication channel in File to mail scenario?

    Hi all,
            I'm working in FIle-to-Mail Scenario. I did all the required configuration In Integration repository. As per my Scenario whenever a text file stored in Application server of the R/3 system. it should be sent as a attchment with a mail.so i set a sender communication channel with file adapter in sender R/3 system . i dont know which business system should i refer for my receiver communication channel.because my receiver end is  a mail server. should i create any third party business system for this one?
    can anyone suggest me to define a receiver comm channel in a right manner?
    helpful answers will be rewarded.

    Hi,
    Check these
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Regards
    Seshagiri

  • Error in File to Mail Scenario

    Hi All,
      I am getting the following errror at adapter level in File to Mail Scenario in XI production
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.io.IOException: server not responding OK to RCPT TO; 554 Relay access denied
    In XI development the scenario is working fine. I also checked with basis people for the configurations of the two servers and it is same.
    Can any one suggest the possible ways to solve the above error.
    Regards
    Prakash

    Hi All,
       I tried with one more SMTP server in both development and production , In development mail is going. But in production i am facing the following error in receiver adapter.
    Mail: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused
    Exception caught by adapter framework: java.net.ConnectException: Connection refused
    Delivery of the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.net.ConnectException: Connection refused.
    Kindly provide some solution to solve the above errors.
    Regards
    Prakash

  • File to Mail Scenario error

    Hi All,
                    I did file to mail scenario. The source structure contain the following elements like <to>....</to>, <Subject>........</subject> etc (the source structure created by me). In Integration Directory I set the Mail adapter Message protocol as "XIPAYLOAD" and Mail attribute "Use Mail Package" selected.  So here my scenario should send a mail to which has i given "To Id" in my source structure. But when i go to SXMB_MONI, I found my message as red flag and it is showing information like "thrown during application mapping". Here what is the problem and how can i rectify the problem, please any one help me, 
    Thanks & Regards,
    Satish,

    Hi,
    you should add your email address to your user,add specific users list add you r user in alrtcatdef.
    generally you should maitain the email data type format like
    subject,from,to,content-type..
    se below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Regards
    Chilla..

  • Idoc to Mail Scenario

    Hi Experts,
    My scenario is Idoc to Mail scenario..
    In thie scenario the mail should be delivered to the specific DL (Group Email-ids,DL-> Distribution List) with dynamic subject line so while delivering the mail based on the contents of the Idoc the subject line of the mail will be changed,
    For this reason we need to use Mail Package, if so then how to define the structre in the email adapter.
    required output in mail is as follow:
    Subject LIne: Purchase Order Number;
    Email Body :
    Delivery Date:
    Ship Date:
    PO Number:
    Desc:
    Qty:
    So the email body has 5 attributes as delivery date, ship date, PO number, desc, qty;
    The email body should go as an attachment with the name "Company Name"+PONumber.csv
    Can anyone throw some light regarding to this scenario..
    Thanks,
    --Kishore

    Hi
    For Mail package use this structure.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
      <Subject>Subject</Subject>
      <From>nameaATcompany.com</From>
      <To>namebATcompany.com</To>
      <Reply_To />
      <Content_Type>text/plain</Content_Type>
      <Content>
    payload
      </Content>
    </ns:Mail>
    alternativ you can use Adapter-Specific Message Attributes like SHeaderSUBJECT
    take a look at this blog as well:
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    regards,
    Robin

  • File To Mail Scenario Clarification

    Hi!
    Can someone help me with this....
    1)In a File To Mail Scenario, while selecting the mail server, do we need to select only the mail server or we can select any server...I mean, when I was doing this scenario, I selected my Windows 2003 server....as the mail server and the url as smtp://ipaddress....Also, I tested it, by putting the Source payload in the FTP server......Then, used SXMB_MONI to check the file....I saw the success flag... My question here is, how to check the mail......Can, you give me the step by step instructions for testing the File to Mail scenario....
    2)I loaded Eclipse on my system, How to open that (execute that)...I mean...I want to learn Java Mappings..Where should I put the  code.....etc.... Step by step instructions with screen shots please....
    Thanks....

    >>2)I loaded Eclipse on my system, How to open that (execute that)...I mean...I want to learn Java Mappings..Where should I put the code.....etc.... Step by step instructions with screen shots please....
    Open the "eclipse.exe" and go on help. It will say how to create your first java project. Once you are comfortable with tool then go for Java Mapping. (Efficient way of learning
    thanks
    Farooq

  • File to mail  scenario

    In file to mail scenario how can we send a document/image as an attachment  along with the data?

    Go thru this link. It contains demos on how to work with Mail adapter
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]
    Have a look at these weblogs ....
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards,
    Shabari

Maybe you are looking for

  • Cannot Connect to New Machines on Network

    I've installed three new machines on my network and can only make the ARD connection to two of them. They all have the same settings, yet I cannot access the login/pass section to complete the connection. I can see them on my network, just cannot do

  • Lego indiana jones

    Hello everybody, some days ago I bought a cable from the Apple Store in order to link my iMac to my Samsung LCD tv and duplicate the screen. Everything runs, but I have two problems: I can't use the game Lego Indiana Jones 2 because, when the iMac is

  • E63 won't turn on anymore

    On Friday night, I forgot to charge my phone and the battery completely died. I charged it all day and all night on Saturday. The phone still won't turn on. When I hold the power button, all I get is a white light behind the tactile square button in

  • Proxy setting for Internet Explorer

    Recently purchased new CPU with Windows 8.1. I am not able to access Explorer.  I get an error message about proxy settings. How do I change this?

  • Hey everyone, I sent all my photos to icloud photo sharing, and I want to know if I can reset my iPad without the photos gone? Please help!!!

    Hi. Everyone,  I want to reset my iPad but I sent all my photos to Icloud photo sharing. Now I'm wondering that if I reset my ipad, will all the photos go? if they will how can I prevent that? I'm also using and iphone with the same Apple ID if that