![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
How can I programmatically determine what language an incoming email is?
|
#2
|
|||
|
|||
![]()
You would have to parse the Internet message headers to look for that.
Depending on the sending server you might see a header something like "Content-Language". That can vary though. Except for Outlook 2007 using the new PropertyAcessor object the object model doesn't expose the headers. You have to use a lower level API such as CDO 1.21 or Redemption (www.dimastr.com/redemption) or Extended MAPI for that. Since you don't say what version of Outlook or language or platform you're using it's hard to say anything more. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... How can I programmatically determine what language an incoming email is? |
#3
|
|||
|
|||
![]()
You can also look at the PR_INTERNET_CPID property, which is set based on
the received message MIME headers. It is also set on teh outgoing messages or messages received form another Exchange mailbox even if they do not have MIME headers. -- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Ken Slovak - [MVP - Outlook]" wrote in message ... You would have to parse the Internet message headers to look for that. Depending on the sending server you might see a header something like "Content-Language". That can vary though. Except for Outlook 2007 using the new PropertyAcessor object the object model doesn't expose the headers. You have to use a lower level API such as CDO 1.21 or Redemption (www.dimastr.com/redemption) or Extended MAPI for that. Since you don't say what version of Outlook or language or platform you're using it's hard to say anything more. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... How can I programmatically determine what language an incoming email is? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
outlook 07 language file missing code scENG- 440 - need to repair | notnef | Outlook - Installation | 1 | April 7th 08 10:23 AM |
Email domain sold. Now all my incoming email will be lost. Help! | Robert | Outlook Express | 4 | April 13th 07 02:44 AM |
is it possible to color code incoming email by sender? | Mr . . | Outlook - General Queries | 7 | August 6th 06 10:12 PM |
Outlook Language Code Page from MAPI C++ form | m3driver | Add-ins for Outlook | 3 | July 7th 06 05:23 PM |
Foreign language in the date of my outgoing/incoming messages | Jeffrey Brown | Outlook - Installation | 0 | March 27th 06 11:57 PM |