Protects the dereferences of the struct mailmessage *myMessage.
Merge pull request #64 from ghdk/InvalidMailMessageDereferences

Protects the dereferences of the struct mailmessage *myMessage.