See http://www.gmayor.com/extract_data_from_email.htm or http://www.gmayor.com/extract_email_data_addin.htm where the type of code you are using is explained and you can see how it relates to your messages.