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

Sending from Gmail creates a panic #2

Closed
somejedi opened this issue Jul 20, 2014 · 1 comment
Closed

Sending from Gmail creates a panic #2

somejedi opened this issue Jul 20, 2014 · 1 comment
Labels
Milestone

Comments

@somejedi
Copy link

2014/07/20 16:36:03 Parsing MIME body
panic: runtime error: index out of range

looks like ParseMIMEBody() might be the reason, I commented out lines 62-65 in mailhog/data/message.go and the panics have stopped

@ian-kent ian-kent added the bug label Aug 4, 2014
@ian-kent ian-kent added this to the MailHog v0.04 milestone Aug 19, 2014
@ian-kent
Copy link
Member

ian-kent commented Sep 8, 2014

Sorry its taken a while - any chance you could provide the email content which broke it, or if its sensitive, cut it down to the bare minimum which causes the panic

No worries if not, I'll add additional error checking so it won't end in a panic, but it'd be nice to support whatever content Gmail was sending (a quick test couldn't replicate the problem)

This issue was closed.
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