aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Regarding accessing mails by javamail api Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Regarding accessing mails by javamail api" Watch "Regarding accessing mails by javamail api" New topic
Author

Regarding accessing mails by javamail api

ashok ganesan
Ranch Hand

Joined: Jan 02, 2007
Posts: 50
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
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
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.


Ping & DNS - my free Android networking tools app
ashok ganesan
Ranch Hand

Joined: Jan 02, 2007
Posts: 50
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
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
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

Joined: Jan 02, 2007
Posts: 50
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

Joined: Jan 10, 2002
Posts: 61653
    
  67

And if you get caught....


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
ashok ganesan
Ranch Hand

Joined: Jan 02, 2007
Posts: 50
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
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
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

Joined: Jan 02, 2007
Posts: 50
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

Joined: Aug 31, 2004
Posts: 295
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 ]
 
 
subject: Regarding accessing mails by javamail api