EmailComposeTask on WP7 is very limited as I cant send attachments using my code. I am trying to send text as body in the emailcomposetask and it is throwing this The size of input should not exceed 64K exception. Note that my text is 42.9 Kb in size according to Notepad. How to handle this exception? Is there any solution/alternative/workaround this?
I also want to know what encoding the emailcomposetask follows for its content so that I oculd check the equivalent size of my content in that particular encoding? Please help.
This is what I did, I converted the text to
Unicodeand trimmed the last 63K buffer of the text which I want to send. Works perfectly for my situation. Thanks for your help guys. 🙂