java me - send email through j2me application -


i having application build using j2me lwuit. need send e-mail app.

to make application smaller, i'd suggest implement smpt on socketconnection. small e-mails shall pretty straightforward:

socketconnection connection = (socketconnection)connector.open("socket://your.smtp.server:25"); datainputstream  = sc.opendatainputstream(); dataoutputstream os = sc.opendataoutputstream(); //now smtp chat server 

using approach may allow make application depend on midp/cldc profiles, easier portable other phones (at least in theory).


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -