[pywin32-bugs] String limitations on outlook email messages?
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Miller, M. F <mik...@in...> - 2012-01-10 01:18:40
|
I seem to be hitting a problem where the body of outlook email messages are truncated at 255-ish characters when extracting the data. I've got scripts that send email to a known account with a single character separated values line of data. Then a python script collects the data from each email in the folder: for indexItem in indexRange: # collect an email, add to buffer, delete emailItem = emailItems.Item(indexItem) buffer.append(emailItem.Body) print emailItem.Body But I'm seeing truncation on the emailItem.Body data that is about the 255-char point. Is this a known issue of some kind? I've set emailItem.Body to much larger strings on a number of occasions, so I know that works. I can dig further on this, but I thought that checking with the experts first would be a good idea :) - Mike Miller |