How to determine client locale from the mail?

How to determine client locale(language/country) from the mail(header)?
I investigate that some mails have not got any content-language header...
Also, If mail is in multipart , I cannot get it throught the contentType....
e.g some header contain header like this: content-Type: "text/html; charset=Big5"
but some are : content-Type: multipart/mixed; boundary......";
So, how can I know the client locale?
Thanks

You should be able to get the charset from the content type, as u said. the reason some types don't have a charset, such as multipart/* types, is because they don't contain any content on their own! they only contain nested body parts, each of which should have a charset specified. you're gonna have to get the charset by following the mail structure recursively.

Similar Messages

  • How to determine if coming from the Error Page?

    Version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form with a collection.
    I've added a validation and set the error message to display on the Error Page to preserve the information entered into the form.
    One of the Select Lists is a cascading list. That list does not populate when returning from the Error Page.  The parent list is populated and does show the value selected before the error was thrown. It's just the list that is based on the parent that isn't populated.
    If I refresh the page the Select Lists are reset and I can access the values normally.
    So, what I think I want to do (and I'm not sure here) is to refresh the page when returning from the Error Page.
    How can I determine if I'm coming back from the Error Page?
    Is there a better solution?
    Please let me know if this isn't clear or there are questions.
    Thanks,
    Joe

    Hello,
    I'm hoping someone can help me with this.
    Thanks,
    Joe

  • Lost emails, how to get them back from the Mail folder?

    Hi there.
    I have a folder called +/Previous System+ inside of this folder there was folders of the system I had before.
    Inside there is the Applications folder, and I deleted the old versions of the applications such as Mail, but when I did this, I lost the preferences and the email accounts, the Mail application opened as new, without any account, I still have all the folders and .mbox files under ~[User]/Library/Mail but I don't know how to make the accounts visible in Mail
    Question 1: How can I retrieve my sent and received emails.
    Also the accounts that I had were POP and today I learned that the hosting provider suggests IMAP, so now I'm confused.
    Question 2: What should I do? if I get the accounts back will be POP or should I create IMAP accounts and try to retrieve the emails there?
    Thanks!
    Message was edited by: Destructiva

    Fixed!
    I imported the mailboxes
    Import data from: Apple Mail
    and everything went back into the Mail folder.

  • How to determine which locale uses the specific process

    Hi,
    I would like to get to know which locale uses the specific process.
    I mean that when the process starts it should use the current system locale.
    Where I can check that information which locale are used by the running process?
    I ask because I would like to make sure that for example when the locale are French or Japanese the process/deamon use the current locale.
    Kind regards,
    Daniel

    VivaLaVida wrote:
    Hi,
    currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
    If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
    Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
    To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
    Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
    Nicolas.

  • How to determine a BP from the user

    HI Experts,
    We have a scenario where there are contract employee's which are not maintained in the system as employee but maintained as BP, now during creation of any transaction i need to determine the contract BP based on the user, in the user master we are maintaining e-mail, the same is also maintained in the BP, which is also unique, is there any ways i can dtermine the BP in the transaction, please somebody help me, this is very crtical in my project.
    Regards
    Milan

    You can always use badi. To use badi, you would have to define in partner access sequence as source COM_PARTNER_Z (Business add-in 3).
    Then you would have to create your implementation of that badi (spro>crm>basic functons>partner processing>business add-in for partner). In thet badi implement method DETERMINATION_ADD_IN_3 in which you can put whatever logic you need.
    Regards.

  • HT2500 Does anyone know how to remove a group from the address panel in mail?

    Does anyone know how to remove a group from the address panel in mail?

    I haven't seen too many questions like this on this forum.  Did you also try the photoshop forums?

  • HT2128 Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Does any one know how to attach a document from your mail, while you are already in your e-mail, meaning not having to look for your file first and then open the e-mail.

    Luis
    Good question - and one that a lot of (business) people would like solved!
    Your question prompted me to do some research, and I found this workaround posted by Scott Grossberg:
    His solution actually addresses a second problem too - how to attach a document when replying to an email message. In your case you may not need to consider the "reply" aspect - but if not right now, it'll come in useful someday!
    I've pasted it verbatim - if it works for you (it does for me) then all credit goes to Scott for solving the problem. There's just one thing I'd add to his solution: you will probably want to rename the message, as by default Goodreader gives it the Subject line: Mail with GoodReader attachments.
    THE GOODREADER OPTION
    1.  CREATE the document you want to send.
    2.  SAVE it to GoodReader (this will require you to buy and install the app).
    3.  Go to your email and OPEN the email thread to which you want to Reply and attach your file.
    4.  COMPOSE your Reply.
    5.  DOUBLE TAP the message.
    6.  TAP SELECT ALL. This will copy the entire email thread.
    7.  OPEN GOODREADER on the iPad and go to the file you want to send as part of your Reply.
    8.  At the bottom of the GoodReader screen you will see an EXPORT icon (it looks like a rectangle with an arrow pointing to the right).
    9.  TAP the Export button.
    10.  TAP EMAIL FILE. Depending on your needs, tap either SEND FILE “AS IS” or “FLATTEN ANNOTATIONS.” This will open a compose message screen with the chosen document already attached.
    11.  TAP in the body of the email screen. TAP PASTE. This will place your composed Reply and the prior email thread into the message.
    12.  ENTER the Recipients’ names in the TO: field of your message.
    13.  SEND your email Reply.
    The modified version (= when composing a new message rather than a reply):
    1 Make sure that the doc you want to attach is saved in GoodReader
    2 In the message you are composing, double tap, select all, and then copy.
    3 Open GoodReader and select the file you want to attach
    4 Select the export button at the bottom of screen
    5 Select e-mail file
    6 Position cursor in body of the email message, tap and paste. You may want to delete the "sent from GoodReader" text that precedes the attachment.
    7 Rename your message (as by default it will be Mail with GoodReader attachments)
    8 Add the recipient's address in the To field.
    Hope this helps! All thanks to Scott for this workaround.

  • How do I remove the superscript number from the Mail icon on the Dock?

    I have unsuccessfully  searched all folders and topics on the left side of the Mail page to find one supposed incoming email, as the Mail icon indicates with a numeral One on the Mail Icon in the dock to no avail.  How can I either find this unread email via a shortcut, or remove the superscript "1" from the Mail icon on the Dock? Thanks!

    Hmm, this seems kind of too obvious, but when I look at Mail, in the MAILBOXES sidebar on the left, every mailbox and folder has an oval to the right of its name listing how many unread messages it has.  (Sadly, I have a lot of ovals with big numbers in them!)
    Doesn't one of your ovals have a "1" in it?
    Hope that helps...
    Ivan

  • How do you delete a VIP mailbox from the mail app?

    How do you delete a VIP mailbox from the mail app?

    From Mail help:
    Make a sender a VIP
    To keep track of messages you receive from especially important people, make them VIPs in Mail. You can have up to 100 VIPs.
    To make someone a VIP, move the pointer to the left of the sender’s name in the message header and click the star that appears. You can also move the pointer over the sender’s email address, click the arrow that appears, and choose “Add to VIPs” from the pop-up menu.A mailbox for the VIP is added to the Favorites bar. For example, if you make Dad a VIP sender, his messages are displayed in a VIP mailbox titled Dad.
    To remove VIP status from a sender, click the VIP’s star in a message. The star is removed and the sender’s VIP mailbox is removed from the Favorites bar.
    If a VIP has several email addresses in Contacts, messages from any of those addresses will appear in the VIP’s mailbox.
    If you use iCloud Contacts, your VIPs are available on your other Mac computers that use iCloud Contacts and have OS X Mountain Lion installed.
    So to remove a VIP mailbox, you would have to remove all its people, and then exit mail.

  • How  to Hold the client ip from the client calls made to the ejbweb servic?

    Hi
    I am working on Ejb3 web services.I want to hold the client ip from the client calls made to the web service.I deployed this service in jboss AS 4.2.1
    In the service implementation i started using
    @Resource
    SessionContext sessionCtx;
    My idea is to get the MessageContext from this SessionContext and finally to get the HttpServletRequest.
    I got the sessionCtx(BaseSessionContext) object.When i am trying to access the MessageContect using the below syntax
    System.out.println(sessionCtx.getMessageContext());
    I got ---ERROR [SOAPFaultHelperJAXWS] SOAP request exception
    javax.ejb.EJBException: java.lang.IllegalStateException: No message context found
    Please provide me with correct solution to this problem.Please also suggest if there is any alternate approach to get the client ip in the service implementation.
    Thanks
    Adinarayana

    Hi,
    Assuming that you are using Form 6i or greater, one way to do is to embedd a java bean in the form, this bean would get you the ip address and in the form you can get_custom_property( ) to get the value from the bean to the oracle form.
    There is one demo example in OTN site to get the ClientIP address, check out if that helps you.
    Regards,
    Dinesh

  • On my iPad I have installed the update ios 7.0.4 and now I can't send emails from the mail app is it just me or a problem with the update?

    On my iPad I have updated the software to iOS 7.0.4 and now I can't send any emails from the mail app.  Is this me or the update?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    The iPad's Mail app has no provisions for creating groups. However, you can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Firefox will not open web pages that are called from the mail program that comes with Vista, anyone out there have a solution?

    I have installed Firefox ver 4 on a Toshiba laptop running Vista. My problem is when using the mail client that comes with Vista any url in an email message will not load in the browser, a new tab is created and has the url from the mail message but that is as far as I get. There is no revolving icon on the new tab and clicking on reload does nothing. So far this is happening with every website I have tried. There is no error message of any kind. The websites are working sites and can be opened if I navigate to them manually

    I have installed Firefox ver 4 on a Toshiba laptop running Vista. My problem is when using the mail client that comes with Vista any url in an email message will not load in the browser, a new tab is created and has the url from the mail message but that is as far as I get. There is no revolving icon on the new tab and clicking on reload does nothing. So far this is happening with every website I have tried. There is no error message of any kind. The websites are working sites and can be opened if I navigate to them manually

  • How to install archlinux2008.6 from the hard drive?

    How to install archlinux2008_6 by archlinux2008_6_i686.iso in  hard drive?
    i get the booting files(archlive.img,vmlinuz26) in the archlinux2008_6_i686.iso and put them in c:\
    in the grub command mode the use of these code:
    root   (hd0,0)
    kernel (hd0,0)/vmlinuz26
    initrd (hd0,0)/archlive.img
    boot
    i get those from : http://blog.chinaunix.net/u/31909/showart_1121360.html
    but  it stopped  , some  code  printing on the screen...................it can not continue..
    from the  google  i  find :"this method must use  the "vmlinz "and the "initrd.img",this files is from  archlinux2008.03.iso
    i don't understand .......
    i must download the archlinux2008.03.iso?...........it's too much  trouble.
    How to install archlinux2008.6 from the hard drive? or  who could give me the two files (the "vmlinz "and the "initrd.img")  from  archlinux2008.03.iso?
    e mail: [email protected]
    THS.
    --------this is my  topic for the first time in english, I hope that you can  know what i said ~~~
    Last edited by 自学linux (2008-08-29 03:14:54)

    自学linux wrote:
    http://blog.chinaunix.net/u/31909/showart_1121360.html
    A waste of CD-ROM...........,in china, many people install linux  just  by iso,don't burn the iso,
    could you give me the two files (the "vmlinz "and the "initrd.img") in  archlinux2008.03.iso, those  can't  find  in  archlinux2008.06.iso
    my email :[email protected]
    Do you have a USB stick you could copy the image to? Where I live, a CD costs $0.50 at most. To put that into perspective. A coffee costs a $1.00. Either a CD costs a lot more than a coffee where you live or are you telling me you'd rather get a lot of grey hair than buy half a coffee?
    Sorry I can't be of much help. I don't know how to do this method of installation. If you're desperate, you could try making an extra partition, and trying something with that. Take a look at these:
    http://wiki.archlinux.org/index.php/Fas … nux_System
    http://wiki.archlinux.org/index.php/Ins … her_distro
    Last edited by solarwind (2008-08-27 04:37:59)

  • HT1692 how do we move contacts from window mail to ipad?

    We need tp figure out how to move our ccntacts from the computer on windows mail onto the ipad

    If you use Outlook in windows for your email and contacts, when you first
    set up the iPad, iTunes will offer to import from Outlook.
    There is a link to the iPad users manual in the default bookmarks in
    Safari - that will explain more fully.

  • How to attach a file to the mail

    How to attach a file to the mail

    I know that this can be done when going to any PDF program and push (send as  email)
    This also can done with multiple files or even with separate pages from that PDF file (Many programs can do that, like: PDF expert, Adobe Reader, iBooks, PDF Provider, Documents, etc)
    But what if I begin to wright an email, then I wanted to attach a file (such as PDF, or word, or any file) , FOR BASIC APPLE MAIL IT IS UNAVAILABLE
    You can attach Photo or Video but not PDF or other document
    There are some email programs that can attach files to email such as my.mail (as you can see from the photo)
    But why Apple don't provide such simple service ???

Maybe you are looking for

  • Why can't you copy and paste text from the Dictionary widget?

    I use this dictionary often, but I wish that I was able to copy and paste the text from it.

  • Turn in old ipod  for a  video ipod discounted?

    hi, i have two broken ipods, BOTH black and white (one first generation, believe it or not...) and one... i think 3rd? I'm buying a video ipod later today and wanted to know if i could possibly obtain a discount on it by turning in my old ipods? than

  • Capturing AED in J2iun transaction for Cenvat utilization

    Hi experts , Iam unable to view the AED amount (applicable at the time of import purchases) in j2iun transaction. Because of which the respective amount cannot be utilized through j2iun transaction. can anbody help out like what configuration needs t

  • MacMini server used as regular computer ?

    I love the specs on the new MacMini server, and want to buy one. I see it comes with server software, and I know absolutely nothing about the Lion server software. I want to use this MacMini as a regular computer - I want to use it's first hard drive

  • OMG Help me?! Yoga 13

    Okay so I've only had my Yoga 13 about a week and already, even though I am very carefull with it considering it's cost, a key has come off the keyboard, the F4 key, and I can't find it! Can I get a spare?!