My Outlook is acting very strange, but I am getting an error message when I send an email. Invalid  code 5.7.1  then I get 17099 when I click and look at it. I also  notice that when I try to delete emails it doesn't always let me.

What can I do for each of these problems?