Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Internationalization (v4)
 CDONTS mail and Unicode
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

beso
New Member

Finland
63 Posts

Posted - 25 October 2002 :  18:36:56  Show Profile  Visit beso's Homepage
For correct using of CDONTS mail with Unicode oriented forums SetLocaleIDs(65001) is to be used

MOD for inc_mail.asp:

"</li>"
End if
case "cdonts"
Set objNewMail = Server.CreateObject ("CDONTS.NewMail")
objNewMail.BodyFormat = 1
objNewMail.MailFormat = 0
objNewMail.SetLocaleIDs(65001)
on error resume next '## Ignore Errors
objNewMail.Send strSender, strRecipients, strSubject, strMessage
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>" & fLang(strLangInc_Mail00010) & " " & Err.Description &

"</li>"


After this change mail is sended correctly.<


Edited by - beso on 25 October 2002 18:39:46

Deleted
deleted

4116 Posts

Posted - 25 October 2002 :  19:28:35  Show Profile
Thank you for sharing this info. Can you please also send a link to the resource?

On the other hand I'm not sure if all receivers can read the e-mails due to the problems in e-mail clients...
<

Stop the WAR!
Go to Top of Page

n/a
deleted

593 Posts

Posted - 25 October 2002 :  20:01:58  Show Profile
Will this apply also to CDOSYS?

My forum running on Brinkster General Account (freebie) which does not support email component but forum is enabled to handle it by using CDOSYS (a la/thanks to Richard).... and V4b03.005 is set with CDOSYS (IIS 5/5 1/6)....

<

Taku
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 07 November 2002 :  10:43:29  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
if you want the cdosys info:
objNewMail.BodyPart.SetLocaleIDs(65001)
or for charset:
objNewMail.BodyPart.Charset = "iso-8859-X"
replace x with the appropriate number<
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 07 November 2002 :  11:00:22  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
and bozden, i think that you'll find the charset setting more interesting, and for cdonts it is:
objNewMail.CharSet = "iso-8859-x"
both tested by me<
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 07 November 2002 :  11:25:00  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
and the reference for cdonts is http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_denali_setlocaleids_method_cdonts_newmail_object_.asp and for cdosys: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_adding_bodypart_objects_to_the_mime_hierarchy.asp<
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 08 November 2002 :  13:10:52  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
apperantly the charset property of CDONTS is not availible in all versions, sorry i mislead you <
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07