Hmm. I guess I'm a bit confused.
As a test, I am trying to just display the text/plain part of the
message only. But my real goal is save that info into a database.
I've tried manipulating the example in the link mentioned below to
try and just display that part of the message. For some messages it
works, but for others is showing still the HTML and plain text
versions. So I assume I'm parsing it wrong. I was hoping you might be
able to shed some light on the proper way to do that.
Thanks for the response.
Dave
On Thursday 19 July 2007 22:38, Dave Fischetti wrote:
> Hey everyone. I'm hoping you can help me figure out the proper
way to
> only parse the text/plain part of a mail message. I've been messing
> with the example here (http://ez.no/doc/components/view/2007.1/
(file)/
> Mail_display-example.html) but It think I'm not doing it most
> efficiently.
>
> I realize that some mail may not include text/plain, but I'm dealing
> only with text messages from mobile phones, 99% of the time it will
> have a text/plain part.
>
> Any help is greatly appreciated.
The mail component will currently parse all parts of the mail when
you parse
it. The example deals with displaying the mail, is that what you mean?
Cheers,
Frederik
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components