Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Shift-JIS text/plain attachment problem in DartMail message
shai111

From: dd, AB USA
Posts: 2
Member Since: 09/11/02
posted September 11, 2002 2:41 PM

Hi,

Here is a problem I ran into:

Working On a Japanese machine(W2K SP2) I wrote some Japanese text using notepad, saved it (its a shfit-JIS encoding) and attached it to a new mail message.

I created a ".eml" file of the message using Outlook Express.

In order to test the message I created a DartMail message object and activated the "Load" method.

The attachment that was created in the directory was garbled.

It seems that dart mail cannot handle text/plain shift-JIS attachments.

TIA

Sincerly,
Shai
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 11, 2002 3:53 PM

  Could you c/p the message into this thread, I think there may be a workaround to get the attachment from the email, but I need to do some tests. Thanks.

However, you're correct, we handle US-ASCII and ISO-2022 in the Message object, but not shift-JIS. If you would like us to implement shift-JIS decoding and encoding feel free to send an email to suggestions@dart.com. Sorry for the trouble.
shai111

From: dd, AB USA
Posts: 2
Member Since: 09/11/02
posted September 12, 2002 3:17 AM

here is the ".eml":

From: "hh" <hhh>
To: "example@example.com"
Subject:
Date: Thu, 12 Sep 2002 09:13:02 +0200
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_NextPart_000_0015_01C25A3C.9E135580"
X-Priority: 3
X-MSMail-Priority: Normal
X-Unsent: 1
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C25A3C.9E135580
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0016_01C25A3C.9E135580"


------=_NextPart_001_0016_01C25A3C.9E135580
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit



------=_NextPart_001_0016_01C25A3C.9E135580
Content-Type: text/html;
charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-2022-jp" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV></BODY></HTML>

------=_NextPart_001_0016_01C25A3C.9E135580--

------=_NextPart_000_0015_01C25A3C.9E135580
Content-Type: text/plain;
name="jap.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="jap.txt"

gnKCcZWUICCTgpbYlZSStyCTYQ0KDQo5OJRONYyOMTWT+iAgkoaOUpWUkreBQZHlkqyCs4LxII5P
l22TZItAlkuW4o6eiMSMj5Pgl2WCyYLCgqKCxA0KDQqR5Y3jjpaLxo+KICBJVJWUDQqW2Im6ICCQ
rI9yDQoNCpZ7k/qBQZKGjlKVlJK3gUGR5ZKsgrOC8YKpgueV8Y2QgvCO84Kvgr2T4JdlgvCLTI9x
grWC3IK3gUKVt4KigsSCooLpj+6V8YLNgUGCt4LXgsSLTI9xgrWCxIKigtyCt4KqgUGUu5JmgvCC
t4Lpj+OCxYLtgqmC6ILJgq2CooKxgsaCqoKgguiC3IK1gr2C54FBkFyCtZbzgsiCooLMgsWCt4Kq
grKYQZeNgq2CvoKzgqKBQg0KDQoxCZVpjr+P7pXxiseXnYNWg1iDZYOADQoNCoxnkdGTZJhigsyD
ToOMgVuDgIrHl52DVoNYg2WDgIFCDQqDR4OTg2iDhoFbg1WCqYLngsyDToOMgVuDgJPgl2WC8IFB
j1eMdoK1gsSOlovGjtKBaYxnkdGTZJhig4GBW4NKgWqCyZXxjZCC8I1zgsiCpIFCDQqOlovGjtKB
QZJuiOaBQYtAju2SUIjKgsiCx4LMlaqX3o2AltqCzJP8gsGCvURCgvCNXJJ6grWBQYy7jd2BQZJT
k5aCqo7ojeyLxoLFjXOCyILBgsSCooLpRXhjZWyCxYLMkqCVW43skKyPiJedgvCBQYJugpKCgYKD
goyChYJjgmGCxYrHl52CtYFBV0VCj+OCqYLnkYCN7ILwgqiCsYLIgqKCvYKigsyK85ZdgUINCg0K
ikqUrY1IkJSBQZdcjlqCyILHgsyR5jGOn5LxjqaK+ozAgUYgglSMjoJRglCT+g0Ki3GQ5oLMg1aD
WINlg4CKSo5uivOWXSAgICAgICAgICAggUYggleMjpZ+lr6Cr4LJgs2We5TUidKTroLwivOWXQ0K
DQqXdpZdgUaMu43dgUGSU5OWjtKCqo6plaqCzFBDgsyDR4NOg1qDi4LJg2aBW4NegvCT/JfNgrWB
QZKglVuC4oNPg4mDdILwjeyQrIK1lfGNkILwjXOCyILBgsSCooLpgUINCg==

------=_NextPart_000_0015_01C25A3C.9E135580--
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 12, 2002 9:09 AM

Shai,

  Could you please email two files to support@dart.com w/ subject attn: Jon Belanger.

  The two files I need are:

 The above eml file and the text file that you are attaching to this email. Could you zip both of those files using WinZip into one archive and send me that file. Thanks.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX