Reciever Mail Adapter

Hi,
I have a business case where i need to post  invoice Idoc messages   to mail address using mail adapter.
and here i have around 30-40 receivers(email) and every time i need to filter the correct email receiver while posting the invoice.
So here my question is, is it possible in PI , where we can use some filter option while posting  to different email address  with email adapter?
Thanks,
Ravi Sanam

I had encountered the similar issue and able to overcome by using mail adapter  advanced attributes
you can maintain a Table in XI or in R/3 for each receipent and based on the invoice no/code for customer
do an RFC lookup and retrieve email id and map the same to ToHeader mail adapter attribute which will
make ur scenario to work
If you have already email address in source message then as already mentioned above mail package will suffice.
HTH
Rajesh

Similar Messages

  • Error in reciever mail adapter

    Hi all,
           I am testing my reciever mail adapter by sending message from runtime workbench.
    In sxmb_moni i get successfull status.But it is giving following error in reciever mail adapter :
    Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: java.net.UnknownHostException:XYZ
    failed to send mail: java.net.UnknownHostException: XYZ
    where xyz = My microsoft exchange server name  taken from tools->options->mail setups ->Email Accounts -->email tab  here we get microsoft exchange server name.
    Thanks
    Deepak

    Hi  Deepak ,
    Please refer this forum post .. if this helps.
    Reg:Receiver Mail Adapter
    Regards,
    srinivas

  • Body and Signature not getting in reciever mail adapter

    Hi Friends,
    My requirement is the reciever mail adapter having the Attachment and Body and signature.
    Here i am getting Attachment only. I am not getting Body( example: the ftp successfully genrated this file abbc_12/03/2014.txt) and Signature.
    Signature  like
    Thanks
    company name.
    Thanks
    Bhanu

    Hi Galla,
    I have some doubts about your scenario, Is your scenario FTP to MAIL?,  do you want to send the file as attachment or you want the file content as mail body or where the body is taken? where is the signature, inside the file?
    Meantime, you can check these documents about file-mail scenario:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0a27c01-26b0-2c10-bd8a-94498efa7ff6?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5083371b-5bd2-2e10-3f8b-ad877d24c9ce?QuickLink=index&overridelayout=true&52475910426407
    Regards.

  • Text file as an attachment in reciever mail adapter

    Hi Experts,
    I want to pick the text file using sender file adapter using file content converion, same file i need to send an attachment in reciever mail adapter.
    Can anybody help me how can i do this.
    Kind Regards,
    Praveen.
    Edited by: Praveen Kumar on Mar 10, 2010 9:08 AM

    Hi,
    >>>I want to pick the text file using sender file adapter using file content converion, same file i need to send an attachment in reciever mail adapter.
    use payload swap bean to put the attachment in place of the message payload - do the content conversion using
    content conversion adapter module, then do the same in the reverted order at the receiver
    there are dozenz of blogs showing how to use the two adapter modules I mentioned so just do a little search in blog section
    Regards,
    Michal Krawczyk

  • MIME settings in reciever mail adapter.

    Hi,
    We are trying to send the emails from XI system through SMTP adapter to a legacy system.
    The Legacy system wants file in the MIME format.
    At the XI end we have done the java mapping for the email configuration. Also, the configuration has been done to set the outgoing message format as MIME.
    The issue is the legacy system is not accepting the mail sent by our system.
    The issue has been found in few files. As in the legacy system is accepting randomly some files sent by our system.
    Please advice whether the error can be at the XI configuration end or it is at the legacy system end.
    Appreciate your quick responses.
    Regards,
    Alpa.

    Hi Jyothi,
    The MIME settings was there in the reciever mail adapter.
    Please note that the system was working fine since last month.
    The legacy system was recieveing the data sent by XI system since last month.
    There has been no changes done at the XI end and the reciever adapter end till now.
    Moreover now some files are being accepted by the legacy system.
    for eg. lets say if the system sends the files in sequence-1 2 3 4 5
    Randomly the legacy system is accepting file 1 and 4.
    We dont see any difference in the way the files are being created and sent in the XI end.
    The legacy party is claiming that no changes has been done.
    So wanted to know where to look for the possible cause of error.
    Regards,
    Alpa.

  • Need of security parameters in reciever mail adapter

    helo all.
    i just want to know the need of security parameters  and persist duration in reciever mail adapter.
    waiting for ur response.
    bye.
    regards.
    seeta ram.

    Hi Seeta Ram,
    If you want to encrypt e-mails and give them a digital signature in the corresponding receiver agreement in the Integration Server then Security Parameters are used.
    Persist Duration is used for security archiving.
    This link will help you
    http://help.sap.com/saphelp_nw70/helpdata/en/4e/c153426da9bd30e10000000a155106/content.htm
    Regards,
    Sreenivas
    Message was edited by:
            Sreenivas Nettem

  • How to configure reciever mail adapter

    Hi All,
    I have gone through your weblog for configuring reciever mail adapter BY PRASAD ULAGAPPAN.
    I have few doubts .
    Message protocol  ==      XIALL.
    If I am providing my mail address in MAIL ATTRIBUTES-TO parameter
    then what do we have to exactly specify in connection parameters.
    I want to send a mail from XI to my ID.  Suppose my id is [email protected] .
    So if I am providing this ID in " TO " parameter then what should I specify in connection parameters
    i.e       url = ?
               user = ?
               password = ?  (which password to specify  , usually we dont require to give password to recieve mails )
    Please help me with this.
    Waiting for your reply.
    Thanks in advance

    Hi Yomesh,
    The below help URL gives explanation for 'Connection Parameters for Mail Server':
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/9a50465ccf84479e39a6d50c90fb3f/frameset.htm
    You need to provide your mail server details. When you send a mail normally, say from outlook, you configure it to connect to some SMTP/IMAP server, using username/password.
    Provide that server details in URL.
    If you dont use user/password to connect to it, leave it blank.
    Also fill the 'From' mail address.
    For eg., if there is a internet connectivity to your XI server, and you want to use SMTP server of yahoo to send out mails,  then you can give:
    URL: smtp://smtp.mail.yahoo.com
    userid: yomeshsharma
    password: <your yahoo password>
    In this case, both your From & TO details are same.
    You can change 'TO' to send to a different mail address.
    regards,
    Pops V
    Message was edited by: Pops V

  • 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

  • Problem in : Reciever Mail Adapter.

    Hi all,
    In my scenario  file --> Mail
    this scenario is worked fine but now it showing the following error in Adapter monitoring.
    error occured: [2006-01-19T04:59:02Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.net.SocketException: Software caused connection abort: connect
    Please help me about this
    Thanks in Advance,
    Dhanabal T

    Hi Dhanabal,
    these links should help you clear your doubts regarding Configuring a Receiver Mail Adapter and possibly find the cause for your error.
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8c/607fe4756b654ab9f420097c29f6e9/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/112d20f6ce6c46ba66afb98d278fbd/frameset.htm
    Regards,
    abhy

  • Configuring Reciever mail adapter

    Hi all
    I am trying to cofigure Receiver Mail adapter and my scenario would be RFC to mail .what are the settings need to be configured for a mail adapter ? i am using 7.0 version and SP16
    can anybody send me some documentation or blogs about the receiver mail adapter
    Full Points will be awarded
    Regards
    Bhasker

    Hi,
    Please check the links below.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Receiver Mail Adapter.
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    eMail Reporting
    eMail Report as Attachment (Excel/Word)
    The specified item was not found.
    The specified item was not found.
    The specified item was not found.
    Regards,
    Phani

  • How t o get  the sunject in reciever mail using mail adapter

    hi all.
    i had created a file to mail scenario .
    in archive mapping program it was defined to which mailids of reciever side should be mailed and the body of the mail.
    but i just want to know if there are any settings under reciever mail adapter to get the subject uner reciever mails and an increment value (the number of times that the mailget posted in reciever mails) to be displayed in subject line of mail after descryption of the subject.
    waiting for great answer.
    cheers.
    seeta ram.

    Hi Seeta,
    you have to use a UDF in which you define a Container
    http://help.sap.com/saphelp_erp2004/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/frameset.htm
    http://www.erpgenie.com/netweaver/xi/mapping1.htm
    You can make a counter which increments every time you call the UDF.
    Use the UDF in your mail package with the subject.
    Hope this helps.
    Dominic

  • Query related to multiple attachments in mail adapter

    Hi,
    I have a query related to multiple attachments in receiver mail adapter.
    I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
    To clarify the requirement more let us take an example
    Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
    For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
    Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
    Thanks & Regards
    Prabhat

    Hi,
    I resolved the issue on my own. Thanks for your help and support.
    Thanks & Regards
    Prabhat

  • Mail adapter as sender and receiver

    hello.
    i made the scenario of Mail as sendeer and receiver, when as receiver it gives an error sayin "Mail: error occured: java.io.IOException: server does not support PLAIN or LOGIN authentication"...
    i saw the web blog 1798 by Prasad ulagappan...over ther i see that in the screen shots the option for connection parameter for mail server is ther and thers no option for the kind of authentication which is ther in sp13...
    i checked and unchecked both of them but gives error...
    any suggestions..
    Regards..
    vishal

    Hi
    Just now i chk my scenario on SP13 using reciever mail adapter, and my scenario runs successfully.Try giving these values in Connection Parametersfor Mail Server in ur adapter as they works fine for me.
    <b>URL:</b> URL of ur mail server
    <b>Check</b> the box of <b>Configure User Authentication</b>.
    <b>Authentication Method</b>: Plain
    <b>User</b>: System User Name
    <b>Password</b>: System Password
    Hope it helps.
    Regards
    Arpit Seth

  • Busines service reg mail adapter

    Hi
    I am working on scenario idoc(sender) to mail(reciever),sender idoc is aleaud,reciever is mail of format mailpackage, i am taking reciever as business service,when i am running the scenario the message is comming into xi,but it is not triggering mail adapter, in reciever mail adapter also i maintained all the parametrs, what could be the possible error, do i need to maintain the reciever mail as business system in sld or i can go ahead with business service. i am sending the mail to my company mail.
    regards
    raghu

    Hi,
    As of NetWeaver04 (XI 3.0), SP15 or NetWeaver04s (XI 7.0) Support Package 06, it is possible to define a security level for certain HTTP-based XI inbounds. This is done in the directory in the corresponding sender channels.
    The following HTTP-based adapters/inbounds are supported:
    Integration Server:
    o XI protocol
    o Plain HTTP adapter
    Adapter Engine:
    o SOAP adapter
    The following HTTP security levels are possible (in ascending order):
    HTTP without SSL
    HTTP with SSL (= HTTPS) without client authentication
    HTTP with SSL (= HTTPS) with client authentication
    HTTPS configuration:
    Note that for the HTTPS security levels with and without client authentication, you must configure the integration server (ABAP WebAS) or the adapter engine (J2EE WebAS) accordingly. This configuration basically affects the following aspects:
    - Installing the SAP Cryptographic Library (both in ABAP and J2EE WebAS)
    - Generating and maintaining certificates for the HTTPS server role
    - Configuring and mapping the client certificates that are used onto the corresponding internal users (in client authentication). In J2EE WebAS, you must select the option "Request Client Certificate" on the tab "Runtime" and "Client Authentication" in visual admin in the dispatcher service "SSL Provider".
    In this regard, see also the SAP Help Portal at http://help.sap.com/ -> Documentation -> SAP NetWeaver -> SAP NetWeaver 2004s (or SAP NetWeaver '04) under SAP NetWeaver Library -> Administrator's Guide -> SAP NetWeaver Security Guide -> Security Guides for NetWeaver according to Usage Types -> Security Guide for Usage Type PI -> SAP NetWeaver Process Integration Security Guide -> Network and Communication Security -> HTTP and SSL.
    SOAP adapter configuration:
    You still have to configure the SOAP adapter, particulary in visual admin. To do this, change the relevant SOAP adapter service sap.com/com.sap.aii.af.soapadapter*XISOAPAdapter in the security provider service (under -> Runtime-> Policy Configurations). Under the Authentication tab set the list of login modules as follows:
    ClientCertLoginModule, SUFFICIENT
    BasicPasswordLoginModule, SUFFICIENT
    You do not need to enter anything specific into the Options column.
    Regards
    Aashish Sinha

  • Using header paramter SHeaderX-MS-HAS-ATTACH  in Sender mail adapter

    I am trying to check if an e-mail contains attachment in reciever determintion
    I set the Variable Header XHeaderName1 to be SHeaderX-MS-HAS-ATTACH
    in Sender mail adapter
    I added a condition in the receving determintation
    XHeaderName1 = yes
    I see the DynamicConfiguration tab in sxmb_moni and the value of SHeaderX-MS-HAS-ATTACH is "yes"
    but the message fails with the error
    No receiver could be determined
    any ideas?

    Hi,
    In Receiver determination you need to set SHeaderX-MS-HAS-ATTACH = yes instead of XHeaderName1.
    As far my understanding, in receiver determination you need to verify the condition with  SHeaderX-MS-HAS-ATTACH = yes (check with syntax also ie. case sensitive and all)
    Thanks
    Swarup

Maybe you are looking for