Help Required on File to Mail Adapter scenario

Hi all,
Can someone give me some links or material regarding the step by step procedure to configure a file to mail adapter scenario (including the design and configuration). I have already gone through help.sap.com, but I need more clarification. So please guide me accordingly
Regards
V.Kartik

Hi Karthik,
     Also check these links on File to Mail adapter scenario:
    Blogs:
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/sap.user72/blog/2005/06/08/sending-attachments-in-mails
    Sap File on Mail Adapter:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    Also check these similar threads:
    How to implement file to mail scenario
    What is the process for sending file thru email using Mail Adapter ???
Regards,
Subhasha Ranjan

Similar Messages

  • File to mail adapter scenario.

    Hi All,
    i have a file to mail adapter scenario.
    here i get the data from tthe different vendors and what ever comes in should be validated and  if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.
    my questions are...
    <b>1.whare should we validate the data..is it in the XI server or receiver mail adapter..
    if so..how to do that validation
    2.how can we send as attachments ..
    3.how can we detach them..i.e if attachments are not required 4.if content conversion conversion has to be done where is that done..
    4.after coming out of the receiver adapter....how can we send it to the appliocation server.</b>
    Thanks in advance..
    cheers,
    raghavesh
    Message was edited by:
            Raghavesh Reddy
    Message was edited by:
            Raghavesh Reddy

    Raghavesh,
    Not sure if i follow the entire question.
    ><i>here i get the data from tthe different vendors and what ever comes in should be validated</i>
    I guess you are getting files using the file adapter.
    ><i>and if needed sent as an attachment or detached from the message and then from receiver mail adpter to application server..if possible content conversion has to be done.</i>
    Not sure I follow this part. You validate your incoming file and what do you do
    1. If the file is valid?
    2. If the file is invalid?
    are you sending mails in both cases.
    Like pinted out there are multiple places where validations can be done,
    1. Module -->  https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    2. Mapping --> Graphical / Java
    There are many options and they all depend on the incomuing payload and the entire process.
    So , if you can give us more details, maybe an optimum solution can be discusses.
    Regards
    Bhavesh

  • E-Mail reporting in file to mail adapter scenario

    Experts,
       I am working on a file to mail adapter in which, have to just send a mail to the recipient by  putting a subject line and mail body.
    am following the following example
    /people/community.user/blog/2006/09/07/email-reporting
    but my requirement is not to send the mail attachment. I just need to send a mail body stating the error location.
    here at teh receiver side, have downloaded a mail.xsd. in this "subject line","from field" , "to" field is there but there is no "mail body" field .
    Can any one please help me out. I just require to send a mail body to the recipient.
    Thanks
    Veeru

    Expert,
       I have used but still am getting teh attachment not as a mail body.
    Isit possible to send the mail body via XSLT mapping , for eg
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://perks.com/MailTest">
      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
        <xsl:template match="/">
       <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
        <Subject>Error files from XI</Subject>
        <From>from mail ID</From>
        <To>to mail id</To>
        <Content_Type>text/html</Content_Type>
        <Content>
         <xsl:text xsl:space="preserve">The error files for which service entry has not been created:</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:
        </Content>
       </ns1:Mail>
      </xsl:template>
    </xsl:stylesheet>
    Any suggestions?
    Thanks
    Veeru

  • Configurations required for sender/ reciever mail adapter scenario...

    Hi,
    I have to work on few mail scenario's i.e, sender and reciever.
    Please let me know what all configurations are required in XI server to make the system ready to send and recieve mail like SMTP configurations...
    Thanks..

    Hi,
    how to use mail adapter                                                  
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05                                                  
    XI: Dynamic name in the mail attachment - pseudo "variable substitution"                                                  
    The specified item was not found.                                                  
    XI: Sender mail adapter - PayloadSwapBean - Step by step                                                  
    The specified item was not found.                                                  
    XI: HTML e-mails from the receiver mail adapter ?                                                  
    The specified item was not found.                                                  
    Mail Adapter (XI) - how to implement dynamic mail address                                                  
    The specified item was not found.                                                  
    S/MIME Security for the MAIL-Adapter within XI                                                  
    S/MIME  Security for the MAIL-Adapter within XI                                                  
    Configuring sender mail adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
    Thanks,
    Madhu
    Edited by: Madhu sudhan Reddy on Jul 18, 2008 7:54 AM

  • Mail Adapter Scenario  ----- Need help

    Hi All
    Again with same mail adapter scenarios .
    I am trying to send my e-mail on Microsoft Exchange server to a FTP server .
    So flow is like Mail system->XI-> File system.
    While configuring sender mail adapter , i gave the following URL  imap://S4DE8PSAANH.ibm.com/InBox as i am using IMAp4 as the protocol.
    Now i have set of doubts and questions for which i need input from you all
    a>I am still seeing my sender communication channel with green light (running ), its not picking up any new mail i came to my inbox. Any reasons why it did not pick up ?
    b> Now to set up Receiver Determination and Interface Determination , i need to have inbound interface created, but here when my requirenent is just to send a e-mail content as XML to fle system , what interface should i use or how should i create a interface with interface mapping or message mapping ?
    c>Any idea whether just configuring a sender mail adapter with certain poll interval will result in a XML message that can be seen in SXMB_MONI txn ? Or do i need to fullly set up my receiver system and complete whole configuration of the entire flow.
    My intent is just to get a simple mail body into XI , how do i achieve it ?
    I gave URL as imap://S4DE8PSAANH.ibm.com/InBox , still i did not get any XML message in SXMB_MONI txn ..or should i give IP address of my exchange server instead of S4DE8PSAANH.ibm.com ? ...
    Can we see a XML message if only a sender communication channel is set up with no receiver ? .. I am just wondering why new mail in my inbox is not getting picked up into XI.
    Thanks a lot to all who helped to me earlier , i guess i rewarded points to all those who guided me : -) and will do same again as promised.
    Please help .
    Thanks and Regards
    rohan

    Hi Rohan -
    Here's what I can tell you:
    - if the hostname is wrong, you'll get a 'UnknownHostException'.
    - if the path (e.g. Inbox) is wrong or doesn't exist, you'll get a 'IOException...  The requested item could not be found'.
    - if you don't configure user authentication, you'll get a 'NullPointerException'.
    This is all within Adapter Monitor - so since your mail CC status is green, we can only assume that your mail host is valid, your path is valid, and your user id/pwd is valid.
    One thing to try, since 'Inbox' is common to any mailbox, try creating a new folder at the Inbox level (e.g. called 'Test1') and specify the URL as:
    imap://S4DE8PSAANH.ibm.com/Test1
    and see if your CC status is still green in the Adapter Monitor (make sure to look at the ID Cache Notifications and the timestamp in the adapter monitor).
    Outside of this, SP9 is relatively old.  You should patch your XI system as soon as you get a chance - with or without this problem.
    Regards,
    Jin

  • Mail adapter scenario

    Hi 
    I require some input on including a mail adapter to an existing scenario
    The scenarios is as follows,
    I have to create some files around 20 and place them in two folders , that build has been done and tested , so I have a multi mapping , for those 20 files , and enhanced interface determination and is working fine
    Now a new requirement is to send an email ,
    kindly  tell me the steps in IR and ID to include the mail adapter in this interface ??
    considering it as an additional feature, nthing to do with Files ,,,
    which means that an email adapter has to be called with the file adapters ( not before not after....the precedence doesnt matter )
    its just that along with creating the files an email has to be sent ... thats all
    I want to know what am i required to create :
    in IR : is there a separate interface required .. smthing to do in mapping also ? i am presuming not since it is inbound
    in ID  : can i create a dummy busines service  and what all do i need to create ???
    please help
    thanks
    Dev

    Hi,
    You create a message type for mail adapter and an message interface. You can also use the predefined message type from sap. So now in multimapping you add this message type and map from your source to this mail mapping. Add the same message interface in interface mapping.
    Create a mail receiver communicaiton channel with your mailbox parameters. Then add this to your receiver determination. Also you need to create a receiver agreement for this one.
    You can see some help here:
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    You can do a search for more blogs and tutorials on mail adapter.
    Regards,
    ---Satish

  • XI - Mail adapter scenario

    I am working on a scenario where XI will send the xml to the receiver via e-mail. I am not getting any e-mail from the XI system. Can I specify gmail or yahoo account ids along with the property settings?
    Do I have to do anything on the SCOT transaction?
    Regards,
    N.S

    Moorthy,
        I wanted to let you know that am working on a RFCBPM-XI-Mail adapter scenario. This scenario worked on a regular file adatper scenario. Now I am just changing the sender communication channel to selec the mail adatper.
    I am getting the following error in the mail adapter:
    <b>'error occured: [2006-09-27T00:21:04Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.io.IOException: server not responding OK to MAIL FROM; 530 5.7.0 Must issue a STARTTLS command first 40sm120265wrl"</b>
    Here are the parameters:
    Transport protocol : SMTP
    Message Protocol : XIPAYLOAD
    Adapter Engind : Integration Server
    url:smtp://gmail.com (also tried the IP address of this server)
    Authentication mode: plain
    user: [email protected]
    password : no password
    Mail attributes:
    From : [email protected]
    To : [email protected]
    subject : sample e-mail
    Content Encoding: base64
    Please let me know where the error is;
    N.S

  • Sending Text File through Mail Adapter

    Hi Group,
    I need to send my Target as Mail attachment in the Text File?Can any body Suggest

    Hi swabap,
         You need to use PayloadSwapBean module in the Mail receiver adapter. This module will send the payload as an attchment to the mail server.
    Check the following link
    <a href="/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure:///people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards,
    Akshay

  • File to Mail Adapter issue

    I am trying FILE-TO-MAIL ADAPTER senorio
    I have file contains following data(more than one row data in file)
    emailaddress,subject, content
    I used receiver Data type
    https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt
    If text file is only one record it is sending mails as mail defininition is 1..1 in ximail30_xsd
    I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.
    I am getting validation error.
    please advice me.

    Hi,
    ><i>I changed the mail definition in ximail30_xsd to 0...unbounnd and recreate the external definition andcreated interface based on external definition.</i>
    Maybe you can consider using MultiMapping to send the multiple Mails out of XI.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Is this what you want?
    Regards
    Bhavesh

  • File to mail adapter

    hey guys
    i m doing a file to Mail scenario in which i have to send mail in report format and assign the receivers dynamically,i m making use of /people/community.user/blog/2006/09/07/email-reporting to send mail in report format and /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address to assign receiver dynamically but m kinda lost in hoe should i combine these two scenarios,what will be the structure of my source and target message be?
    can anyone help me in deciding how will my source and target datatypes look like?
    thanx and really appreciate ur help
    ahmad

    Your structure is dependent upon the messages that you want to import and export.  What file formats are you trying to use?
    If you are trying to follow Michal Krawczyk's Mail Adapter weblog then take a look at the XML message in his blog, it has fields <subject><to><from><content>.  It appears that he imported an Email structure from an XSD, but there is no reason you can't create that structure yourself in the IR.
    As for the weblog by Prakash Arunachalam, he provides an XML structure in his weblog at the bottom I believe.
    Message was edited by:
            Harrison Holland

  • Send .bmp or .jpg File over Mail Adapter

    Hi All,
    I need assistance on the scenario: .jpeg or .bmp File -> XI -> SapInbox
    The contents of a file will be only the image and nothing else.

    Hi All,
    I have configured my Sender as File Adapter and Receiver Mail Adapter.
    I have my source File (.jpg) on my PC.
    I have the following problems in RWB when I check my Adapters :
    File = Sender Adapter v2727 for Party '',Service 
              MyServiceName': Configured at 2006-10-11
                                           09:40:39 GMT
             History:
               - 2006-10-11 10:16:50 GMT: Error: No suitable
               sender agreement found
    Mail = I get Status Green MyServicName:MyCommunicationChannel  running: started
    I cannot create a Sender Agreement as my interface is only going to get the File and send it out to Mail.
    What is it that I am missing.

  • Flat File to Mail Adapter

    Hi,
    I have the mail contenent in the flat file, so i want to send this flat file to my Gmail account through the XI system. How can i do that.
    Please give me some links or information related to this. What interface we need to take for file and Mail, How we need to do the mapping and all.
    Points will be rewarded for helpful answers.
    Thanks in Advance,
    Best Regards,
    Vijay

    I have the mail contenent in the flat file, so i want to send this flat file to my Gmail account through the XI system. How can i do that.
    file( attachment ) to mail
    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]
    Best Regards,
    Srikanth
    Reward the useful answers and you will get one point yourself

  • File to Mail Adapter but only payload no namespace

    Hi SAP Guru's,
    I want to know how to handle File to Mail interface with only payload in the text file.
    I am only getting this in the file
    ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS
    and I want to transform the structure like this to perform mapping otherwise mapping won't work.
    <ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
       <payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
    </ns0:ContentContainer>
    I believe it is only possible through xslt but I don't to know how to use it.
    Can somebody please help me to resolve this issue.
    Thanks,
    Iqbal

    Hi
    You can use FCC in sender channel, with slight change in ur structure,
    ns0:ContentContainer xmlns:ns0="http://s.com/xi/pa/10/lite">
    *<data>*
    <payload>ACK3|24052010095354|4BC8612A7A530073E100800024590A61|1005241738SPBC8612A7A5000|D0000018|SXI|75130|(INFO) File Sent|PAYMENTS</payload>
    *</data>*
    </ns0:ContentContainer>
    Parameters
    Record set str          data,1
    data.fieldNames       payload
    data.fieldSeparator  'nl'
    Try it
    Regards
    Ramg

  • Help required in File Adapter Module Development

    Hi All,
    I am working out a File to File scenario where my source file is in some different format. Please find the below sample:
    <Root>
    <ID>100</ID>
    <NAME>SAP</NAME>
    <END-Root>
    Before taking this into IS, I need to change the file to a proper XML format. I need to replace "END-" with "/".
    <?xml version="1.0" encoding="UTF-8" >
    <Root>
    <ID>100</ID>
    <NAME>SAP</NAME>
    </Root>
    I think I can achive this by developing Adapter Modules. I am new to Adapter Module development.
    Can you please tell me if there are any inbuilt Adapter Modules for this. If not please suggest me some relevant blogs to solve this issue. Thanks in Advance.

    Hi Phani Kumar
    There are more than one ways to do this. As per your timelines and skill set you can decide
    1. You can use the XMLAnonymizerBean this is an inbuilt module
    Check Stefen's blog
    Remove namespace prefix or change XML encoding with the XMLAnonymizerBean
    2. You can read this complete file in a single field and then you can create XSLT or Java mapping to parse it in a target XML you desire.
    Check these
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken](XSLT mapping)
    Java Mapping (Part I) (Java Mapping)
    The specified item was not found. (Java Mapping helper DOM)
    The specified item was not found. (XML Node into string)
    3. You can develop Adapter modules for this
    Refer
    Check Guides
    XI 3.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    PI 7.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f013e82c-e56e-2910-c3ae-c602a67b918e
    PI 7.1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00838345-708c-2a10-1199-9514c0b0a91c

  • Need to send a mail back to the user in Sender Mail adapter Scenario

    Hi all,
    I have a scenario where the user fills the Price form  or the Article form (which is a Adobe Form).When the user clicks on the "submit" button,the form is converted into xml , gets attached to the mail and sent to PI.
    Now the user sometimes attaches the pdf directly instead of submitting the form. This results in the mail being sent
    with pdf  as attachment.
    Now my requirement  is to send a mail back to the user asking them to send an xml  instead of a pdf.
    How can this be done ?
    Kindly let me know friends.
    Quick Response is appreciated.

    hi Sanjay,
    Have a look on Michal's blog, it's for JMS, but it works for others: [PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean|PI/XI: Quick tip: Preserving attributes of XI messages via MultipartHeaderBean]
    Mickael

Maybe you are looking for

  • Can't view data charges online

    Ok we have 3 non smart phones on our family plan and have data blocks on them as we do not use data at all.   I check the accounts weekly for any unusual things and last week noticed minimal data charges on sons account 4 days in a row.  He is in ano

  • Connect access using JDBC

    Hi I need to write a little server program to pass in SQL statement sent from the client and perform the statement and return the result to the client. I want to server to be able to support more than one access at a time so I will be using thread. I

  • Missing conditions in my query

    Hi all I am trying to develop custom report Following are the columns which I required while running the query its showing incorrect data and duplicates too Not sure where I am missing Pls suggest me whether the conditions which I gave are correct or

  • Home wifi signal in and out

    I have internet coming into the house through time warner cable.  it goes directly to my imac via ethernet. I have a wifi netowrk set up on my time capsule, and I have an airport extreme connected to it from the other side of the house. The internet

  • Uninstall Symantec Antivirus

    I'm having trouble uninstalling my Symantec antivirus products. I first installed them on Mac OSX 10.3, and I'm running Version 1.0 (082). We upgraded our OS to 10.5 a while ago and trasfered everything currently installed. But since the antivirus is