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
Post a Comment