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
"Knowledge is power, but enthusiasm is the key." -- Lavern Barn
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.
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 .
"Hain aur bhee duniya mein sukhanwar bahut acche.<br />Kehte hein ke Galib ka hai andaz-e-bayaan aur."