Enterprise Technologies

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • learning javamail package..

    1 answers - 578 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi guys,

    i'm new of jsf and servlets and i'm trying to learn developing an application.

    Now i want create a section in which a user click a botton and a mail with his password is send to his email.

    This data are stored in User(password and email).

    How can i send an email with this password at this email address?

    Can you explain me main steps posting me some example working code?I've to create a servlet or can i put logic in my managed bean?

    Thanks very much for your availability and excuse me for stupid post,but i'm a newbie,

  • No.1 | | 279 bytes | |

    You can put the code anywhere. There are several example programsincluded with JavaMail from which you can extract the dozen or so linesof code that you'll need to do this. In particular, see msgsendsample.java.Don't forget to read the JavaMail FAQ.

Re: learning javamail package..


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Enterprise Technologies"

JAVA TECH