• 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

Regarding accessing mails by javamail api

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And if you get caught....
 
ashok ganesan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
He puts the "turd" in "saturday". Speaking of which, have you smelled this tiny 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