• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javamail

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic