File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

smtp

 
Cameron Park
Ranch Hand
Posts: 371
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a question about a smtp example code. Do we have to have our own mail server to run a servlet that sends out mail through smtp? What do we need to run a servlet that will take parameters from a html page and send out mails through smtp client?
 
Mark Simms
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) no, but you must have authentication parameters for accessing the SMTP server.....(userid,password).
These can be passed when doing the socket connection open.
2) get the JavaMail api.....also, Jason Hunter is the reknowned expert in this area......check the web search engines for his code.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic