Mail message sent from PI comes with weird characters at Subject

Hi folks,
I've a Scenario where I must send a e-mail with some process data. To do that, I'm using emial Package to build the email Message.
The email Package XML Looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<ns:email xmlns:ns="http://sap.com/xi/XI/emial/30">
<Subject>HEY THIS IS JUST A LONG PLACEHOLDER SUBJECT TO HELP ME TO FIND OUT THE ISSUE OF MY MESSAGE</Subject>
<From>sender</From>
<To>rcpt</To>
<Content_Type>multipart/mixed; boundary="--JrSnBoUnDaRy"</Content_Type><Content>----JrSnBoUnDaRy
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Lorem Ipsum Dolor Sit ...
</Content></ns:email>
When the message arrives at my emialbox, the SUBJECT looks like this:
"HEY THIS IS JUST A LONG PLACEHOLDER SUBJECT TO HELP ME TO FIND OUT THE I SSUE OF MY emial MESSAGE"
Instead of:
"HEY THIS IS JUST A LONG PLACEHOLDER SUBJECT TO HELP ME TO FIND OUT THE ISSUE OF MY emial MESSAGE"
As you can see, there`s a "space" between the I and SSUE word. Looking closer at a Hex Editor I can see that I'm dealing with two special characters, first one LF (0xA) and later a TAB(0x9).
Doing some test I've found out that it just happens at the 72th position of the Subject string.
Is there any limitation for email fields while using email Package or Receiver email Adapter?
Thanks in advance,
José Nunes
Edited by: Jose Nunes on Mar 11, 2010 1:39 AM

Hi José,
SMTP has a line length limit and any long header line needs to be split in multiple lines, where each subsequent line must start with a single TAB.
It is strange that your mail client couldn't decode these multiple lines back to the original single line.
It might be that the mail adapter did not split the original line into valid multiple lines.
TCPGateway attached in the SOAP adapter note can capture the SMTP traffic and save it into a binary file.
You can check if the mail adapter correctly did the splitting.
This is not directly related to your issue. But you should avoid using the mail package if you have some format sensitive content. XML parsing inevitably changes the original physical representation (refer to whitespace handling in the XML specification). The issue can be avoided if the base64 encoding option is used within the content encoding. But you should switch to the adapter specific message attributes (ASMA) approach if you are configuring a new scenario.
Best regards, Yza

Similar Messages

  • E-mail messages sent from Dynamics CRM

    Hi,
    I have Microsoft Dynamics CRM Online (recently updated to version 2015) integrated with Microsoft Office 365 midsize business so we also use Exchange Online on the same domain.
    Is it possible, when I send an e-mail from CRM, to see it also in the Sent Items of my Mailbox?
    It seems that they are not "integrated" even if the system is in fact the same!
    thanks in advance
    Danilo

    Dear Friends,
    E-mail messages sent, are received not in the paragraph-form as sent, but are broken-up into small segments, one line finely printed, the next line may appear with two or three words printed on it, then the next line will show a few words at the end of it, while the next line appears as the start of another paragraph, and so on and on and on. So that the original message, although sent in the one paragraph-form, winds up being received as several paragraphs, each broken up into several segments. My contacting Apple has produced no solution thus far. I am new at this computer
    business and would greatly appreciate any help you can give me on this score. Thanking you in advance for your interest and kind help.
    Yours Truly,
    Broduff.

  • How NOT to save iCloud Mail messages sent from iPhone?

    Using iCloud Mail on a MacBook / Safari, e-mail messages are NOT saved - the relevant box in Preferences is unchecked. However they are saved in the Sent folder when sent from an iPhone. Is there any way they are NOT saved either way?

    Again, ON MY IPHONE only has Sent option. There's no way you can set the Sent mailbox to any Trash anywhere.

  • Messages sent from iMessanger on Mac wont come through on my iPhone

    Hey there,
    Ive been sending messages from iMessenger on my Mac to friends and they are receiving them on their phones and Mac messengers from me as normal, however they dont come through on my iPhone. So I have two seperate messages happening.. I can have conversations with friends from my phone or computer but they are not syncing up together. How am I able to have messages sent from my Mac appear on my iPhone?
    Hopefully that wasnt too confusing, kind of hard to explain.
    Thanks in advance!

    Go into iMessages settings to see what e-mail is linked with the account. If your daughters email is listed there, that is the reason you are receiving her iMessages.
    Settings>iMessages>Email

  • My wife and I each have an iPhone 4S. With the upgrade to ios6 all text messages sent from my phone show up on hers to include responses from my text. text that she sends from her phone appear as if from mine. How do we stop it?

    My wife and I each have an iPhone 4S. Ever since the upgrade to ios6, text messages sent from my iPhone also appear on hers? All response to those text also show up on both devices. Likewise, text sent by her appear to others as having been sent from my iPhone. I have tried turning group messages off but nothing works. How can I correct this on both phones? Appreciate any help.

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • Is it easily possible to synchronize mails sent from iphone 3GS with MacBook Pro retina

    is it easily possible to synchronize mails sent from iphone 3GS with MacBook Pro retina

    Read through this:
    http://clients.websavers.ca/whmcs/knowledgebase/115/Keeping-your-Sent-folder-in- sync-across-devices.html

  • I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    You need to setup different Receive At addresses for iMessage.
    If you don't want the same pics on each, turn off PhotoStream.
    User Guide

  • I keep getting "undelivered mail returned to sender" that comes with an attachment. I have not opened the attachment but the email returned is usually from people that i have not emailed in a long time.

    I keep getting "undelivered mail returned to sender" that comes with an attachment. i do not open the attachment but i get email returned from people that i have not emailed in years. I also have current people that tell me they receive email from me and there is nothing on the email and it is a repetative thing for them and for me. I have scanned my computer and it keeps telling me there are no viruses but i keep getting these emails. can anyone help me please!

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • Messages sent from secondary mailboxes getting stuck in Outbox.

    I have two users who recently began having a problem with messages sent from secondary mailboxes getting stuck in their Outbox.
    The details:
    We're using Exchange Server 2010 version 14.03.0224.002
    Windows 7 Professional Service Pack 1
    Office 2010 version 14.0.7140.5002 (32-bit)
    The user in question whom I will call Jane has full rights and send as rights to the department's mailbox (which I will call "Common"), however, the Outlook profile on her computer is setup so that Common is the default mailbox
    and Jane is a secondary mailbox. 
    The problem is that in the last few weeks messages send from Jane get stuck in the Outbox.  We have recreated Jane's Outlook profile on her computer which resolves the problem, but only for a day or two before it begins to happen again. 
    Additional info: Jane logs into her computer and her email as herself. As stated above she has full rights and send as rights to Common. Common also has full rights and send as rights to Jane's email. 
    We have used this setup successfully for many years for several of our users. The problem started with one user a few weeks ago and now a second user who accesses a different Common mailbox is having the same problem.  Both systems have been
    thoroughly checked for viruses and malware, etc.
    Anybody got any ideas?

    The same thing happens to me. Really irritating. However, even after rebooting, the mail is sometimes stuck in the outbox. Anybody have a solution?

  • Setting accounts mail is sent from

    Hi
    I've got Mail 2.1 and I can select which account mail is sent from. However, my friend has version 1.3.1 and although she's set up aliases on dot mac on the web, we can't see how to do it on her version. Does she need a later version - I think she is running Panther. Many thanks...
    iMac G5   Mac OS X (10.3.6)  

    Hello,
    The ability to send directly with .mac alias addresses was only added to 10.4 and Mail 2.0.
    If you have other accounts, provided for example by your ISP, you can add the .mac alias addresses to those addresses listed in the email address preference entry box of the other accounts, and using commas to separate each address.
    If, however, there is a desire for privacy, this method will show the current Full Name on the POP account. Another approach is to set up a new POP account for each .mac alias address, with the Username of the alias as Username, and the key thing is to BOTH deselect to include when automatically checking for new mail AND take the account Offline. Even Offline, it will still send. Of course you enter the same SMTP as Outgoing Server as you use with POP accounts on this mac, although it might be possible to use the smtp.mac.com now that it allowed, but not implemented in Panther -- I don't have Panther set up to test with, currently.
    Since never checked, under any circumstance, it never polls the server and never fails.
    Let me know if this works, or is not clear.
    Ernie

  • E-mail messages sent, are received not in the paragraph-form as sent, but

    Dear Friends,
    E-mail messages sent, are received not in the paragraph-form as sent, but are broken-up into small segments, one line finely printed, the next line may appear with just two or three words printed on it, then the next line will show a few words at the end of it, while the next line appears as the start of another paragraph, and so on and on and on. So that the original message, although sent in the one paragraph-form, winds up being received as several paragraphs, each broken up into several segments. My contacting Apple has produced no solution thus far. I am new at this computer business and would greatly appreciate any help you can give me on this score. Thanking you in advance for your interest and kind help.
    Yours Truly,
    GMS.

    Dear Friends,
    E-mail messages sent, are received not in the paragraph-form as sent, but are broken-up into small segments, one line finely printed, the next line may appear with two or three words printed on it, then the next line will show a few words at the end of it, while the next line appears as the start of another paragraph, and so on and on and on. So that the original message, although sent in the one paragraph-form, winds up being received as several paragraphs, each broken up into several segments. My contacting Apple has produced no solution thus far. I am new at this computer
    business and would greatly appreciate any help you can give me on this score. Thanking you in advance for your interest and kind help.
    Yours Truly,
    Broduff.

  • Messages sent from a shared mailbox aren't saved to the Sent Items.

    Messages sent from a shared mailbox aren't saved to the Sent Items.
    In my enviroment , I have Exchange 2010 and Outlook 2007 - i have a shared mailbox called
    ServiceDesk. I have added this mailbox to user "Mike" and given mike "Send as Permission" .
    The problem
    When ever mike sends an email from ServiceDesk
    - the email goes to his personal sent items instead of the sharedmailbox
    sent items. Is there a way to force any email sent from serviceDesk Mailbox to its own sent items folder? .
    More information
    Below is a similar solution to my problem but i do not want to make any changes to my registry. Please any other solution to this?
    http://www.msoutlook.info/question/278
    Thanks guys for your help ..
    Regards, MassonTech

    Hi,
    This is maybe the wrong forum for this question, but anyway;
    Thie site you were pointing out's solution is valid.
    Please look in to the following KB article that describes the steps needed to solve this issue. A hotfix package (which you might not need and a  a "fixit" dowload for it, but will also change the registry key.
    http://support.microsoft.com/kb/972148
    If you have a larger environment and would want to deploy the registry value, I'd suggest using Group Policy Preferences Registry settings.
    /Johan
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • KB05382: Messages sent from Microsoft Entourage do not appear on the BlackBerry smartphone

    KB05382: Messages sent from Microsoft Entourage do not appear on the BlackBerry smartphone
    Resolution: This is a previously reported issue that has been escalated internally to our development team. No resolution time frame is currently available.
    This has been a reported problem for years...resolution has always been the same...assume because they are not actively looking for a fix...anyone know of an ETA on a resolution or any workaround?

    Not that I am aware of.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Mails are sent from wron account

    Hi,
    My iPad is set up with two email accounts (both from Google; one Gmail and one Google Apps). When I send mail, the from address is always the same no matter which account I set as default. The compose screen shows the correct account but the mail is still sent from a specific account.
    This is not confined to Mail; it also happens when sharing stuff from Safari, Photos (which is Mail at the end of the day).
    I don't have this problem on my iPhone which uses the same accounts and Apple ID.
    For what it's worth: The iPad is only a few weeks old and was restored from an iCloud backup.

    Well, it doesn't use the standard account. It uses the same account no matter what I set as standard account. Also, when sending mail, the from address is set to the address I wish to use, but it still ends up as sent from the other account.
    I just tested sending from Mail again a few times. Mails are sent from the wrong account no matter what I do. Even if I open the mailbox of the account I want to use, mails are still sent from the other account.
    I was wondering if it could have anything to do with SMTP and both accounts being hosted by Google. I checked the SMTP settings for both accounts and they are set up to use distinctive SMTP settings. No logins are shared or anything.

  • Customizing the email message sent from BPF after step completion

    Is it possible to customize the email message sent by BPF after a step completion.I would like to customize the email sent by the SAP BPC once a BPF step has been completed. Is it possible to add some dynamic parameters related to the BPF as part of the email message, for example : Cost Centre, Account, Finance or any dimension related to the BPF
    Currently it sends out a message as given below
    [Approve Data] step of [Test BPF 1] has been completed by dom\bpfuser
    Where 
    [Test BPF 1]         => Name of the BPF
    [Approve Data]  => A Step in the BPF
                    dom\bpfuser    => Domain\ User name
    Note :In the APPSET Parameter  BPFSTEP_COMPLETE_MSG  we tried to add a custom message but it seems to add to display along with the existing message and treats the variables as plain text.

    I used the Note 2 for over 6 months before it started happening. About the same time, my husband's iPhone started sending text to email messages at attachments to I blamed it on his phone. I went into his settings and couldn't find any reason and I checked a multitude of websites and saw MANY people having the same issue with no resolution. I also tried deleting all text history and contact info from both of our phones but it continued to happen until I reset my phone to factory defaults.
    2 weeks ago I purchased the Note 3 and text messages from my daughter started coming as [email protected] Again, I tried purging all contact information and text message history from both phones with no success. I waited until my daughter upgraded to a Galaxy S4 Mini. I reset my phone to factory at the same time I was setting her phone up and that has fixed the problem again.
    My main concern now is that this bug will again randomly rear it's ugly head and I'll again have to reset my phone to factory, losing all my settings and taking days to customize it the way I want it again.
    Thank you for ANY help you can give.

Maybe you are looking for

  • Can no longer connect to Mac index via FTP

    The other computer on my LAN is running Ubuntu Karmic and I can FTP to it no problem. Used to be able to FTP to my Mac no problem until I tried this free firewall software which claimed to have a decent GUI. I made sure to remove the software complet

  • Acrobat Connect Pro LMS 7.5 server cache issue - displaying old content

    Our Adobe Acrobat Connect Pro server is showing old Captivate-created content from about 4-6 weeks ago. I loaded 35+ sets of Captivate 3 (SCORM 1.2, HTML, zipped) content onto our Acrobat Connect Pro LMS about 6 weeks ago. I converted all training co

  • Initial Load Error

    Hi All I am trying to make inital load but I am receiving the following error. But trail file has been created on target in dirdat folder about 2GB size Source and Destination windows2003 32 Bit GG version is 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_1

  • Provisioning users to access Planning apps in Calc Manager

    What provisioning role in Shared Services determines whether or not an end user can see a Planning application in Calc Manager? One of my analysts can only see one of our three Planning applications in Calc Manager. I can see all 3 apps in Calc Manag

  • How to send Service Ticket from CRM to Solution Manager.

    Hi all, at present we are creating service tickets relevant to SAP operations in our CRM instance and we plan to continue to do so. We also would like to forward these created service tickets to the Solution Manager Service Desk. There is functionali