i'm using the "SharpMessage" class to decode emails and i have the following problem:
if the email has another email attached (.eml file), the attached email is not recognized as an attachment by the "SharpMessage class", the message is parsed and appended to the main message.
How can i overcome this?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can't ... or you couldn't :) I've committed in r284 support for SharpDecodeOptions.NotRecursiveRfc822 that should do it when passed to an appropriate constructor.
You can grab it form svn repository[1] or wait for tonight's snapshot build[2].
I tried your changes, i used the SharpDecodeOptions.NotRecursiveRfc822 option in the SharpMessage constructor,
but i found another problem:
when treating the mail message as an attachment, the "DumpBody" method is called for the mail message part
and causes an exception because the body is null...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i'm using the "SharpMessage" class to decode emails and i have the following problem:
if the email has another email attached (.eml file), the attached email is not recognized as an attachment by the "SharpMessage class", the message is parsed and appended to the main message.
How can i overcome this?
Thanks.
You can't ... or you couldn't :) I've committed in r284 support for SharpDecodeOptions.NotRecursiveRfc822 that should do it when passed to an appropriate constructor.
You can grab it form svn repository[1] or wait for tonight's snapshot build[2].
[1]<http://anmar.eu.org/projects/sharpmimetools/development.html>
[2]<http://anmar.eu.org/projects/sharpmimetools/files/daily/>
Nightly builds[1] had stopped working. It should be fixed now.
[1]<http://anmar.eu.org/projects/sharpmimetools/files/daily/>
Hi, thanks for your feedback.
I tried your changes, i used the SharpDecodeOptions.NotRecursiveRfc822 option in the SharpMessage constructor,
but i found another problem:
when treating the mail message as an attachment, the "DumpBody" method is called for the mail message part
and causes an exception because the body is null...
Can you send me a zipped raw test email that causes this problem?
It should be fixed in r286 (and in tonight's build). I shouldn't code while traveling :)
It's working, thanks once again :)