EmailMessage wipes-out initialized fields in constructor


#1

I try this every time and every time I get bit.

You won’t get an exception until you try to send the message. Confused, because you did set the values.

Oh.


#2

I don’t know how this could be true. Object initializers run after the constructor. See http://stackoverflow.com/q/17327266/35349.


#3

Good point. At this point, I don’t know how it could have been either.