• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding accessing mails by javamail api

 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

i have a thought of writing a application using javamail API for accessing mails from gmail and also send a mail from my application on behalf of particular gmail id.As for my knowledge i have listed down the required details.

1. I have to write my application using java mail API
2. My application has to be deployed in Mail server like James mail server from Apache

so with this is it possible for me to develop my application with the requirement that i have stated above ???
or is James mail server is suited for my requirement or do i have to use any other mail server ???

please if someone could clarify my doubt .

I m having knowledge in servlets and jsp and i have worked in Apache Tomcat .But this is the first time i will be working in Javamail API and a mail server


Thanks in Advance

------------
Ashok
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to use GMail, where does James fit in? Both are mail servers - you only need one or the other.

I'll move this to the Other Java APIs forum, where JavaMail is discussed.
 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi , this is my requirement ... using my application i have to access the gmail account of a users id and i have to give them their mails and if they want to send mail from gmail id even then the users will be using my application . Since i m new to java mail api and mail server kind of technologies i dont have any idea about this . If someone could guide me for developing my application .

And thanks Ulf Dittmer for your reply .


regards

------------------

Ashok
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you want to build a web interface to Gmail? But Gmail already has a web interface. What would your application add that it doesn't have?
 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my organisation Gmail , yahoo mail and many other chat related sites are banned . So i thought of writing an application and deploying it in some web hosting site so that i can access my mails from gmail while i m working in office
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And if you get caught....
 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as for my knowledge they ban sites by explicitily adding it in their banned list or by checking if the url has some catchy keywords like entertainment , sports, etc .. so me getting get caught is a least chance because my application will be used only by me so it wont get knwon to everyone and my url wont have the suspicious words
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You underestimate what system monitoring tools are capable of. My advice would be to either look for an employer with less restrictive guidelines, or one that can provide you with more challenging work, so that you don't feel the need to idle away your time.
 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ulf Dittmer , i think developing a application of this sort itself is a challenging for me ..because i m new to j2ee technology so developing this kind of application will surely help me to know lot about j2ee . . anyhow few hours of searching in net i got this link http://java.sun.com/products/javamail/FAQ.html . here i got some insight of javamail api and underlying technologies like smtp , pop , imap . so i m started to develop my app .
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
You underestimate what system monitoring tools are capable of. My advice would be to either look for an employer with less restrictive guidelines, or one that can provide you with more challenging work, so that you don't feel the need to idle away your time.

Ulf,
Commendable....admire your sense of reply

@Ashok,

Basically, all your requests will have to go throguh the organization's gateway. Restricting domains in big organizations do not happen essentially by blocking the sites with what the default OS is capable of. They have request tracking and reporting tools. Systems have evloved, so as to give a report based on the requested domain, time of request, requesting IP....and even more!

So, as Ulf says, good be careful!
[ March 02, 2008: Message edited by: Ramaswamy Srinivasan ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic