MAIL ADAPTER RECEIVER setup

How can I setup a simple MAIL ADAPTER RECEIVER that provides "Hello World" to one specific recipient of the e-mail?

Hi,
Check out these blogs
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
/people/community.user/blog/2006/09/07/email-reporting
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
Regards,
Jai Shankar

Similar Messages

  • Plain text and attachment in Mail Adapter (Receiver)

    Hello,
    we have to generate a mail in the mail-adapter with a specific text and an attachment.
    The attachment is a document in pdf-format, that is generated inside an adapter-module out of the payload-document.
    An additional text has to be added to the mail for the receiver in plain-text-format, like "Dear customer ... enclosed you will find ...".
    Is it possible to mix plain-text and attachments in the mail adapter? Does anybody know how we can do that?
    Regards,
    Thorsten

    Hi,
    yes you can do it very easily inside the adapter module
    if you're already using the adapter module then
    you can just enhance it a little bit
    you can add the pdf to the attachment section and
    leave dear customer in the standard payload
    you can even make it a little bit more dynamic
    and create a module that will take the input from
    the communication channel config (modules tab) - for example xml tag name in which you will specify
    the dear customer (or any other text) and after this
    the pdf creating can use the xml without this tag...
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Content Field issue in Mail adapter receiver

    My  inerface CIDX->TO-->IDOC:
    I have an Error handling logic (Busines error) which needs to be send in EMail....the to address has to be detemined in runtime, the mail content is in the following format
    Mail Content:
    A KB order type came in from:
    Partner Information:
             Partner Name.
             Darex
             Chicago  IL 60638
             US
    ///below data till end  is for single line item, will occur twice if 2 line item
    PO Number       : 45012529631
    PO Line No       : 1
    Customer Product Code : YYYYYYY
    Customer Product Name : XXXXXXXXXX
    Price                    : 12345
    You should verify the PO is updated in the hosted solution and that the price is correct in SAP.  If this isn't the correct price from our partner please contact them and verify what the correct price should be.. 
    I am able to send the above content in mail for line item is 1, if there are more than 1 lineitem then it is breaking as mail content size is huge
    If there are Multiple Line items present in the Incoming CIDX file then the number od line items should be disaplayed in the mail. all the lines POLine NO till end will repeate for each Line Item....i am getting the arrayindex out of memeory exception as the data is huge which i am mapping to the content field of the reciver mail adapter....
    kindly suggest me the better method to handle this situation..my worry is if the number of line item is 10 then the mail content will be very huge and it will break during the runtime, as that field content cannot take so huge data.

    Hi Kiran
    Then there is no need to use Transformation bean for this
    In Mapping map the mail package Content_type field with
    text/plain;name="xyz.csv"
    and select mail package and keep attachments in receiver mail adapter
    This will work
    Thanks
    Gaurav

  • Mail Adapter : Receiving a Dat file

    Hi,
    I am sending an error message to MAIL adapter during a IDOC->XI<->HTTP Receive.
    I am getting the error message to my email id in the form of .DAT file(an attachment)
    The "Keep Attachments" is unchecked.
    Why is that i am not able to get this within the body of the email?
    Thanks,
    Tirumal

    hi,
    These blogs help me send an email with attachments which i do not want.
    I am getting the message in .DAT file which i have to open in an editor but i want the contents to be the body of the email.
    e.g.
    <email_text>
         <id>123</id>
         <name>123Test</name>
         <datesent>06/06/06</datesent>
    </email_text>
    I need to see the contents of the email as <id>, <name> and <datesent> in the body.
    I am on SP16.
    Thanks again,
    Tirumal

  • Mail Adapter Receiver

    Hi,
    I am trying to configure a receiver mail adapter.  I am not using the mail package, instead using the direct xml.  I tried the SMTP address of hotmail and gmail and it didn't work.
    Here are the connection parameters:-
    URL = smtp://smtp.gmail.com
    Authentication Method = Plain
    User = myGMAILId
    Password = myGMAILpassword
    From = myGMAILId
    To = myGMAILId
    Content Encoding = base64
    I searched all the mail adapter blogs in SDN and it didn't help.  Can someone suggest what's missing.
    Appreciate your help.
    Krish

    > I am trying to configure a receiver mail adapter.  I am not using the mail package, instead using the direct xml.  I tried the SMTP address of hotmail and gmail and it didn't work.
    Company firewall often block smtp calls to outside world.
    You should use an internal mail server.

  • Mail adapter (receiver): Where do i put the SSL port ? (Yahoo 456) ?

    Hi,
    For Yahoo email, the following SSL port (smtp) must be supply:
    Outgoing Mail Server (SMTP): smtp.mail.yahoo.ca
    Use SSL, port: 465, use authentication
    Where (in the CC) do i supply the parameter ?
    I have tried: smtp://smtp.mail.yahoo.ca:465 but i am getting a time out error
    Thanks !
    A+
    mosborne

    Do i need to use the < Adapter-Specific Messages Attributes > ?
    Thank !

  • Receiver Mail Adapter for PI 7.1 ehp1

    Hi Experts,
    Is there a way by using Mail Adapter (Receiver) to read the contents of the payload (which is considered also as the attachment) to be included in the body of the email?
    Appreciate your help in advance. Thanks!
    Cheers,
    R-jay

    Hi Shabarish,
    Thanks for your answer.
    I guess you misunderstood my query. What I would like to do is not to read the content of the email, but to read the content of payload and includes it on email. Using receiver mail adapter as standard (without using module or UDF), and configuring it as to sending the payload, you are just sending an email to the recipient with an attachment without any message in the body.
    What I would like to know is how to send an email with details (on its body) taken from the information of the payload.
    Cheers,
    R-jay

  • Sender Mail Adapter with PayloadSwapBean

    Hello Experts!
    I have a Sender Mail Adapter receiving emails with attachments! I'm using PayloadSwapBean, because I have to manipulate (to do mapping) the XML attachment.
    Sender Mail Adapter Configuration:
    Default Interface Namespace = urn:mynamespace.com
    Default Interface Name = abs_async_myInterface
    swap.keyName = Content-Disposition
    swap.keyName = Content-Description
    swap.keyValue = attachment;filename="MailAttachment-1.xml"
    swap.keyValue = MailAttachment-1
    Well, my problems are:
    1) Although my Default Interface Namespace is urn:mynamespace.com, sometimes the namespace that cames to SXMB_MONI is http://sap.com/xi/XI/System/Mail. In that case, an Receiver Determination error happens.
    2) My XML can be the first (MailAttachment-1), the second (MailAttachment-2), the third (MailAttachment-3), or any other attachment position. Since my swap.keyValue is set to "MailAttachment-1", I'm able to pick the XML only if it is the first attachment.

    Hi Julio,
    Writing an Adapter Module for the same can make your task easy.
    Thanks'
    Sunil Singh

  • Sender Mail Adapter - default interface name

    Hi,
    I need to receive through one e-mail sender channel tree different kind of messages.
    In sender mail adapter I specify ecept other parameters "Default Interface Name". When I send a message with a same as defined in an interface the message is processed correctly.
    But when I send a different kind of message then I get an error : "Receiver could not be determined".
    Is any way around how through one sender e-mail adapter receive a different kinds of messages ?
    Thanks for any help,
    Marian

    Hello Marzian,
    have you find a solution for this problem?
    We're facing the same issue.
    thanks,
    -Peter Ha

  • Change attachment name using mail adapter

    Hi All,
    I have a problem changing the attachment name in my scenario. I use Mail scenario to send a pdf Attachment from R/3 to email address. Everything working fine except the attachment name that becoming untitled.pdf and untitled.txt.
    Communication Channel setting :
    message protocol : xipayload
    transport protocol : smtp
    checked use mail package
    checked keep attachment
    I have use MessageTransformBean in my receiver adapter, but no luck. It was produce an error.
    anyone have an idea to solve my problem?
    thx,
    Robby

    Hi,
    You need to go to the Module tab of the Mail adapter receiver communcation channel and give the parameter as Transform.contentDisposition and its value as attachment ( since you needed the output to be sent as an attachment) and give the name of the attachment as you required.
    Please see the help page : [http://help.sap.com/saphelp_nw04/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm] for more details and more options of the parameters.
    Regards,
    Kalpana.

  • Conversion Agent - Mail Adapter integration issue

    Hi Experts,
    I have a Conversion Agent Serializer for generating a text file on the receiver side.
    The Serializer works perfectly with the File Adapter on the receiver
    side and generates the text file.
    Now I have a requirement to send this file as an attachement in an email.
    When I include the Serializer Module in the File Adapter
    (Receiver), the email is not triggered.
    The Communication Channel Monitoring shows the following:
    2007-04-29 07:34:55      Success         Message successfully received
    by messaging system. Profile: XI URL:
    http://bibox01:50000/MessagingSystem/receive/AFW/XI Credential (User):
    PIISUSER      
    2007-04-29 07:34:55      Success         Using connection
    Mail_http://sap.com/xi/XI/System. Trying to put the message into the
    receive queue.
    2007-04-29 07:34:55      Success         Message successfully put into
    the queue.    
    2007-04-29 07:34:55      Success         The message was successfully
    retrieved from the receive queue.     
    2007-04-29 07:34:55      Success         The message status set to DLNG.
    2007-04-29 07:34:55      Success         Delivering to channel:
    FIle_Mail     
    2007-04-29 07:34:55      Success         MP: entering 
    2007-04-29 07:34:55      Success         MP: processing local module
    localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean    
    2007-04-29 07:34:55      Success         TransformationName:
    TravelexBAI_Serializer
    2007-04-29 07:34:56      Success         CM_Transformation_succeeded  
    2007-04-29 07:34:56      Success         MP: processing local module
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean      
    2007-04-29 07:34:56      Success         Mail: message entering the
    adapter
    2007-04-29 07:34:56      Success         Mail: Receiver adapter entered
    with qos ExactlyOnce  
    2007-04-29 07:34:56      Success         Mail: calling the adpter for
    processing    
    2007-04-29 07:34:56      Success         Mail: call completed 
    2007-04-29 07:34:56      Success         Mail: continuing to response
    message 4ee64c80-f5d0-11db-8932-000bcdcf4920  
    2007-04-29 07:34:56      Success         Mail: sending a delivery ack
    2007-04-29 07:34:56      Success         Mail: sent a delivery ack    
    2007-04-29 07:34:56      Success         MP: leaving  
    2007-04-29 07:34:56      Success         The message was successfully
    delivered to the application using connection
    Mail_http://sap.com/xi/XI/System.     
    2007-04-29 07:34:56      Success         The message status set to DLVD.
    The Audit log above states that the Serializer was executed successfully
    and the the Mail Adapter was called.
    The Message Content shows the Payload being generated correctly. But the
    Email is still not triggered.
    Could someone please provide some help with pinpointing the issue over here.
    Michael, are you there??
    Thanks & Regards,
    Shobhit

    Hi Ahmad,
    The mail adapter works perfectly fine when I remove the Conversion Agent module from it. And the Conversion Agent module works perfectly fine with the File Adapter on the receiver side. So that authenticates that both the objects (Mail Adapter - receiver & Conversion Agent Serailizer module) are configured correctly as individual objects.
    I have used the following parameters in the receiver mail adapter:
    PARAMETERS
    Transport Protocall: SMTP
    Message Protocall: XIPAYLOAD
    URL: smtp://xyz.com
    Content Encoding: Base64
    Keep Attachments: <TICKED>
    MODULE
    Processing Sequence==>>
    Module Name: localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean
    Type: Local EJB
    Module Key: 1
    Module Configuration==>>
    Module key: 1
    ParameterName: TransformationName
    Parameter Value: <SerializerServiceName>
    Regards,
    Shobhit

  • When MAIL adapter failed to send the mail to recever, how does it handle XI

    Hi Experts,
            I used dynamic mail adapter, how do we track whether the mail has been successfully received by receiver,  if it is failed to send the mail by mail adapter how do we handle in XI. Please help me out.
    thanks
    siva

    Siva:
    There is one option in Mail Adapter (Receiver) "Send Delivery Status Notification". I think, it will help you to get the status. When you fill the above option, you are required to fill a recipient email id to whom, the status of the email will be emailed. From there, you can get the status. Please dig little more into this.
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

  • Error: Unable to create socket(While using Mail Adapter in receiver side)

    Hi Experts,
    I have tried the File to Mail scenario. While component monitoring the Sender communication is working fine but the receiver communication is giving error like Unable to create socket. Please help me to solve this error.
    Regards,
    Nutan

    HI,
    before using the mail adapter have you specified all the attributes porperly as well as have setup the SMTP Exchange Server address
    For FAQs about the mail adapter, see SAP Note 856599.
    Please read the below thread, it might be helpful/
    SOAP Receiver   java.io.IOException: unable to create a socket
    Thanks
    Swarup

  • 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

  • Not renaming attachment xml file name in receiver mail adapter

    Hi,
    I receive SOAP from GRC and need send to Partner an email.
    I have  SOAP to MAIL scenario where an xml file is picked up and transformed and zipped into the target format in XI which has to be sent as an attachement in an email on the receiver side.
    I am getting the mail with the attachement. But I would like to rename the attachment as the name "NFE.XML" and the ZIP File as the name "nfe.zip"
    I am using MAIL adapter with Modules above.
    Number  Module Name                                                                          Module Type                       Module Key
    1             AF_Modules/PayloadSwapBean                                           Local Enterprise Bean        Transform
    2             AF_Modules/MessageTransformBean                                  Local Enterprise Bean        ContentType
    3             AF_Modules/PayloadZipBean                                                Local Enterprise Bean        zip
    4             sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean    Local Enterprise Bean        mail
    Module Configuration :
    Module Key                           Parameter Name                Parameter Value
    Transform                             swap.keyName                 payload-name
    Transform                             swap.keyValue                 NFE
    ContentType                         Transform.ContentType    application/xml; name="NFe.xml"
    zip                                         zip.filenameKey                ContentType
    zip                                         zip.mode                           zip
    I  am using transport protocol  "XIPAYLOAD" and set  "KEEP ATTACHMENTS"
    I have with result example above :
    Name from ZIP              :  PayloadName.zipu200E(4KB)u200E
    Name from attachment :  PayloadName
    Regards,
    Ricardo

    Hi Shobhit,
    The module tab of your mail adapter will look like this.
    Processing Sequence
    Module Name                                                            Type                                      Module Key
    localejbs/AF_Modules/MessageTransformBean   rename LocalEnterpriseBean     
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean  mail     Local EnterpriseBean     
    Module Configuration
       Module Key               Parameter Name             Parameter Value
          rename      Transform.ContentDescription                      File
          rename  Transform.ContentDescription  attachement;filename="yourfilename.ext"                                                          
          rename            Transform.ContentType                 application/text;name="yourfilename.ext"
    Thanks
    Amitanshu

Maybe you are looking for

  • Cannot print duplex with hp laserjet 1536dnf mfp

    I am using a HP LaserJet 1536 dnf MFP printer in Windows 8.1 with USB 2 connection.  Cannot print on both sides of sheet because clicking on print properties does not bring up the properties dialog window.  There is a momentary flicker as though it i

  • My iMovie 10.0.4 crashes when I try to open it. Why?

    For the past week I cannot open iMovie 10.0.4. It crashes as soon as I open it. Can anyone tell me how to fix this? I have several projects that I've been working on in iMovie, some of which need to be finished soon.

  • Question about camera raw. Need to edit Canon 60D Raw files in CS5.

    I downloaded the program camera raw. folder could not find the installer program. I do not know how to install the camera raw.in the past with these programs had no problems. what version of the program is suitable for Photoshop cs5 and camera canon

  • How populate the data in table control in  BDC?

    pls urgent?

  • GeoRasterViewer error

    Greetings. When GeoRasterViewer starts I get the following error. Is there a classpath problem ? E:\oracle\product\10.1.0\Db_1\md\demo\georaster\java>java GeoRasterViewer Exception occurred during event dispatching: java.lang.NoClassDefFoundError: or