did you copy and paste the code into this thread or retype it?
if pasted, i would expect
myMessage.subject
to be
myMessage.Subject
the most likely would be some typing error
i can see nothing wrong with the code posted
did you copy and paste the code into this thread or retype it?
if pasted, i would expect
myMessage.subject
to be
myMessage.Subject
the most likely would be some typing error
i can see nothing wrong with the code posted