• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to integrate JAMES within web application ?

 
Abhilash Chander
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to set up a mail server for my web application. I installed and ran JAMES as per the apache JAMES wiki but as it is an standalone server. I wanted to know how can i integrate JAMES into my web application i.e send emails and other oprations through my web application front end. For example whenever you register with a website they shoot you a mail for verification of the email account. I want to do the same but have no idea how to do that. Kindly suggest some good tutorial or advice on how to do that. Kindly help. Thanks for your time.


Abhilash
 
Paul Clapham
Sheriff
Posts: 21881
36
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do that? Part of the Java EE specification is that it includes JavaMail, which lets your code connect to an SMTP server -- such as the standalone JAMES server which you could run -- and use it to send e-mails.

In other words, do it the way it's supposed to be done. Standalone JAMES server, JavaMail to use it from your web application.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!