When our RT instant receives emails from users, we get 3 attachments every time.
696779: (Unnamed) (multipart/alternative / 0b),
696780: (Unnamed) (text/plain / 5b),
696781: (Unnamed) (text/html / 1k)
I am trying to figure out how to read the contents of only the text/html attachment in a scrip or at least would read the contents of each attachment. The code below only pulls the text/plain attachment.