andyedinborough/aenetmail — pull request #118 by mungojam (2012-12-30 18:55:54+00:00)
Title: Re-ordering of header processing to prevent gmail headers being lost

This is my first ever pull request. Any feedback welcome.

I was after the gmail thread ID, but it was being lost because the mail.Headers were being set to null after the custom headers had been added.

It looks like a more significant refactor would be good, perhaps making the MailMessage immutable.

But for now, this seems to work fine.