Way to remove images in an email?

hi frndz!i am creating a mobile application that will receive and send an email, my question is... is there any way to remove the image that are placed on an email and only the text will be viewable to the mobile phone...thnks in advanced!!!
[262 byte] By [Patrick_Joseph_Tana] at [2007-11-26 12:35:12]
# 1
Yes, there is a way.
deepspacea at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Could you please give me some ideas or sample code if possible for me to learn these ways to remove the images... Cause the application that im working on is my first application on mobile and honestly i dont have any ideas on how to make it.
Patrick_Joseph_Tana at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

I can't help you to any sample code, but dispaying email in j2me is not very straight forward. You'll have to implement that yourself anyway.

Try to find out how to retrieve an email from a POP3 of IMAP server, find out how an email is build-up, and then try to make some basic code for it to display the message.

Here is some info: http://en.wikipedia.org/wiki/Post_Office_Protocol

deepspacea at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
i already know how to send mail in j2SE is it the same as in j2ME? coz i used the java mail api... and accessed sending message using my GMail account..
Patrick_Joseph_Tana at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
> i already know how to send mail in j2SE is it the> same as in j2ME? No, you can't use the j2se mail api in j2me. There might be some other api out there... otherwise you'll have to create your own.
deepspacea at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6

Using Mail4ME API, you can check the MIME type and reject those that are not plain text. For an example, this article might help: http://www.ddj.com/dept/architect/184405073. I'm not sure if the example from the mentioned article takes into account the text part of the message in there are also non-text parts, or just rejects everything.

Mihai

Printisora at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7

> Using Mail4ME API, you can check the MIME type and

> reject those that are not plain text. For an example,

> this article might help:

> http://www.ddj.com/dept/architect/184405073. I'm not

> sure if the example from the mentioned article takes

> into account the text part of the message in there

> are also non-text parts, or just rejects everything.

>

> Mihai

Thanks for the information!!! It brought up our spirits to continue our project!!!

Patrick_Joseph_Tana at 2007-7-7 15:59:09 > top of Java-index,Java Mobility Forums,Java ME Technologies...