• Post Reply Bookmark Topic Watch Topic
  • New Topic

mail help  RSS feed

 
Paul Beeman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to JSP and Java and need to have a form emailed to certain email addresses on submit. Is there a simple command in JSP that is similar to this one in Coldfusion?


Thanks
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jakarta Mailer Taglibs



I have personally never used the mail tag so I am not 100% sure the code is correct. But it should give you the general idea. I always use Servlets for sending mail instead of JSPs.

[ August 20, 2004: Message edited by: Gregg Bolinger ]

[Bear edit: the mailer taglib is not part of the JSTL so I adjusted the caption of the link accordingly]
[ August 20, 2004: Message edited by: Bear Bibeault ]
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Bear edit: the mailer taglib is not part of the JSTL so I adjusted the caption of the link accordingly]

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!