wood burning stoves 2.0*
The moose likes Struts and the fly likes Sending Email -- using Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Sending Email -- using Struts" Watch "Sending Email -- using Struts" New topic
Author

Sending Email -- using Struts

Shubhendu
Greenhorn

Joined: Jul 05, 2005
Posts: 2
I want to send an e-mail from my application. Can anyone help me how to do so (what steps I need to do)?
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

You could use the JavaMail API from within a struts Action. You can see an example of using the JavaMail API here.
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
"Shubhendu",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance, and we look forward to seeing you around the Ranch.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending Email -- using Struts