> h.zip 夾檔成功了.
> a.zip 依然是亂碼.
> 能否私下寄 a.zip 給小弟看看. 並教小弟二者設定的差異!
> 有心得後再通知 buda-tech 各位, 以慰各位收測試檔之辛苦 :p
a.zip 和 h.zip 內容一樣,都只有「測試」二字。
但 attachemnt=>properties 設定則完全不同。二種設定的測試結果如下:
MIME for
Encoding for Non-ASCII Attachment 直接 Buda-tech
夾檔 Main Body Headers Format email 轉送
---- --------------- --------- ---------- ----- ---------
a.zip QuotedPrintable Yes MIME 成功 亂碼
(MIME)
h.zip 7bit/8bit No UUEncoded 成功 成功
一般來說,現今email都會用a.zip的設定,上usenet才會用h.zip的設定。
弟對測試結果還是不解。
以下是從Agent.hlp摘錄的相關說明:
All About Attachments
=====================
A growing number of groups on the Usenet are devoted to posting
messages with media attachments. The types of media attached to
messages are diverse - from images such as GIF and JPG files, to
recorded sounds saved in WAV files. There are two major formats
used for messages with attachments: MIME and uuencoded.
MIME messages conform to this widely accepted message transferral
protocol in which messages consist of one or more sections. Each
section can is either text or one of many different types of media
attachments.
Uuencoded messages contain attachments that are converted to a
text-based format using "UUCode", a utility that is closely aligned
to the Internet.
Fortunately, it doesn't matter which format is used for messages
with attachments that you retrieve. Agent is pre-configured to
intelligently discern the format and launch or save message
attachments seamlessly. Also, Agent allows you ro create simple or
complex MIME messages with ease.
Choosing between MIME and uuencoded format
------------------------------------------
When selecting the format for messages with attachments, you must
consider the hardware and software constraints of the message
recipient. It defeats the purpose of your message if your MIME
attachment cannot be viewed (or heard) by the person receiving it.
Here's a good rule of thumb to follow:
� For email messages - Most major email programs support the
MIME format, so in many cases "MIME" would be the appropriate
choice. (The safest thing to do is to find out whether your
recipient's email program supports MIME.)
� For Usenet messages - At the present time, most newsreaders
and participants in the Usenet use uuencoded format, so currently it
would be wise to choose "uuencoded" when posting attachments. Of
course, this may change over time. At some point, MIME may become
the standard format supported and used on the Usenet.
Advantages of MIME:
===================
� Greater reliability in transferring data - The MIME format
is a well defined, widely accepted message transferral protocol
which makes it possible for gateways to interpret message data
smoothly and efficiently. Conversely, uuencoding comes in a number
of "flavors", each with its own set of rules. Some gateways may
misinterpret or even damage uuencoded data during transfer.
� Splitting long messages - Messages cannot be longer than
100k bytes. Files that are bigger than that must be split into
multiple messages. Compared to the uuencoded mechanism, MIME allows
for a more graceful way of splitting long messages and then
reassembling the pieces when they are received.
Using MIME Quoted-Printable
===========================
Quoted-printable provides international character support (e.g.,
accented characters) via MIME. The other type of text encoding
commonly used when posting messages on the Usenet is 8-bit text
encoding. There are a few advantages for using quoted-printable
versus 8-bit encoding:
1. Quoted-printable uses only 7 bits to encode 8-bit
characters. Thus, information won't be lost when messages are
transferred via 7-bit gateways.
2. Quoted-printable correctly encodes non-ascii characters
(such as accented characters).
3. Quoted-printable allows lines of text to be arbitrarily
long, by inserting invisible line breaks where necessary to keep the
physical line lengths within prescribed limits.
TIP:
If you are sending messages to people who have MIME-capable
email/newsreaders, you will probably find that quoted-printable is
the best way to format your messages, since it allows you to type
long paragraphs without having to worry about how they will be
formatted.
If you are sending messages to people who don't have MIME-capable
email/newsreaders, or if you are posting to newsgroups, where
quoted-printable is not yet a universally accepted standard, you
will probably find that 8-bit is the best way to format your
messages.