This week's giveaway is in the Java in General forum.
We're giving away four copies of Java Challengers and have Rafael del Nero on-line!
See this thread for details.
Win a copy of Java Challengers this week in the Java in General forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Is it possible to change the password on mail server in JavaMail?

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,
My next project is to put up a Web interface for my company's e-mail service, something like Yahoo or Hotmail. Of immediate concern among others is how to change a user's password on the mail server using JavaMail. I've had past experience on this but with the MDaemon mail server using ASP/C++/ATL; with JavaMail I'm still searching for some articles but found nothing so far.
Our mail server is Sendmail 8.11.6.
Thanks in advance!
Ex Animo Java!
-- Val
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the javamail api doesnot support changing the password. The SMTP ,POP3 and IMAP protocols doesnt not permit changing the password other than accessing and sending the mails.
if you want to implement it, then u can write a wrapper class and connect to the plugins.
 
Val Pecaoco
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi sreepad,

Originally posted by sreepad mallempudi:

if you want to implement it, then u can write a wrapper class and connect to the plugins.



What plugins?

Ex Animo Java!
-- Val
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry it is not possible . Every mail server uses its own protocol to store username and password . Unlike pop or SMTP there is no RFC for it. But there is one small thing that u can do , mail server like james gives u an interface through some defined port that u can access through telnet . SO u can create a program using java.net which can connect to this socket and do all the administrative work .
 
reply
    Bookmark Topic Watch Topic
  • New Topic