PR# 11626 'SMTP_PROTOCOL.build_sub_header' adds an extra CR/LF between mail header and body

Problem Report Summary
Submitter: lengus
Category: EiffelNet
Priority: Medium
Date: 2006/11/08
Class: Feature Request
Severity: Non-critical
Number: 11626
Release: 5.6.1218
Confidential: No
Status: Open
Responsible:
Environment: SunOS GRSUTV 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-1500
Synopsis: 'SMTP_PROTOCOL.build_sub_header' adds an extra CR/LF between mail header and body

Description
We are using SMTP_PROTOCOL to send SMIME messages. The receiving side can´t handle an empty line between the mail header and the mail body.
Is there some way to get rid of the extra line?
My workaround is to subclass SMTP_PROTOCOL and redefine build_sub_header.

build_sub_header is
		-- Build the header of the message in 'sub_header'.
	do
		from 
			memory_resource.headers.start
		until
			memory_resource.headers.after
		loop
			add_sub_header (memory_resource.headers.key_for_iteration)
			memory_resource.headers.forth
		end
		--sub_header.append ("%R%N")			
	end
To Reproduce

										
Problem Report Interactions