Prodigits |
! You are not logged in to Prodigits. Please register or login.
* Kolkata3 > Topics
raj_ikon
html
head
titleExample Mail Sending Form/title
/head
body bgcolor=white


This page will send an electronic mail message via the
codejavax.mail.Session/code resource factory that is configured into
the JNDI context for this web application. Before it can be used
successfully, you must take note of the following:

ul
liThe default configuration as*umes that there is an SMTP server running
on localhost. If this is not the case, edit your
codeconf/server.xml/code file and change the value for the
codemail.smtp.host/code parameter to the name of a host that provides
SMTP service for your network./li
liThe application logic as*umes that no user authentication is required
by your SMTP server before accepting mail messages to be sent./li
liAll of the fields below are required./li
/ul

form method=POST action=../../SendMailServlet
table

tr
th align=center colspan=2
Enter The Email Message To Be Sent
/th
/tr

tr
th align=rightFrom:/th
td align=left
input type=text name=mailfrom size=60
/td
/tr

tr
th align=rightTo:/th
td align=left
input type=text name=mailto size=60
/td
/tr

tr
th align=rightSubject:/th
td align=left
input type=text name=mailsubject size=60
/td
/tr

tr
td colspan=2
textarea name=mailcontent rows=10 cols=80
/textarea
/td
/tr

tr
td align=right
input type=submit value=Send
/td
td align=left
input type=reset value=Reset
/td
/tr

/table
/form

/body
/html
0 Replies 922 Views 0 Bookmarks
topics posts

* Kolkata3 Forum
fav Bookmarks

* Kolkata3

UK TOP40 Ringtones

Download PRODIGITS Android APP