permaculture playing cards
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Sending Email -- using Struts" Watch "Sending Email -- using Struts" New topic

Sending Email -- using Struts


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: 293

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

Joined: Nov 09, 2000
Posts: 6450

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.
I agree. Here's the link:
subject: Sending Email -- using Struts
It's not a secret anymore!