muquit / mailsend

A program to send mail via SMTP from command line
Other
295 stars 68 forks source link

mailsend should put empty line between headers and body #58

Closed sanderjo closed 10 years ago

sanderjo commented 10 years ago

mailsend should put empty line between headers and body ... which it now does not do.

From RFC822: 3.1. GENERAL DESCRIPTION

      A message consists of header fields and, optionally, a body.
 The  body  is simply a sequence of lines containing ASCII charac-
 ters.  It is separated from the headers by a null line  (i.e.,  a
 line with nothing preceding the CRLF).
sanderjo commented 10 years ago

Indeed solved: in the message sent there is an empty line. Good.

However, the stdout of mailsend still shows no empty line. No big deal, so just a FWIW

X-Mailer: @(#) mailsend v1.17b15 (Unix) X-Copyright: BSD. It is illegal to use this software for Spamming [C] blabla

sanderjo commented 10 years ago

Yep, empty line also in stdout. Thank you.

X-Mailer: @(#) mailsend v1.17b15 (Unix) X-Copyright: BSD. It is illegal to use this software for Spamming

[C] Some blablabla [C] More blabla [C]

[C] .