SMTP OCX Version v.1.6 charset
etsch
Member Posts: 6
the SMTP - OCX works fine, but we have a little problem :
the charset is us-ascii, but we need iso-8859-1 (most in Germany)
has someone an idee, where can I change this ... ?
Thanks, Jens
the charset is us-ascii, but we need iso-8859-1 (most in Germany)
has someone an idee, where can I change this ... ?
Thanks, Jens
0
Comments
-
If you mean in subject, you must encode it. If you mean in text, I think that there is no problem if you set it into HTML and set the codepage through tag.0
-
I mean in text - we send mails only in plain text, not in html ....0
-
May be that in text of the mail you can use same thing as in subject...
For example if you write into subject this:
=?iso-8859-2?Q?ABC=C8DE?=
it will be showed as
ABCČDE
=C8 mean that it is character 0xC8 (character with this hexadecimal number in charset iso-8859-2 = Latin 2)
I found it in definition of Mail format....0 -
thanks - I will try it ...
0 -
You can send a message with subject 'abcdefghijklmno...' to you yourself on your language and use incoming string for convertion like this:
PROCEDURE EncodedString@1000000000(Str@1000000000 : Text[1024]) : Text[1024]; BEGIN EXIT(CONVERTSTR(Str,'BJBFLASDHFDLFHBDSLHDSFdsfsajhflaskdjfha', 'asfdkjsdgfakweqr;sfdkeLDKJFDHFHSGWEPRTY')); END;and after useSMTP.SetSubject(EncodedString('Message on my language'));0 -
tyrexxx wrote:You can send a message with subject 'abcdefghijklmno...' to you yourself on your language and use incoming string for convertion like this:
PROCEDURE EncodedString@1000000000(Str@1000000000 : Text[1024]) : Text[1024]; BEGIN EXIT(CONVERTSTR(Str,'BJBFLASDHFDLFHBDSLHDSFdsfsajhflaskdjfha', 'asfdkjsdgfakweqr;sfdkeLDKJFDHFHSGWEPRTY')); END;and after useSMTP.SetSubject(EncodedString('Message on my language'));
there is one problem: There is not conversion 1 to 1... there is conversion 1 character to 3 character... :-)0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
