Issue with mail package - namespace

Hi All
I am trying to use mail package in my receiver mail adapter.
The mandatory elements for using mail package are:
<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
<Subject>Hello</Subject>
<From>sender email</From>
<To>receiveremail</To>
<Content>This is a mail</Content>
</ns:Mail>
How can i get the above specified namespace? How can i override my existing namespace with this new one?
As i am using message mapping, I spicified message type's 'XML Namespace' field as "http://sap.com/xi/XI/Mail/30".
But even this doesnt help.
Thanks
Chandra

I am also trying to use the namespace.  All seems to be working but I do not get the e-mail message sent to me.  This what shows in my Technical routing payload.  (FYI had to replace the "at" sign with "-" for this posting due to the limits for the forum software.)
<?xml version="1.0" encoding="utf-8" ?>
- <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
  <subject>824 test</subject>
  <from>edi-na.modine.com</from>
  <to>s.m.posnanski-na.modine.com</to>
  <reply_to>edi_support-na.modine.com</reply_to>
  <content_Type>text/plain</content_Type>
  <content>Hello</content>
  </ns:Mail>
I am usingXSL as an attachment and have the floowing defined in Module.
Processing Sequence
localejbs/AF_Modules/MessageTransformBean
   CHAN
localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
email
Module Configuration.
CHAN      Transform.ContentDisposition      attachment.filename="file.html"
CHAN      Transform.ContentType      text/html;charset=utf-8
This works fine when not using "Mail Package".  I want to use mail package to be able to have a dynamic subject line for the e-mail.
Thanks.
Scott

