• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using Java mail API

 
ramu av
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello evy body,
i am facing a problem in knowing my SMTP server name to mail form my jsp
here is the code i got from one of the exmples & please can any one tell me what should i key in instead of "mail.your.smtp.server" and "you@example.com"
thanx in advance

 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well.. that answer depends on you.. it's the SMTP server you will be using to send your emails. So, if you are working at a company, for example, you might wanna ask your system administrator what the SMTP server is, so you can make use of it..
If you want to have your own SMTP server you can try Apache James...
hope this helps
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After you solve this issue, you can check the Mailer Taglib, you will see how easy it is to use it if you wanna send mails using a JSP..
cheers
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic