Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw.Data returned from API contains unexpected opening line-break when using maildir #148

Closed
talawahtech opened this issue Mar 30, 2017 · 1 comment
Labels

Comments

@talawahtech
Copy link

I switched from memory storage to maildir storage because i ran into #121 but then I noticed that some of my end-to-end email test cases (where I send an email that ends up in MailHog, then query the API to verify the data that I sent) started failing.

It looks like and extra "\r\n" is added to the beginning of the Raw.Data string in the API response when maildir storage is used. I don't know whether or not this is invalid from a MIME perspective, but it prevents my mail parser (mailparser 0.6.2 for Node.js) from parsing the message successfully. Plus I figured it might be unintentional since the behavior is different when memory storage is used.

@ian-kent
Copy link
Member

I think this is related to mailhog/storage#7, I'll keep both open for now

@ian-kent ian-kent added the bug label Apr 16, 2017
ian-kent added a commit that referenced this issue Apr 16, 2017
ayumi- pushed a commit to ayumi-/MailHog that referenced this issue Dec 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants