What's new

Email problem with SMTP

damil

後輩
3 Feb 2004
4
0
11
Hi,
I'm trying to send Japanese Unicode using SMTP, but I don't receive the unicode text. I only receive ????...

Any ideas?
 
Any mail

I'm using Microsoft Outlook (not express)... can that be the problem?
Maybe the mail server does the problem???
 
Re: Any mail

Originally posted by damil
I'm using Microsoft Outlook (not express)... can that be the problem?

Possibly. They are related, the most common OE problem is fixed by
Tools -> Options -> Send -> Mail Sending Format -> [o] Plain Text
-> Plain Text Settings -> Message Format [o] Mime
-> Encode Text Using [None]

Maybe the mail server does the problem???

Possible. Did you send it as UTF-7 or UTF-8?
Some servers aren't 8-bit friendly.
 
smtp

I'm not sending the email using outlook express or any other software. I'm talking with the server directly with the smtp protocol.
 
Re: smtp

Originally posted by damil
I'm not sending the email using outlook express or any other software. I'm talking with the server directly with the smtp protocol.
There's got to be _some_ software between you and the server.
Unless you've discovered machine telepathy.

You aren't being very clear about what procedures you're carrying out and at what point the problem arises.

At some point you have Japanese text on (your/a) computer and then some time later you've got ???? displayed on your computer when you try to retrieve that text from your mail server.

I suggest you fill in the middle bit of that description some more.
 
more details

The program is written in VB6, and it is using winsock to connect directly to the SMTP server.
It works great when I try to send email in English,
also works when I send non-Unicode (ASCII) Japanese text.
The problem is that after converting the Japanese text to Unicode, it comes corrupted on the other side.

Any ideas?
 
Re: more details

Originally posted by damil
The program is written in VB6, and it is using winsock to connect directly to the SMTP server.
It works great when I try to send email in English,
also works when I send non-Unicode (ASCII) Japanese text.
The problem is that after converting the Japanese text to Unicode, it comes corrupted on the other side.

Any ideas?

The program is VB6? Is this some 3rd party utility your using? I'm assuming this isn't a simple MSOutlook connecting to a regular SMTP server type of connection. What is this VB6 utility you are using?
 
Re: more details

Originally posted by damil
The program is written in VB6, and it is using winsock to connect directly to the SMTP server.
It works great when I try to send email in English,
also works when I send non-Unicode (ASCII) Japanese text.

ASCII? Sure you don't mean
a) JIS
b) Shift-JIS
c) EUC

The problem is that after converting the Japanese text to Unicode, it comes corrupted on the other side.

Are you sure it's the other side?
VB6 can handle unicode fine _internally_ but I'd expect that it has
to be encoded to be 'email safe' if you're transfering it to the SMTP
server.

As I mentioned before some mail servers (although probably not many
now) can't cope with 8-bit content.

[ Here's '窶堋ア窶堙ア窶堙俄?堋ソ窶堙? in a Unicode (UTF-7) encoded email.
(spaces added)
+ M F M w k z B r M G E w b w -
]
 
Back
Top Bottom