Dynamic email address in MAIL adapter

Hi ALL,
             Is there a way of sending dynamic email addresses in mail adapter?
Regards,
XIer

Xier,
Yes. You can do it. Using Mail adapter option with Use MailPackage option.
raj.

Similar Messages

  • Dynamic Email Addresses in Mail Adapter in PI 7.1

    Hi All,
    I am having trouble populating email addresses in the structure and sending them. I have a source and target structure. The target structure should be sent as a mail attachment. I have created the external defintion of the mail attributes from the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1361. [original link is broken] [original link is broken] [original link is broken] Now my message mapping is multi-mapping. Its 1: 2 messages. And my operation mapping also has one source and 2 target interfaces. Now in Interface determination I gave the same mapping and both the messages showed up. But when I execute the scenario, its giving a mapping error, though its working in ESR.  Can anybody please help me out here.
    Please do not send me links to
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure or /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i .
    Thanks,
    Geetha

    Hi,
    Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Error: invalid XIMailAdapter channel
    This problem is answered in this thread:
    invalid XIMailAdapter
    Regards,
    Abhishek.

  • How to set "Cc" field in Dynamic Email address in Receiver Mail adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards,
    Ravi Siddam

    Hi,
    If you do not need mail package for other reasons, I suppose it is enough to provide a value in Dynamic Configuration for fields "THeaderTO" and "THeaderCC" and the select "Use Adapter-Specific Message Attributes" and "Variable Transport Binding" in receiver Mail Adapter.
    see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/frameset.htm">SAP help</a> for more details.
    Regards,
    Daniele

  • Configuring Receiver mail adapter with dynamic email addresses

    Hi,
    I'm a newbie to XI and I have problems in configuring the Receiver mail adapter with the "Use Mail package" option selected. I am trying pickup a file (using file adapter on Sender side, picks up a simple XML file) and after mapping in XI, send the message as an email message to dynamic email addresses.
    Everything works fine if I did not select the "Use Mail Package". But when I choose that option it errors out. I followed this blog posted on SDN -
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    The following XML message is my source
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/Somenamespace">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>Studentlastname</lastname>
                <firstname>Studentfirstname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Test mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    What I want to accomplish is, I have a simple message mapping where the Studentdetails are mapped to, lets say Customer details. For convenience lets keep it simple, StudentId --> Customerid, (student)Firstname --> (customer)Firstname, (Student)Lastname --> (customer)Lastname
    I would like to get the Customer details as an XML attachment or in the body of an email with from, to and subject corresponding to that specified in the <Mail> node.
    I followed the instructions posted on the blog and it works fine if I don't map the studentdetails to customerdetails. I did multimapping, with one source message (the xml file I posted above) and two target messages (customerdetails and Mail, which is the external definition posted on the blog). I beleive I'm missing something here. Could somebody please guide me through this?
    Thanks
    Karthik

    hi,
    I still have not found the solution for this problem. Michal, your blog works fine when my source message has got only the mail details. As per your advice, I tried modified the structure of the xsd file as follows
    <xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"
      xmlns:xi="http://sap.com/xi/XI/Mail/30"
      xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!--
    Mail
      -->
      <xs:element name="Mail">
        <xs:annotation>
          <xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:string" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Reply_To" type="xs:string" minOccurs="0"/>
            <xs:element name="Content_Type" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Message_ID" type="xs:string" minOccurs="0"/>
            <xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>
            <xs:element name="Content" minOccurs="0">
              <xs:annotation>
                <xs:documentation>any type</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="encoding" type="xs:string"/>
        </xs:complexType>
      </xs:element>
      <xs:element name="MailReceipt">
        <xs:annotation>
          <xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Server" type="xs:string"/>
            <xs:element name="Format" type="xs:string"/>
            <xs:element name="UseMailPackage" type="xs:boolean"/>
            <xs:element name="Encoding" type="xs:string"/>
            <xs:element name="Subject" type="xs:string" minOccurs="0"/>
            <xs:element name="From" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="To" type="xs:string" minOccurs="0"/>
            <xs:element name="Date" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CustomerlistExternal">
        <xs:annotation>
          <xs:documentation>Customer List</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Customername" type="xs:string"/>
            <xs:element name="Customerid" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    My source message will be something like
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:studentlisttest xmlns:ns1="urn:karthiksender_to_karthikreceiver">
             <Student>
                <studentid>1</studentid>
                <lastname>abclname</lastname>
                <firstname>abcfname</firstname>
             </Student>
             <Mail>
                <From>[email protected]</From>
                <To>[email protected]</To>
                <Subject>Testing Mail adapter</Subject>
             </Mail>
          </ns1:studentlisttest>
       </ns0:Message1>
    </ns0:Messages>
    I have mapped the <student></student> information to customerlist, with customerid --> studentid and customername --> firstname or lastname (for symplicity). This was a multimapping with one source and two target messages. My test mapping output is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <ns2:Mail xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Subject>Testing Mail adapter</Subject>
                   <From>[email protected]</From>
                   <To>[email protected]</To>
              </ns2:Mail>
         </ns0:Message1>
         <ns0:Message2>
              <ns2:CustomerlistExternal xmlns:ns2="http://sap.com/xi/XI/Mail/30">
                   <Customername>abclname</Customername>
                   <Customerid>1</Customerid>
              </ns2:CustomerlistExternal>
         </ns0:Message2>
    </ns0:Messages>
    So how would I get this part of the <CustomerlistExternal></CustomerlistExternal> part of the message as an attachment to the mail address specified in the <ns2:Mail></ns2:Mail> tags.
    I'm definitely not understanding it right and am missing something. Could you give me step by step instructions to acheive this. I apologize for the trouble..this would be of great help to me.
    Thanks
    Karthik

  • How to set "Cc" field in Dynamic Email address in Receiver JDBC adapter

    I have done the configuration for setting up the dynamic email address using the XSD provided by SAP in note no 748024. It is working fine.
    Michal's  blog “Mail Adapter (XI) - how to implement dynamic mail address.” was a gr8 help in doing this.
    But there is no clue of setting up of "CC" in email.
    There should be "CC" in email is our bussiness requirement.
    Would appreciate your helps.
    with regards
    Ravi Siddam

    HI,
    See fragment from help,
    Specifications for mail attributes:
    &#9675;       Under From, specify the e-mail address from which the message is sent.
    &#9675;       Under To, specify the e-mail address that will receive the message. If you enter more than one address, you must separate them with a semicolon.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    &#9675;       Under Cc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are visible to the receiver.
    &#9675;       Under Bcc, specify the other e-mail addresses to which the e-mail is to be sent.
    These addresses are not visible to the receiver.
    &#9675;       Enter the Subject of the e-mail message.
    &#9675;       Specify whether you want to encode the content of the e-mail message. You have the following options:
    &#9632;       None
    &#9632;       Base64 (default value)
    &#9632;       quoted-printable
    Hope this helps.
    Regards,
    Akshay.
    reward points if find useful.

  • Email from flex using dynamic email address

    I have an http service call that populates a datagrid. The user drags one or more items to a "favorites list". The user then emails this favorites list to himself. My ISP says they cannot handle dynamic email addresses which is apparently what I need to use. Any ideas or other ways to handle this? I am using PHP to handle the email function.

    Mehabub Sheikh wrote:
    We are using lotus notes for emailing.
    Is it possible to configure APEX for sending email using Lotus Notes 8.5?Yes, inasmuch as I've worked on a project that did so. Their DBA just used the standard APEX mail config: +Configuring Email+
    Notes didn't play as well with the APEX mail API as others: {thread:id=2379927}

  • Extract email addresses from Mail?

    A friend uses Mail on OS X 10.2 (Jaguar). He doesn't use Address Book. Instead, when he starts to type an address in Mail, Mail offers to complete it, often with several choices. His archive contains thousands of email addresses. My question: Is there a way to transfer the email addresses in Mail to Address Book without having to do each one manually?
    Mail comes up with choices of email address so quickly that it is hard to believe it scans the whole archive to find them. Does it have a database of some sort that it refers to? And can this database (if one exists) be read as a plain text file?
    Thanks!

    Hello, L.T.
    I don't know how this got messed up, but to manage the discussions you're subscribed to, log in. On the right side of the page, under "Welcome, L. T. Clarke", click on My Subscriptions. Deselect any discussions you don't want to follow.
    With respect to: "However I did post reference to D-LinkDBT-120 adapter that will pair with my bluetooth cell phone 6103", D-Link says "MAC OS X v.10.4.3 or higher required." ( DBT 120 )I don't know, myself, of a way around that requirement. Good luck, though.
    srb

  • How do you set-up a hotmail email address in mail

    how do you set-up a hotmail email address in mail?
    I cant seem to add it. any ideas why it cant connect to the server? what server address should i be using?
    regards
    Brendon

    Hi bmuur,
    I also had the same problem.
    I clicked Microsoft Exchange and kept trying to add my hotmail account that way but it kept asking for a server address for it to work.
    If you go into Internet Accounts and instead of clicking Microsoft Exchange scroll down to the bottom of the list and click Add Other Account...
    It will ask what sort of account you want to be created and I selected Add Mail Account and clicked create.
    Enter your full name, hotmail email address and password.
    I then clicked create and it worked for me.
    Hopefully this solves your problem. 

  • How to delete an email address in Mail

    A friend of mine has just changed his email address but I cannot remove his old one from Mail. I have added his new address and removed the old one from my Address book but his old address still comes up as the default when starting a new email to him.
    Any ideas would be appreciated...Cheers...

    Biggest apologies thought I was writing about iOS!?
    Am I also wrong about that too in iOS?
    LukaMac
    Re: how to delete an email address in Mail 
    Jan 16, 2012 6:53 PM (in response to Helpstonharv)
    It appears because your mail app remembers a history of addresses.
    It cannot be deleted but I think it will disappear after a certain time.
    Message was edited by: LukaMac

  • Deleting remembered email address in Mail

    Hi
    I have many email addresses that Mail has remembered that I no longer need, or want.
    How do I remove them. They are not in my address book
    Thanks

    Open mail, in the finder bar select window> previous recipients. Then delet the ones you don't need.

  • How to configure dynamic email address for notification

    All,
    I have a problem in assigning dynamic email address for notification activity in a bpel process, I want to assign a user from a user-properties file. How do I achieve this. I tried using the users in System-jazn-data.xml file, but if i add a email attribute to the existing users it doesn't show up. I am sure there should be an easier way of using identity service and adding attributes to the jazn realm user, I might be missing something.
    I cannot have it as part of the payload the only way is to use identity service.
    Thanks,
    Chitra

    Hi James,
    Thanks for the reply. Its solved now. For anybody if interested you can set the dynamic email address either i) having it as part of payload - In this case use the xpath to query the payload varaible ii) use identity service - follow the following steps
    1.Create a user in Application enterprise manager/also you can use a existing account, if u are creating a new one assign the correct role
    2. In either case edit the user-properties.xml(bpel/system/services/config) file for the corresponding user and add an attribute called email
    3. Bounce the server for this changes to take effect
    4. In the notification properties in the to address use ids:getUserProperty and pass the attribute name

  • Export email addresses from Mail?

    Is there any way to export email addresses from Mail into a CSV file? I know I can push it to Address Book then export but that mixes all the exports in with my existing addresses.

    If you know SQL, you could export out of the previous recipients database file inside your user/Library/Application Support/AddressBook folder. It's a sqlite3 database.

  • Cut and Paste email addresses in Mail

    I have been frustrated when copying and pasting email address in Mail.
    When I copy an email address that is also in my Address Book from the "FROM" field and paste it somewhere else, the NAME of the contact always appears along with the email address in "" brackets.
    Is there some kind of setting I can change to ONLY get the email address and not the contact name and those dumb little brackets?

    Casa Sirena,
    10.6: Change Mail's 'Copy Address' behavior - Mac OS X Hints will help you get rid of that annoyance.

  • How do i erase a bad email address from mail?

    Hello,
    I once miss typed an email address in mail and it haunts me everyday. If I type the first three letters of the persons name, which is my habit, the bad address is attached to the mail. The result is that I get a server error when i try to send the mail. Then I have to save it as a draft in order to change the address to the correct one by typing fewer of more letters of the recipients first name. I would save myself allot of frustration if I knew where mail stores address shortcuts.
    Thanks very much

    Start by making a new message. Now type in the start of the mistake. When you see the mistake allow it to be put in the To: line. It should appear as a normal address with the little blue button around it. Now right click on the address and pick the choice *Remove From Previous Recipients List*. This should clear that mistake out. I just tried it and it worked for me.

  • Adding Email Addresses from Mail to Address Book

    I send out a lot of emails that I would like to save in my address book. Address Book automatically sorts the address by first name or last name. This makes it virtually impossible to locate daily or hourly all the emails that you saved to your Address Book. Especially when your Address Book has over 3,000 addresses. Is there anyway to save email addresses using Mail directly to a Group in the Address Book?
    Thank you.
    MacBook Pro Mac OS X (10.4.8)
    MacBook Pro   Mac OS X (10.4.8)  

    Welcome to the discussions, Big.
    If you select an address in an email message you can drag it and drop it onto a group in Address Book, making a new contact and adding it to the group in a single operation. You can't do this from Mail's Previous Recipients window, though you can use the PR window, ordered by date, to see who you sent email to three days ago - but not hourly.
    AK

