Search results for query: *

  1. R

    Answered Outlook Email: Object reference not set to an instance of an object

    Thank you John, I have put a few more 'If Not Is Nothing' statements in and I think I may have cracked it!
  2. R

    Answered Outlook Email: Object reference not set to an instance of an object

    So I've been playing around and an email that contains no Body text or Subject text doesn't appear to show as an IPM.Note class of message I have no idea why, and no idea how to fix it or get around it, If I remove the email in question, no exception is thrown and it loops through all the emails...
  3. R

    Answered Outlook Email: Object reference not set to an instance of an object

    Thank you John, I have implemented your suggestions but It's still throwing the exception when it reaches the following point: If otkMailItems.Item(iCntr).MessageClass = otkMailItem Then It throws the exception as soon as it reaches the blank email and does not go past this statement.
  4. R

    Answered Outlook Email: Object reference not set to an instance of an object

    Good afternoon, I am struggling with the following piece of code. When it reaches an email with a blank Subject or Body it throws an exception: "Object reference not set to an instance of an object" I am really struggling with this, I have been googling all day and I'm at a bit of a dead end...
Back
Top