Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

detecting the language of an incoming e-mail

0 views
Skip to first unread message

Carlos

unread,
Aug 16, 2002, 3:13:01 PM8/16/02
to
Hi,

is there a way to programmatically detect the language of a new e-mail?

Thanks,

Carlos.


Ken Slovak - [MVP - Outlook]

unread,
Aug 19, 2002, 9:56:39 AM8/19/02
to
A newly received email message? The only way I know of to check the
language would be to parse the email headers and look for encoding
information. Here is some sample code for getting the email headers:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q194870&

For a new mail started by the user you could either read in the
registry the user's current settings or get the language property in
the Inbox also using CDO. You can use the CdoPR_Language property tag
for that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm


"Carlos" <cahe...@yahoo.com> wrote in message
news:eF837iVRCHA.4200@tkmsftngp08...

0 new messages