bugClasspath Extensions - Bugs: bug #41383, SMTP client adds extra message line

 
 

bug #41383: SMTP client adds extra message line

Submitter:  Conrad T. Pino <conradpino>
Submitted:  Wed 29 Jan 2014 10:01:38 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  In Progress
Privacy:  Public Assigned to:  conradpino
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 29 Jan 2014 11:37:33 AM UTC, comment #1: 
Conrad T. Pino <conradpino>
Group Member
Wed 29 Jan 2014 10:01:38 AM UTC, original submission:  

The gnu.inet.smtp.SMTPConnection.finishData method always emits "<CRLF>.<CRLF>" sequence contrary to RFC 5321 Section 4.1.1.4 DATA (DATA) which reads in part:

The first <CRLF> of this terminating sequence is also the <CRLF> that ends the final line of the data (message text) or, if there was no mail data, ends the DATA command itself ...

An extra <CRLF> MUST NOT be added, as that would cause an empty line to be added to the message.

https://tools.ietf.org/html/rfc5321#section-4.1.1.4
https://tools.ietf.org/html/rfc5321#section-4.5.2

Conrad T. Pino <conradpino>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by conradpino (Submitted the item)
  • -email is unavailable- added by conradpino
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-29 conradpino Carbon-Copy- Added dog

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code