• Post Reply Bookmark Topic Watch Topic
  • New Topic

sending mail  RSS feed

 
Mateen Dar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi how can we send mail from a jsp page. do i nead a smtp server or not. thanks .
[ October 16, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66154
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would use the JavaMail API.

Moved to the Other Java APIs forum.
 
Paul Clapham
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And yes, you do need an SMTP server.

That doesn't mean you have to be running the SMTP server yourself, and it doesn't have to be running on the same machine as your JSP. It just has to be an SMTP server somewhere, which you are authorized to use. Talk to the administrator of that server to make sure your JSP is indeed authorized to use it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!