I remember I hit this issue in past. IIRC sun's javamail does not add
the BODY=8BITMIME attribute for the MAIL command, and it also does not
add the SIZE=XXXXX attribute when the SIZE extension is supported.
I vaguely remember that servers supporting 8BITMIME extension correctly
default to 8BITMIME body when they read the data even if they don't
receive the BODY= attribute.
Maybe someone else here can give you more details.
Stefano
Rick McGuire ha scritto:
I was looking at some things in the Geronimo SMTPTransport code, and I
realized that I had never implemented adding the BODY=8BITMIME to the
FROM command. I went back to my test case I used for comparisons
purposes. This did a simple send with the mail.smtp.allow8bitmime
property set to true. The test was run with mail.debug turned on so I
could see the conversation with the server. It appears that turning
that property on causes the Sun implementation to send the body as 8-bit
characters, but it also does not add the BODY=8BITMIME property.
I'm going to start working on the code to add the option, but I'm
curious of the SMTP experts can help me understand what the actual story
is.
Rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]