Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Val Pecaoco
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • 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
 
sreepad mallempudi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Mirza Galib
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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 .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!