imap-send: Remove limitation on message body
commit4916c8f9535866210df6ec837ab910f3b8348784
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 22 Mar 2010 18:07:52 +0000 (22 23:37 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Mar 2010 18:00:25 +0000 (24 11:00 -0700)
tree76608834da311aed3d7d952d1556c0bd36f54173
parent0b3dcfe721dc8734e2688f936afad055d8541d97
imap-send: Remove limitation on message body

There is a documented limitation on the body of any email not being
able to contain lines starting with "From ". This patch removes that
limitation by improving the parser to search for "From", "Date", and
"Subject" fields in the email before considering it to be an email.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-imap-send.txt
imap-send.c