• Post Reply Bookmark Topic Watch Topic
  • New Topic

mailing

 
j123
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to send a mail automatically when i click a button
Server is tomcat
what all should i put in the server for sending a mail
while i am trying i get error 400.like the get metheod dosen't support this url..
can any one help me?
 
Dmitriy Pavlyuk
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I right understand you question, you want to click the html button and send email.
If you have all information to send on client side you may simply submit form (action="mailto:sss@server" method = post).
If you need send message with information after servlet proccessing, you may use JavaMail library or Jakarta taglib (for jsp).
 
sampath ramanujan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Will that Java mail api work Under Proxy, Because, I am not able to use Java Main when my server is under Proxy connection..
Regards
Sampath Ramanujan
Originally posted by Dmitriy Pavlyuk:
If I right understand you question, you want to click the html button and send email.
If you have all information to send on client side you may simply submit form (action="mailto:sss@server" method = post).
If you need send message with information after servlet proccessing, you may use JavaMail library or Jakarta taglib (for jsp).

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!