This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Sending email Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Sending email" Watch "Sending email" New topic
Author

Sending email

Abin Thomas
Greenhorn

Joined: Dec 21, 2006
Posts: 3
Hello all,
I need help regarding sending email from a jsp page (not with outlook). i also need the full procedure regarding installing the necessary things for this
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

hi Abin,

Did you try Google for it. If not then try these keywords "send email in jsp" you will find lots of example with code in JSP including description of steps line by line.

or check this link Send Email in Jsp - Google

hope it helps.
[ January 08, 2007: Message edited by: Saif uddin ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

The JavaMAIL API is the standard mechanism for sending email. See the JavaMail on http://java.sun.com/products/javamail/
Abin Thomas
Greenhorn

Joined: Dec 21, 2006
Posts: 3
Thanks for your help. i need one more thing. i downloaded javamail API. can you tell how to install it means the folder and all where i has to put the required files to work it properly
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Follow this to use Java Mail API
Jeroen T Wenting
Ranch Hand

Joined: Apr 21, 2006
Posts: 1847
You don't send emails from JSP pages (yes, you can but you shouldn't). JSP are meant for display purposes, not performing business logic.

Javamail is a standard part of J2EE, therefore a full featured server will have it for use by servlets and EJB (for example).


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending email
 
Similar Threads
how to send fax using java application
sending Email with attachment using Android emulator
JavaMail but no SMTP
sending email to multiple Recipients
how to send an email in jsp