Recipients are not encoded correctly

Hi!
When I set the recipients of a new e-mail with
message.setRecipients(Message.RecipientType.TO, "Stephan Windmüller <[email protected]>");the name is not encoded correctly. The same applies for setFrom, but not to setSubject. According to MimeUtility, manual encoding should not be necessary when using setRecipients.
However, when I am trying to encode the address with MimeUtility.encodeText it also looks garbled. What am I doing wrong?
TIA
Stephan

833834 wrote:
bshannon wrote:
Where is the whole address string coming from?I think it is concatenated from the user's name and e-mail, but I am unsure since I am only responsible for the API method.Sounds like you need to talk to the person responsible for the other part and explain what they're doing wrong.
Again, the address string you're working with is not a valid RFC822 address.
If some software is constructing it on the assumption that it's creating a valid
address string, that software is broken. You can't just put that address string
in an email header and expect it to work.You are right. But according to the JavaDoc of MimeUtility I assumed that the mail API will take care of that.I should update the javadocs to clarify that the address string is an RFC822 format address,
as passed to the InternetAddress constructor.

Similar Messages

  • On certain sites (like chats), the shift symbols are not working correctly.

    On certain sites (like chats), the shift symbols are not working correctly, but shift+letters works fine. I've tried changing the set keyboard language, as well as the character encoding, but nothing works. I don't have this problem in IE.

    Hello there.
    Although possibly not related to your problem, I have to remind you that the version of Firefox you are using at the moment has been discontinued and is no longer supported. On top of this, it has known unpatched bugs and security problems. I urge you to update to the latest version of Firefox, for maximum security, stability, performance and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your issue, I'm not sure if this is the case, but there is a little know keyboard shortcut to change the keyboard language on Windows. And it's very annoying, since it's easily triggered. I don't know exactly which one it is, but I think it's CTRL+SHIFT, the ones on the right. I suggest you ask Microsoft for support on this one. Firefox doesn't control keyboard languages.

  • German umlauts are not shown correctly, when a received e-mail is opened the first time. What can I do?

    When I open a received e-mail the first time, German umlauts (ä, ö, ü) are not shown correctly. Instead of them there are characters like §,$. When I close the e-mails and open them again the German umlauts are shown correctly. I don't know how to solve that problem. Who can help me?

    ''Zenos [[#answer-670786|said]]''
    <blockquote>
    Fascinating. Sounds like an inconsistency between the encoding being used and the encoding being declared. I can't think why it should change when you re-open the message, unless Thunderbird is adding a correct encoding declaration.
    (Most users complain about it working in the opposite direction; messages stored as drafts often restore with damaged "special" characters such as smart quotes, accented characters and umlauts.)
    </blockquote>

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Umlauts are not displayed correctly in different programs

    Hello!
    I live in germany, but my locale is set to "en_US.UTF8" because I like to have everything in english.
    I do not have any problems with umlauts on the machine, but when I connect with sFTP oder Samba to it, the umlauts in files are not displayed correctly.
    Look at this example
    The upper word is how it looks in "ssh putty" (=locally on the machine), the bottom one is from "filezilla" (from my windows host)
    This is my locale
    locale
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    When I create a file "asd_aöü" locally on the machine (with the help of ssh - putty), it looks fine, but when I connect by samba or filezilla again the umlauts are not displayed correctly.
    Do you understand my problem? What can I do?
    Thanks!
    Last edited by cyberius (2011-02-19 10:12:19)

    Did you check the locale settings on your Windows machine?

  • PO screen custom fields are not in correct order

    Hi Experts,
    After creating Shopping cart and purchase order successfully created.
    Added my custom fields for PO structure INCL_EEW_PD_ITEM_CSD_PO fields are visible in PO screen automatically with out adding my custom fields in PO layout /SAPSRM/WDC_DODC_PO_I_BD
    when i go to PO screen i can see my custom fields but all fields are not in correct order.How can my fields should be in order.
    and i added two custom buttons in my PO layout for WD component /SAPSRM/WDC_DODC_PO_I_BD i am not able to see my buttons?
    Could you please help me out in this issues its urgent.
    Thanks,
    Venkatesh G

    I've had this problem. There may be a more elegant solution, but what I do is make a playlist of the album and put the movements in the correct order in the playlist. I've also put numbers (01, 02, etc.) in front of the name of the movements. Either one works.
    Hope this helps.
    Ben

  • Function keys are not working correctly

    I've been looking all over the various threads and I can't find an answer that solves my problem.
    Here are the details:
    I bought the computer in the U.S. where I live.
    I have a iMac 2.4GHz intel Core 2 Duo  EMC 2133 with a 20" screen. Bought it new in February 2008.
    I have Mac OS X 10.5.8  (I am waiting for my order for OS Snow Leopard to come in!!)
    I have been using a wireless mouse and Keyboard (Love not having cords!)
    Recently, my wireless keyboard got a short and quit working. I went down to the apple store and got a new wireless keyboard.
    I had the computer with me at the genius bar so, yes, the apple employee saw exactly what I have.
    I took it all home got the thing all put back together and got the new keyboard paired up and working with the computer.
    Here are the problems:
    Went to go use the function keys while using iTunes and found they weren't working properly. The F10, F11 and F12 do not control the volume of sound as the keyboard indicates they would, they instead activate dashboard, spaces, and application windows. 
    Following the advice of other threads, I looked over in the system preferences and made sure the "Use all F1, F2 etc." box was unchecked (it was unchecked), things still didn't work.
    I tried the fn key but it appears to not work at all it has no effect on the functioning of the function keys.
    I went under keyboard shortcuts in system preferences and found the F10, F11 and F12 keys, it confirms that those keys control spaces, dashboard and application windows as they are performing but shows no options to either reassign to volume control (as marked on the keyboard) or make the fn key work.
    I've gone back and forth trying various combinations of checked and unchecked boxes to see if anything would work, so far I've come up with nothing.
    A couple more important or interesting facts:
    Yes I have turned off and taken the batteries out of the old keyboard. My bluetooth connection currently shows it as disconnected.
    I have restarted the computer.
    One thing I find odd; when I go under preferences and go to Keyboard and Mouse when I go under the section "Bluetooth" it shows Bluetooth mouse with the name of the mouse and the battery level. BUT nothing is showing up under bluetooth Keyboard, I can't figure out how to change this and don't know if it is contributing to the problem.
    When I go under the bluetooth logo on the top bar I find the mouse and both keyboards referenced, the old keyboard is shown as disconnected and the other two are connected. I have tried to update the device's name but it doesn't seem to let me.
    I have double clicked on the device under bluetooth and it shows the new keyboard as discoverable, paired and connected. Hence, I am using the new keyboard to write this inquiry.
    Please, any assistance would be of great help. I have tried to be thorough in order help narrow the possible problem. Thanks!!

    Hendry
    Just thought I'd let you know.  Our suspicions were correct, it was the OS. After I installed Snow Leopard (10.6.8) all the problems were corrected.  I also updated the RAM from 1 gb to 6 gb. The mac is working all around better. Sorry it took so long to get back to everyone. My superdrive had pooped out. Rather than replace it I got an external drive from OWC connected with firewire 800.  So far everything is running very well, as far as I can tell this external drive is better than the original superdrive. My superdrive has always acted funny, infact I returned the first mac I got after a week because its superdrive was also malfunctioning. Anyway, all that to say everything seems to be fully functioning again.
    Roy
    Re: Function keys are not working correctly 

  • Some icons are not shown correctly in Gnome tray

    The image should tell everything. In the tray there should be icons from Guake, Dropbox and Skype. However only Skype is visible. Does anyone know where could be the problem?
    I noticed that Synergy icon behaves also wrongly.
    thanks
    Jan

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Search for member activities - points are not displayed correctly

    Hi experts,
    I have a question concerning the search for member activities. I personalized my result list and added the field points (STRUCT.Product_ID), but there the amount of the points is always displayed as zero. When going into the details of the member activity I can see that there are points booked.
    Can anyone tell me why the points in the result list are not displayed correctly?
    Thanks and best regards
    Anne

    Sometimes threads are deleted if they violate the Rules of Engagement.  If that happens, you'll lose points that were allocated to you.  Othertimes, if you broke the rules, then it's possible that points that had been awarded could have been removed - but you should check your emails (of your registered address) to verify this.  I'd guess, it's more likely you'd responded to a post that broke the rules.
    Really important
    1. Don't reply to posts that break the rules - you risk losing any points awarded and you risk wasting your time responding (which is probably more valuable). 
    2. Don't ignore rejection emails or other communications from moderators.  They are followed up, and, if warnings are ignored, then accounts will be deleted.  Recently, one poor soul's account was deleted, and they'd accrued over a 1000 points... they'd been copy and pasting from other sites and ignored moderator warnings.
    matt

  • Vietnamese fonts are not displayed correctly.

    The Vietnamese input program worked fine in the previous version but in version 4 the texts are not aligned correctly. See this http://i485.photobucket.com/albums/rr219/september17th/untitled-16.jpg
    The character set used is Composite Unicode and input method is VNI. I tried VN forum but no one care about it =.= Also this is the FF problem those texts displayed correctly in Chrome. Those posts are here http://www.tinhte.vn/tin-tuc-su-kien-10/hp-va-dell-cong-khai-chi-trich-ipad-2-cua-apple-644640/index15.html

    I also have this problem, hope this problem will be fixed in the next release. More info: http://vozforums.com/showpost.php?p=28008790&postcount=61

  • Entity Descriptions are not displayed correctly in Combo box dropdown list

    In Web Analysis, Entity Descriptions are not displayed correctly in Combo box dropdown list when entity descriptions from HFM contains a dot(.)
    Example:
    'Entity A. LTD' becomes 'LTD'
    'Entity B Inc.' becomes blank
    It seems that everything before the dot is not displayed when opening the combobox.
    It looks like it is acting like the option to show short description for entities in HR where the parent-child relation is not shown. This behaviour I don't expect for descriptions. And in my opinion is not an option in Web Analysis.
    Does anybody knows the sollution or have seen this issue before?

    Hi,
    This is a known issue with combo box list of values.
    Please follow this workaround:
    - Remove ComboboxLOV on Deptno
    - Create an updateable transient attribute(Say Dname) of type String
    - Define combobox lov with following values:
    List Data Source: DeptView1
    List Attribute: Dname
    List Return Values:
    Dname - Dname
    Deptno - Deptno
    UI Hints: Display Attribute - Dname
    - Edit Dname(transient attribute) and provide following groovy expression
    oracle.jbo.Key key = new oracle.jbo.Key(Deptno);
    return DeptView1.findByKey(key, 1)[0].getAttribute("Dname");- Now, you are done and observe that Dname combo box lov shows Description even on selection and change in this combo box sets the Deptno value
    Sireesha

  • Thumbnails are not displayed correctly in Firefox, but displayed correctly in Safari and G. Chrome

    Firefox display problems regarding this customers site:
    http://gardenia.dk/collections/collection/
    Thumbnails are not displayed correctly in Firefox - only a tiny bit of the picture is visible, incorrect scale (displayed correctly in Safari and Google Chrome).
    Can I do anything to make it work in Firefox, too?
    Kind regards,
    Annette

    This article might help you-
    https://support.mozilla.org/en-US/kb/websites-look-wrong-or-appear-differently

  • Files from Windows 7 are not alphabetized correctly on OS X, and can match identically named files in the same folder

    I receive MS Word files from students using Macs or Windows-based computers.  This year, files prepared by students using Windows 7 are not alphabetized correctly on my Mac (under Snow Leopard or Mountain Lion).  The same four students keep having their files put at the END of the alphabetical sort by name, even though the files should appear earlier in the list.  I have to copy the file contents and paste the contents into a new document to get the new document to appear in the right order, and if I do so, then BOTH the old and new files appear in the Finder, even though the names appear to be identical!  So can have to files with the same name in the same folder, which ought to be impossible.  Does anyone have any idea what's going on?

    Bingo! 
    The problem is not the letters themselves, but non-letter characters in the file name; this showed up with the fixed-width fonts. The apparent duplicates and mis-sorting are caused by dashes, which differ because they're done as en-dashes in one file name and em-dashes in the other file name, or by curly or straight apostrophes.  I didn't see that in the Finder window.
    I never saw this behavior before this year.  Last year, when I was using a Mac for the first time, I did not see any such problem, even though my students' files were named using the same conventions. When I was using a Windows-based laptop before that, I never saw the problem.
    Windows must do something to style the non-letter characters differently than a Mac.  Is there any place in Windows Explorer or the OS X Finder that styles characters this way?  I can see this being a big problem for someone who needs to sort very important data by name, when the files are coming from different operating systems!
    (I just Googled en-dash, em-dash, and curly quotes with file names, and found a good number of posts on various sites about similar problems based on ASCI character coding, html coding, Windows Explorer, and other applications.  Sometimes the files don't appear at all, because the application reading the file name can't deal with a certain ASCI code.  What a mess.)

  • The maximize/minimize and close and buttons are not shown correctly when FF windows is maximized.

    I have the same problem on all my computers, one running Windows 7 and two with Vista.
    The three buttons in the upper right corner of the FF windows are not shown correctly. They are soft of cut off in the middle when the FF window is maximized.

    It is possible that the screen is too wide or too high and that the scroll bars fall off.<br />
    Open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save that setting.<br />
    See also:
    * http://kb.mozillazine.org/Resizing_oversize_window
    Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].
    See http://kb.mozillazine.org/Corrupt_localstore.rdf

  • PDFs are not shown correctly at more than 150% size

    Hi,
    we use Adobe Reader 8.1.2 and we can´t change it in our company.
    we now have the problems, that a few documents are not shown correctly, when they are shown with more than 150% on the screen.
    at 150% the signature and some lines are shown, when we look at the document witz 177% the lines and the signatures disappear.
    Does someone have the same problem AND a solution?
    Hajo

    Hi,
    I'm having exactly the same problem with my 80gb ipod on my new laptop which is also running Windows 7 64 bit and iTunes 10.1.1.4.
    I initially just tried syncing photos and according to iTunes it was still syncing after 4 hours, this was for 6700 photos and I wasn't asking for full resolution, but iPod just said Connected - Eject before disconnecting. I couldn't disconnect and in the end had to close iTunes before disconnecting, then there were no photos on the iPod.
    Disconnected, rebooted then when I connected the iPod I got the message that it was synced to another PC which I expected so i click to erase and synch, iPod initially showed synching then went to Connected - eject message but itunes was saying "finishing synch" it showed this for hours and out of 6543 songs on the PC it was onlt showing 6002 on iPod. I stopped the synch trie dejecting but got same message Iancenaz got. Again had to close iTunes before I could disconnect iPod safely.
    I'm going to try synching it back on mhy old laptop which is running Windows XP and an older version of iTunes as I suspect its either a Windows 7 or iTunes 10 problem.

Maybe you are looking for

  • What is the difference between ActionEvent and SelectionEvent?

    Technical Environment: Oracle jDeveloper 11.1.1.4.0 Windows XP I think there is something behind ActionEvent and SelectionEvent that makes my code doesn't work. Here is my problem: I have three tables. One is a master table, contains summary of somet

  • IQ770 upgrade to Windows 7 64bit Ultimate Edition

    Hello Everyone, I know this is not supported - but I have always been disappointed w/ some of the flaws in the factory installation that came w/ this machine.  I experienced screen flickers and network issues w/ my Media Center Extenders which were c

  • Confused about import and workflow using existing filing system

    Ok folks, I purchased Lightroom last week and I am still staring at an empty Library module. I have thousands of images but I seem to have been overcome by a case of anxiety/paralysis. Why, you ask? I can't determine an import strategy; here's why. I

  • Creatintg Source File for GLMAST message type

    Hello All, Can anyone help me identify how to fill E1SKA1M-MSGFN for G/L master upload ? Please let me know how to fill the field for activities Delete/Block/Change/Create. Thanks Antony

  • MSI error code

    getting this MSI returned error code 1612 NAL 3.2 thanks