• Post Reply Bookmark Topic Watch Topic
  • New Topic

Automating E-mail  RSS feed

 
Jeff Dube
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working with a form and i would like to send a e-mail to the user when he submit the form for confirmation.
Is it possible to create a jsp or something else that automatically send a e-mail to a user when the submit buton or other action is executed??
Thank you very much
Jeff
 
Mohamed Yousuff
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

In order to send an e-mail, you need an SMTP Server. The classes you need to interact with the server is available free at http://www.servlets.com/cos/index.html The free package has excellent documentation on this and a lot of other useful classes. Sending mail using this class is as easy as 4 or 5 lines of code as given in the documentation.
Good luck
 
Jeff Dube
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you plaese check the link you gave me, i am unable to visit it.
Thanks
Jeff
 
Jeff Dube
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok,
That was a local problem. Everything is ok now
Thanks
Jeff
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!