Roundcube Community Forum

 

IMAP accounts question

Started by davidmpaz, January 27, 2009, 12:13:49 PM

Previous topic - Next topic

davidmpaz

Hello to all,
Can any body tell me how could I create an IMAP account from script (any script).
I know this question is not about RC ;) but I want to use it, and also want to be able to create new accounts automatically to check/send mails later with RC, can this be done ?

Any ideas will help

Thanks for listen David.

rosali

Well, this depends how to get access to the user administration of your IMAP backend by PHP or any other scripting language ... RoundCube is only a client like Outlook(E) or Thunderbird.
Regards,
Rosali

davidmpaz

Oh thanks for tht quick reply.

I would like to ask something else please:
Since I have user authenticated in the main app I'd like to automatically login user (not show the login form), how should I do that, can I point to an url, do some ajax post; what should  I do?

I have tried to modified the index.php without success. Btw I'm using 0.2 stable

rosali

Just right click on the login page to see the source code.

Usually it is enough to post _user, _pass, _host into http://url_to_roundcube/?_task=mail&_action=login.
Regards,
Rosali

davidmpaz

THAKNS !!!!!  :) a lot; everything goes well, even when logging out too. Right now I will go through the templates to customize the look & feel to fit it to the main app.

Again thank a lot.

David