Hello Folks,
I have implemented a transport agent to convert all the HTML messages to plain text, the transport agent works fine with all external messages, where i convert the body and change the content type through the MIME part.
but with the internal messages its not working fine, i do the conversion for the body but when i receive the mail it is only the text all together like one paragraph without the basic formatting at least the new lines.
i think this is related for not changing the content type in the Message format -(TNEF format), but is it possible to change the content type in the TNEF format? i couldn't find any example about this! there is the TNEF readers and writers but without a helpful example!
there is no MIME Part in the internal messages, just TNEF part. i don't know if it is possible to to convert the TNEF to MIME and do the conversion there? or is there a way to fix how the body will looks like with the basic formatting - maybe changing the content type in TNEF format or in a layer that i don't need to work with the TNEF and MIME formats?
I tried to change in the MIME document direct but i am always getting a null reference on the relay function after the execution of the transport agent!
so if there is another approaches that i need to check it, please advise?
Thanks in advance,
Jamil Isayyed