You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Stefano Bagnara <ap...@bago.org> on 2008/06/19 19:40:23 UTC

Re: A question about 8BITMIME support.

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: A question about 8BITMIME support.

Posted by Stefano Bagnara <ap...@bago.org>.
Rick McGuire ha scritto:
> Stefano Bagnara wrote:
>> 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.
> Ok....the SIZE extension is one I'm not aware of.  Where's the RFC for 
> this one?

RFC1653 - SMTP Service Extension for Message Size Declaration
http://www.rfc-archive.org/getrfc.php?rfc=1653

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: A question about 8BITMIME support.

Posted by Rick McGuire <ri...@gmail.com>.
Stefano Bagnara wrote:
> 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.
Ok....the SIZE extension is one I'm not aware of.  Where's the RFC for 
this one?

Rick
>
> 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: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org