Similar Messages

  • Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

    Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.

  • TS3276 I have issues with mail unexpectedly quitting, any suggestions?

    Has anyone ever had issues with mail and/or Safari "unexpectedly quitting" repeatedly and the only thing that seems to temporarily fix it is to restart the computer?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Serious issues with Mail

    Mail crashes the moment i click on it. Anyone got any ideas as to why this happens?

    mine does the same, the moment i open open up mail the pinwheel won't stop spinning, and i tried the utility disk repair but still the pinwheel spins upon starting the program-- any luck to fix this serious issue with Mail? thank you.

  • Mail Adapter: Working with mail packages

    Hi All
    I am having a receiver mail adapter.
    I am using mail package to send data as a text file attachment.I am getting the following error:
    failed to send mail: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found TM_Mail at state 1
    How can i override my current namespace with the recomended namespace 'http://sap.com/xi/XI/Mail/30}Mail'??
    Thanks
    Chandra

    I am trying to use the mail package as well and no e-mail delivered.  However,  when I do not use the mail package an use mail attribute and remove the code below it works fine.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30"> 
    <subject>824 test</subject>
    <from>edi/@/na.modine.com</from>
    <to>s.m.posnanski/@/na.modine.com</to>
    <reply_to>edi_support/@/na.modine.com</reply_to>
    <content_Type>text/plain</content_Type>
    <content>
    Hello
    </content>
    </ns:Mail>
    Can some provide the settings that are needed in the Module tab when using the "Mail Package" option??

  • 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

  • Help with Mail Package

    Hi all,
    I have a interface PROXY - MAIL.
    I need to generate the attachment name dynamically, send an attachment and fill the body of email. I'm using Mail Package, according to note 748024.
    But I do not know how to fill the body of email and send attachment.Could someone help me?
    For the attachment name dynamically, I used the link: http://wiki.sdn.sap.com/wiki/display/SI/DynamicEmailAttachmentnameforReceivedMails

    Francis,
    Issue resolved.
    I didn't use the adapter module.
    I use the Mail Package and follow the links:
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    send a mail with a body and attachment
    Thanks.

  • Issues with Mail Connection in iOS6

    I have a weird issue that's been plaguing me since I upgraded to iOS 6.  My company hosts its mail using an Apple Mail server running 10.5 (yes, outdated, we know and are migrating to Google).  I used to have no problem connecting via IMAP to my mail account on my iPhone 4.  I upgraded to iOS 6 and was receiving an error that mail could not connect to my work account.  I deleted and re-added the account and it seemed to work until a few days later when the issue returned.  I did a restore on my phone and again all seemed well.  About two days later I upgraded to an iPhone 5.  I migrated my data to it from my latest backup in iTunes, done the day prior (day after my restore).  Everything was peachy until a week later when I began getting connection issues in Mail.app again.  I deleted and re-added my account, this time it didn't work.  I restored my phone, it worked...for another week.  I began getting connection issues again.  I've now found a reproducible pattern and horrible work-around and am wondering if anyone else is encountering this.  Here are my steps:
    Mail.app starts telling me it cannot connect to my account.
    I delete the account and reboot the phone.
    After reboot the account IS BACK.  Seriously, it comes back after the first reboot 90% of the time.
    I delete the account again and reboot my phone.
    I verify the account is really deleted and re-add it, then it will work for about a week.
    Ever so often when I reboot that first time the account appears to be deleted.  If I re-add my account then it will not connect, I have to delete and reboot and if the account appears there again then I can delete it a second time and it will actually work when I re-add it after reboot.  Sound confusing?  It is.  One time when I rebooted my phone ALL of my mail, contacts, calendar accounts deleted.  That was awesome.
    Am I all alone here?  Do I have to totally restore the phone without restoring from backup?  Since I've been using iOS since the first iPhone that latter answer is definitely not an easy one to comply with.  So many things I'd have to re-download and configure.
    Thanks for any help you can provide!

    Okay everyone! I struggled with this problem for a long time, and I was just about to send a complaint to Spotify when it worked for me! See, I did a little different than before; this is the list I was going to file:
    "1. I open Spotify from the application menu.
    2. I choose "Online" mode.
    3. My phone asks me how I want to connect to the Internet.
    4. I pick "Easy WiFi".
    5. I choose my WiFi network from the list.
    6. Application seems to be signing me in.
    7. My phone asks me again how I want to connect to the Internet.
    8. I repeat the procedure. Spotify can't connect with WiFi.
     -I have tried to connect using other WiFi networks, didn't work.
     -Before I updated last time I could connect without problem.
     -I can connect using 3G.
     -I can connect using WiFi in other applications than Spotify, for example Opera Mobile and the native browser.
     -I have reinstalled the application without difference."
    However, I did it a little different, which made it work: instead of choosing "Easy WiFi", I choose my network directly from the list: see attachment. I never thought of that I could do so and I can't remember I did that before the update either. I have now synced my tracks and the app seems to be a little buggy, I still hope for an update, though it now works at least. Sometimes it crashes.
    Please, tell me about if this worked for you and if you have other, better solutions. This isn't good enough, I still seek a better way.
    /L
    Attachments:
    Scr000020.jpg ‏53 KB

  • PayloadZIPBean with Mail Package... is it possible?

    Hi,
    In proxy to file scenario, I send mails from PI with data received from proxy as attachment. I also need to zip the attachment.
    I will be getting the email address dynamically, hence I should use Mail Package with 'Keep Attachments' option. Now the problem is if I use mail package since the <content> tag data is taken as mail attachment, can I use PayloadZipBean in receiver mail adapter to zip the attachemnt?
    I tried using the follwoing adapter module in receiver mail mail adapter but ended with an error.
    Module Name: AF_Modules/PayloadZipBean                             Module Key: zip
    Module Config:
    zip             zip.filenameKey                   payloadName
    zip             zip.mode                              zipOne
    Error:
    org.xml.sax.SAXParseException: Content is not allowed in prolog
    Regards,
    Sreedhar

    Hi Sreedhar,
        Have you looked at this help link?
    http://help.sap.com/saphelp_nwpi711/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
    Also see :
    Zip Payload using PayloadZipBean Module Processor
    Regards,
    Ravi Kanth Talagana
    Edited by: Ravi Kanth Talagana on Oct 22, 2009 5:13 PM

  • How I solved issues with Mail.app and Spotlight

    Even though my upgrade from Tiger 10.4.10 to Leopard was painless, the new OS X did have a few issues that had bothered me:
    *Mail.app: * Every now and then, the app would behave like on its first startup, saying it needs to import my mail before I can work with it. What's more, at times I've had the phenomen that messages would appear empty on the preview pane and sometimes even when being opened.
    *Spotlight: * Even though I let the indexing finish on the first day of working under Leopard, every now and then it seemed to start all over. First, I thought it's the NAS being indexed but it just went on to restart indexing each time I thought I had let it finish.
    *Free disk space: * I tried to bring the usage of my homedirectory down so I would have enough free disk space to switch FileVault off and then back on so I could start using TimeMachine. But whatever I did, the free disk space just wouuldn't inrease - it just stayed the same (yes, I did let the system recover space on shutdown).
    The *free disk space* issue made me think there was a problem with my disk but repeated runs with the Disk Utility yielded nothing...not for about a month. Yesterday I got some warnings about 'damaged but not repaired' but according to an Apple doc those could be safely ignored.
    Somebody suggested to apply the combo update for 10.5.1 as that could solve some issues so I went ahead - after all, the update had already been applied earlier so just re-installing wouldn't hurt much, right?
    Wrong.
    The install of the combo update went smoothly, FileVault recovered some space on shutdown but upon restart I couldn't log in anymore: My homedirectory was damaged. The friendly OS X Leopard offered to repair it but soon later reported back that it failed doing so.
    Now, to cut a long story short - deleting the affected user's account and using a different user on the same machine (without FileVault) solved any issues I've had. Mail now works like a charm (despite 40k+ messages with attachments), spotlight doesn't restart all it's indexing and disk space is shown correctly again. Also the odd corrupt file copy I had experienced occasionally (especially with large files) was gone.
    My advise to anyone who didn't de-activate FileVault under Tiger to make the switch to Leopard: Even if you think it worked, switch it off and let Leopard set it up again. You may think things went right...but the above shows that there may be issues with it that you may blame other apps for...but they're probably not guilty at all.
    I don't think the combo update actually caused FileVault to turn corrupt, it was just what broke the camel's neck. While it's no fun to lose your homedirectory, I'm glad the underlying issue finally came to light.

    Thanks to this thread, it's been solved.
    https://bbs.archlinux.org/viewtopic.php?id=97653

  • Issue with Mail's Accounts.plist

    Hi, I've got the following issue: I used to save e-mails to different directories on the hard drive of an extern file server at work, so as to store them there and so that everyone in the office had access to those correspondenses. Anyway, I work with Apple Mail, and used to use "File>Save as..." in the menu. In the save as dialog window I chose "Formated text" and clicked on "Add attachments" (Note: I work on a German system, so I do not exactly know the phrases used on an English Mac). Worked just fine, everytime I did this with an e-mail that had attachments enclosed to it, I ended up with an rtfd-suffixed file and could always see the attachments by ctrl-clicking the rtfd-file etc. Ever since I have upgraded to Lion however, something goes wrong during the process of saving everything to the hard disk. After trying to find the source almost all day now, I am quite sure the culprit is found in this file:
    ~/Library/Mail/V2/MailData/Accounts.plist
    Twice I replaced this file by renaming it and restarting Mail. In both cases (and after I had set up one mail account again, because that's obviously what the file Accounts.plist is for - storing the information about the accounts used with Mail) the save process worked perfectly well, with the attachments in place and everthing. Then, in the first of my two tries, the trouble came back after I added just one more of the accounts I administer on my Mac. I tried again, and this time I succeded and set up all my accounts as I need them and everything was great and working. After a wee break for celebrating my triumph I played a little more with Mail, changing its settings here and there, just to make it looking nice etc. Then the thought came up, that I should - just to be on the safe side - one last time try and see if saving the mails in the way, I want to do it, still works. It didn't. Same trouble back. What now?

    I quit mail and then opened it again, and everything is now correct...incoming server is now filled in correctly, and mail is now working again...

  • Issues with Custom Package in Lightroom 3...please help

    I am having issues with the custom package in lightroom 3. I am selecting diferent cell sizes (with different aspect ratios) and placing multiple images in these cells.
    On screen everything looks good, but when it actually prints some of these cells are coming out stretched!! For example, the 6x4 cell comes out fine (same aspect ratio as the original capture), but i have 2 x 1.5 inch cell whose image comes out stretched??
    The first thing I thought of was the "zoom to fit" option, but this is not present in picture package.
    Then I thought it perhaps it was something to do with the my print settins, but cannot find anything there.

    I am having the same issue.  I used a Matt Kloskowski print grid and when I printed it, or printed to file, some of the images in the 15 that were created in the template were distorted.  Some the faces became wider and some narrower.  Not just zoomed to fit.  On screen it all looks correct.  Many others on the forum where the template was posted don't seem to have this issue.  I created a template myself just in case that was it but I got the same problem as walenahs.  I tried to figure out what he had done but I didn't get it.
    I have attached the two images.  You can see the distortion in the second image on the top row (too narrow), and on the second row, the second in and second down, black and white (too wide).
    Thanks

  • 10.4.8 update - issues with mail and airport

    Gah! Just as I was signing up so I could post on this board, my airport connection went bye-bye.
    Initially I tinkered with my router (linksys) settings. Recycled everything a bajillion times. Not sure what caused a partial resolution, but my connection is no longer crawling, but it drops a few times a day. The only solution at this point is to recycle modem and router and restart computer.
    Now I am having issues with my mail application. Whenever I "get mail" I am prompted for my password. I type it in, plus check the box "add to keychain". App searches for mail. So I went into account prefs and noticed there is no password in the dialog box. I type it in. If I save and close the dialog and then reenter, the password is once again missing. Huh??
    So I reinstalled with the combo update (I had previously installed via software update), verifying/repairing disk before, repairing permissions after.
    I have removed the system config folder in order for the system to create a new one.
    When I look in keychain access, the only thing in there is the airport login. I have also performed a keychain first aid. Nothing appears to be wrong.
    Any suggestions??
    I patiently await responses.
    Oh, and I applied the first update in proper fashion as well. No weird third party stuff, etc. And I didn't have any of these issues pre-update...
    mbp   Mac OS X (10.4.8)  

    1. Reset the router by holding down the button in the
    rear for 10 seconds.
    I've done that ad nauseum, plus tweaked router settings, plus recycled modem/router many times. It does not appear to be a problem with the router hardware or software.
    2. Toss your Mail Account, and make a new one.
    If indeed that is the solution, is there an efficient way to save/export messages so I don't lose them?
    mbp Mac OS X (10.4.8)

  • Mail adapater with mail package option support cc ?

    Hi,
    I have scenario to sending mail information to multiple receiver. does mail adapter support cc as well ?
    if yes which field that i have to use ?
    Thank you and best regards
    Fernand

    Hi Fernand,
    If you want to update the Mail Header dyanmically from message mapping step, you might consider using Adapter Specific Message Attributes. So instead of using Mail Package and try to extend the XSD to have "Cc" attribute; use ASMA to update the XI message header at message mapping step and then in the Mail CC under Advanced Tab Page set Use Adapter Specific Message Attributes and Variable Transport Binding . The following attributes in the message header are available for processing :
    User
    Authentication Keys
    Mail header 'from' field
    Mail header 'to' field
    Mail header 'Cc' field
    Mail header 'Bcc' field
    Mail header 'subject' field
    Mail header field for reference to mail which is being replied to
    Mail header 'reply to' field
    Mail header field for mail client program
    Mail header field for delivery acknowledgement
    Mail header field for priority
    Mail header field for message importance
    Hope this helps.
    Regards,
    Suddha

  • Issues with mail when I have to change my yahoo password

    Hello
    I am having problems with mail on my mac.
    1) For some time I have been unable to send photos by email from iphoto.  When I try to do this it says 'the email server didn't recognise your username/password combination'.  I'm not sure how to fix this.
    2) I just had to change my yahoo account password today and now I am frequently getting a box up that says 'The SMTP server "stmp.mail.yahoo.com" rejected the password for user "my email address".  Enter your password again or cancel.
    It doesn't matter if I enter the new password or the old one - I am having this message keep popping up.
    I would appreciate help with this.
    Thanks
    K

    Maybe some help here:
    http://support.apple.com/kb/TS3276
    http://support.apple.com/kb/PH7290
    http://support.apple.com/kb/PH7282

Maybe you are looking for

  • How to create a Language Branch using custom workflow?

    Hi, I've a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_si

  • New G/L vs. Special Purpose Ledger

    Dear Experts, I am looking for information regarding the pros and cons of New G/L compared vs. Special purpose ledger (FI-SL). We need to adopt either a special ledger or new non-leading ledger. What is the best approach. Thanks for reply. Regards Re

  • HR Functional Documents

    Hi All, Can U anyone send me the HR Functional documents to my mail id. pl send through Gtalk [email protected] Thanx Nasee.....

  • Image Prompts in OBIEE 11.1.1.5

    I am able to display an image as a logo on an analysis using the fmap notation... say fmap:Images/myimage.jpg. However, I am unable to use the image in an Image Prompt using either the fmap notation or explicit URL. I have uploaded the image to 2 loc

  • Raid 5 shows offline

    Hi All, We have WAE 7341 with 4.1.5f code which failed.  We recreated raid after which we see all the disk online, but raid shows offline status. Please find below the sh disk details and sh disk tech support output wa1#Sh disk details RAID Physical