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)
 Ref: Mail Component Encoding Support
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  17:33:24  Show Profile
Here is a list of encoding support of mail components in v4b for further reference.

(links below point to product pages)



Below, in each reply I'll give links to the pages related to charset/encoding support. I'll also replicate the info in case the web pages are not available in the future (http://www.absoftwarex.com/ is one example for now).
<

Stop the WAR!

Edited by - Deleted on 22 October 2002 22:15:17

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  17:41:14  Show Profile
ABMailer v2.2+

Their site is not reachable as of now. Google also could not succeeded except crackware... Unfortunately I also have no notes from this component. If somebody has related resource please post here...
<

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  17:54:37  Show Profile
ASPEMail

AspEmail 4.5.0.2 Manual
Persits Software support site

Quoted passage from that manual:
quote:

Premium Feature: Support for Alphabets Other Than US-ASCII
AspEmail is capable of sending messages in alphabets other than US-ASCII by supporting the "Quoted-Printable" format. This format is described in RFC-2045. The idea of the format is that characters less than 33 and greater than 126 are represented by an "=" followed by a two digit hexadecimal representation of the character's value. For example, the decimal value 12 (US-ASCII form feed) is represented by "=0C", and the decimal value 61 (US-ASCII "=") can be represented by "=3D".
AspEmail encodes the message body in the Quoted-Printable format automatically if the ContentTransferEncoding property is set to "quoted-printable". You may also set the CharSet property to the appropriate character set.

The following code snippet sends a message in Russian in the KOI8 standard from a text file (not shown here):
...
Mail.ContentTransferEncoding = "quoted-printable"
Mail.Charset = "koi8-r"
Mail.AppendBodyFromFile "c:\russiandoc.txt"
Mail.Send

Support for non-US-ASCII Characters in Message Headers
If you wish to send a message with certain mail headers such as Subject:, To: or From: containing non-US-ASCII characters, you should use the method Mail.EncodeHeader to encode your character string according to the RFC 1522. For example:
...
Mail.Subject = Mail.EncodeHeader("La fête à Jean-Sébastien Bach")
Mail.FromName = Mail.EncodeHeader("José Bové")
Mail.AddAddress "oystein@somecompany.no", Mail.EncodeHeader("Øystein")



As you see the the quoted printable non-us-ascii set is only available in Premium version.

Research topic: What happens in free version if we use it?
Result: We need to check for expire date of free version, use us-ascii if it is free version & warn the user.
<

Stop the WAR!

Edited by - Deleted on 22 October 2002 20:18:39
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 22 October 2002 :  19:10:34  Show Profile  Visit HuwR's Homepage
quote:

As you see the the quoted printable non-us-ascii set is only available in Premium version.


This is likely to be a big problem, since most instances of this component are likely to be the free one.<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  20:15:41  Show Profile
ASPMail

AspMail 4.x Documentation (not fully updated at the time of posting here)

AspMail 3.x Documentation

Quoted passage from that manual (both have the same, but v4 doc is not complete yet ):
quote:

You can encode message subjects using a new method named EncodeHeader.
See the methods listing for details.
Some character sets don't work properly using this method, some do.
We don't have any support for character sets that don't work properly using this encoding.
SHIFT-JIS reportedly works fine with the EncodeHeader method.


METHOD EncodeHeader
param: strValue
return: strValue encoded as String
description: Encodes a string in RFC1522 format to provide support for 8bit mail headers such as 8bit subject headers.
Example: Mailer.Subject = Mailer.EncodeHeader("Résponse de Service à la clientèle")



PROPERTY CharSet
The character set. By default the char set is US Ascii
Valid values:

1 = US ASCII
2 = ISO-8859-1
Example: Mailer.CharSet = 2


PROPERTY CustomCharSet
If you wish to use a character set besides the included types you can set CustomCharSet to a character set string.
Example:

Mailer.CustomCharSet = "ISO-2022" or
Mailer.CustomCharSet = "big5"



<

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  20:30:00  Show Profile
ASPQMail

AspQMail v2.x Documentation

See ASPMail for reference information. They are the same in methosds & properties.
<

Stop the WAR!

Edited by - Deleted on 22 October 2002 20:30:57
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  21:34:08  Show Profile
Chili!Mail (Chili!Soft ASP)

Documentation links:
Sun Chili!Soft ASP v. 3.0 - 3.5 (HTML)
Sun Chili!Soft ASP v. 3.6.0 (HTML)
Sun ONE Active Server Pages v. 3.6.2 (HTML)

Exact locations for Chili!Mail in these documentation:
11.1 Chili!Mail (SMTP Component) for v. 3.0 - 3.5
Chili!Mail (SMTP) Component for v. 3.6.0
??? for v. 3.6.2


Paragraphs from the documentation:
quote:

The Chili!Soft Mail 1.0 ActiveX Control enables users to create and send email messages via SMTP from ASP scripts. The Chili!Soft Mail control is designed to be closely compatible with the NewMail object that is included with the Microsoft IIS CDONTS component.

The Chili!Soft Mail Control does not support the following NewMail properties and methods at all:

BodyFormat
ContentBase
ContentLocation
MailFormat
Version
AttachURL
SetLocaleIDs

Other differences between the controls are noted in the individual Property and Method descriptions that follow.



This is the info about the Value property:
quote:

Chili!Mail Value Property (Read/Write)
The Value property adds one or more headers to the automatically generated headers, such as To, From, Subject, and Date. Possibilities for additional headers include File, Keywords, and Reference.

Certain headers, such as Reply-To, are widely accepted and used by various messaging systems. For such a header to be recognized by recipients, the character string in the header name must exactly match the accepted string.

In principle, you can put any combination of ASCII characters in the string, but some messaging systems might restrict the character set. The safest procedure is to limit the string to alphanumeric characters, dashes, and slashes, and in particular to avoid spaces.

You can set the Value property more than once. Each setting generates another header to be included with the existing headers.



One more usefull thing here:
quote:

Chili!Mail BodyFormat Property (Long: Read/Write)
The BodyFormat property specifies the message format available for the Chili!Mail Body property. The values for the BodyFormat property can be set as follows:
· 0 indicates that the Body property can include HTML.
· 1 indicates that the Body property can include plain text only.



There are two (old) posts related to this in their forums with no exact solution:
http://developer.chilisoft.com/forum/topic.asp?TOPIC_ID=280
http://developer.chilisoft.com/forum/topic.asp?TOPIC_ID=62

But it seems that people are trying to get it via content-type using HTML body format. But body format is supported by SpicePack 1.1.0 with Chili!Soft ASP 3.6 and onwards...

Some additional useful info about international support on Chili!Soft ASP can be found here:
Developing International Applications
<

Stop the WAR!

Edited by - Deleted on 22 October 2002 21:39:31
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:01:23  Show Profile
Dundas Mail (QuickSend)
Dundas Mail (SendMail)

Documentation

Support site (FAQ & Troubleshooting)


From the documentation:

EncodeHeader (Dundas Mailer Control 1.0)

Use this method to encode an html header. Useful for non-US-ASCII header values.

Syntax
[string] = MailerObject.EncodeHeader(Text As String, CharSet As String, [Encoding As Long = 0])

The EncodeHeader method syntax has the following parts:

Part		Description
====		===========
Text		The string value of the header which is to be encoded.
CharSet		The character set to be used for the header.
Encoding	Optional. The type of encoding to be used, 
		either BASE64 (1), or QUOTEDPRINTABLE (0). Defaults to 0.
string		The encoded version of the header.

Return Values

A string expression which is the encoded value of the Text argument.

Remarks

This method lets you specify character sets other than the standard US-ASCII character
set for the message headers. This is particularly useful for setting the Subject header
and the FromName component of the From header to non-English values.

To use "Quoted Printable" encoding set the Encoding argument to zero (0) or use the
default value. To use BASE64 encoding specify a value of one (1) for the Encoding
argument.

Use either BodyCharSet or HtmlBodyCharSet to specify a non-"US-ASCII" character set for
the message body.

See Also: CustomHeader Object | CustomHeaders Collection | Add Method (CustomHeaders
collection) 


BodyCharSet (Dundas Mailer Control 1.0) This property determines the character set to be used for the text-based body of the email. Syntax MailerObject.BodyCharSet = [string] The BodyCharSet property syntax has the following parts: Part Description ==== =========== string Any valid character set. Defaults to "US-ASCII". Remarks Use this property to select a character set for the message body. The value of BodyCharSet is used in conjunction with the Body property which determines the text-based body of the email. Alternatively you can set the BodyCharSet property and load the message body from file via the LoadBodyFromFile method. To select a character set for an html-based email use the HtmlBodyCharSet property. See Also: Body
HtmlBodyCharSet (Dundas Mailer Control 1.0) This property determines the character set to be used for the body of an html-based email. Syntax MailerObject.HtmlBodyCharSet = [string] The HtmlBodyCharSet property syntax has the following parts: Part Description ==== =========== string Any valid character set. Defaults to US-ASCII. Remarks Use this property to select a character set for the message body. The value of HtmlBodyCharSet is used in conjunction with the HtmlBody property which determines the html-based body of the email. Alternatively you can set the HtmlBodyCharSet property and load the message body from file via the LoadBodyFromFile method (make sure that the text file has the appropriate html tags in it). To select a character set for text-based email use the BodyCharSet property. See Also: HtmlBody



This free component seems to be a great when you use the SendMail method! It supports international e-mails fully... On the other hand, the quicksend method does not support anything at all...
<

Stop the WAR!

Edited by - Deleted on 22 October 2002 22:09:17
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:10:16  Show Profile
GeoCel

<

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:10:51  Show Profile
JMail

<

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:11:07  Show Profile
MDaemon

<

Stop the WAR!
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:11:23  Show Profile
OCXMail
OCXQMail

<

Stop the WAR!

Edited by - Deleted on 22 October 2002 22:13:14
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 22 October 2002 :  22:12:40  Show Profile
SA-Smtp Mail
SMTP
<

Stop the WAR!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07