Maybe you are looking for

  • Validate the record while uploading into table

    Hi, I am uploading records into the table, and it so happened that an incorrect record full of text data was there in theinput file, it got uploaded along with the records, hence I need to modify the code to check for such data -it is text data. I ha

  • Iweb issues - photos are put in a RANDOM ORDER when added to photo grid

    My website created with i-WEB contains a lot of photos. When I add them to a photo grid (on a page using the "Photos" template, by dragging and dropping from Finder) the order of the photos is randomized by i-web. They are kind of in reverse order (h

  • ORA-00280

    hi, i create new control file. i got error,please help me out Control file created. SQL> recover database; ORA-00283: recovery session canceled due to errors ORA-01610: recovery using the BACKUP CONTROLFILE option must be done SQL> recover database u

  • Deciphering a SAML Message in ColdFusion

    I'm working on an SSO solution for a client.  At this time I'm able to encode an authentication message and successfully send it to the ADFS server.  The ADFS server handles my login and then returns to my site with an HTTP-POST response.  In the POS

  • OO4O - Excel user forms accessing Oracle databases

    Hi, A friend of mine have been doing some tests with Oracle Objects for OLE. It worked very well so far. He was able to connect, insert, delete, update and query using VBA code. However, he wants to develop an application with excel userforms. He is