This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

javamail  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can i implement a complete web based mailing system using java
mail api
if yes how do i go about it
vamsi
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can.
This is going to be just a bundle of applications that can send and receive mail from your server, and it can be SMTP/POP-3 protocols.
You've asked too abstract question, actually

------------------
With best of best regards, Pawel S. Veselov ( aka Black Angel )
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can be done. How difficult it is depends on whether you need to implement the mail server (SMTP/POP3/IMAP) as well, or whether you just want to create a web-based mail reader/writer which talks to an existing mail system.
On the assumption that you are doing the simpler case, here's a rough recipe:
Ingredients:
A web browser
A working network or internet connection
A working SMTP server (for sending mail)
A working POP3 or IMAP server (for receiving mail)
A web server
Some way of running Java Servlets (either built in to the web server, or an extra program)
The Java Activation Framework (Glasgow) jar file
The Java Mail jar file
A JavaMail plugin for POP3 or IMAP (whichever you use)
Steps:
1. Install the jars in the classpath used by the servlet engine
2. Write a few tests to make sure that you understand JavaMail
3. Write one or more servlets to send/retrieve/store mail
4. Install the servlets and away you go.
Diagram:


But before you get too deep into this, make sure you check out all the java code repositories, as I'm sure many people have done this before.
[This message has been edited by Frank Carver (edited March 07, 2000).]
 
vamsiev
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i donot intend to implement the mail server.
which server should i go in for?
i intend to use an apache server coz they support servlets is it also a mail server?
that is it a smtp/pop3 server?
do i need to manage database to store the users and their mails ?

Originally posted by Frank Carver:
[B]It can be done. How difficult it is depends on whether you need to implement the mail server (SMTP/POP3/IMAP) as well, or whether you just want to create a web-based mail reader/writer which talks to an existing mail system.
On the assumption that you are doing the simpler case, here's a rough recipe:
Ingredients:
A web browser
A working network or internet connection
A working SMTP server (for sending mail)
A working POP3 or IMAP server (for receiving mail)
A web server
Some way of running Java Servlets (either built in to the web server, or an extra program)
The Java Activation Framework (Glasgow) jar file
The Java Mail jar file
A JavaMail plugin for POP3 or IMAP (whichever you use)
Steps:
1. Install the jars in the classpath used by the servlet engine
2. Write a few tests to make sure that you understand JavaMail
3. Write one or more servlets to send/retrieve/store mail
4. Install the servlets and away you go.
Diagram:


But before you get too deep into this, make sure you check out all the java code repositories, as I'm sure many people have done this before.
[This message has been edited by Frank Carver (edited March 07, 2000).][/B]


 
vamsiev
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i donot intend to implement the mail server.
which server should i go in for?
i intend to use an apache server coz they support servlets is it also a mail server?
that is it a smtp/pop3 server?
how much server space do i need for say apprx 100 users.
do i need to manage database to store the users and their mails ?
can u let me know of any other resources available

Originally posted by Pawel Veselov:
Yes, you can.
This is going to be just a bundle of applications that can send and receive mail from your server, and it can be SMTP/POP-3 protocols.
You've asked too abstract question, actually


 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,all
I have configured IMail mail server, and I am sending mail to other users successfully, the problem is in receiving mail, my domain is: nelson.com , it is not registered though, I have created users in Imail server like : abc@nelson.com , david@nelson.com, but the mail didn't receive by any of the users, is it because i have not subscribed nelson.com or thier is another problem?
Is their a way i can receive mail from virtual domain like if my PC name is nelson.com or abc.com, so i can create user (in Immail server) and receive mail from either me@nelson/abc.com.
regards,
Nelson
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!