flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.76k stars 361 forks source link

Fix EOF when parsing the envelope headers #142

Closed codestation closed 5 years ago

codestation commented 5 years ago

Fixes #139

The ReadMIMEHeader method should also receive the empty line according to the documentation.

codestation commented 5 years ago

Modified the subject check so it only attempts to set if there weren't errors or it was because only some headers were parsed (thus the EOF).

iwex commented 5 years ago

@flashmob

flashmob commented 5 years ago

Thanks, looks good