how to send mail in j2me without using servlet or any mail api?
hi
i am newbie to j2me and want to know how to send mail [B]without using servlet,[/B]as i have tried mail4me lib but i got error no class found.
so cananyone suggest me which is the best way to send mail though mobile app.
thankx
Re: how to send mail in j2me without using servlet or any mail api?
Open a TCP/IP socket to an SMTP server and proceed fromt here.
The SMTP protocol spec is very simple, but you do need have an SMTP server you can connect to reliably (from any network where your app is going to be used).
You can find SMTP and related specifications (RFCs, Requests For Comments) from [url]http://www.ietf.org[/url]
Re: how to send mail in j2me without using servlet or any mail api?
What about fixing that ClassNotFoundException?
Re: how to send mail in j2me without using servlet or any mail api?
Hi there,
At least this is a fact with MIDlets: every class or resource that your MIDlet will access must be bundled together into the single JAR file.
If this does not happen, then the error will most likely be produced.
Please check this document, it should provide a quite comprehensive view to what it does mean in practise:
[url]http://eclipseme.org/docs/advJarFiles.html[/url]
Hope this helps!
Best Regads,
Marko