Author Topic: IMAP accounts question  (Read 3462 times)

Offline davidmpaz

  • Jr. Member
  • **
  • Posts: 11
IMAP accounts question
« on: January 27, 2009, 12:13:49 PM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
IMAP accounts question
« Reply #1 on: January 27, 2009, 02:35:50 PM »
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
__________________
MyRoundcube Project (commercial)

Offline davidmpaz

  • Jr. Member
  • **
  • Posts: 11
IMAP accounts question
« Reply #2 on: January 28, 2009, 02:08:27 PM »
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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
IMAP accounts question
« Reply #3 on: January 29, 2009, 12:31:16 AM »
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
__________________
MyRoundcube Project (commercial)

Offline davidmpaz

  • Jr. Member
  • **
  • Posts: 11
IMAP accounts question
« Reply #4 on: January 29, 2009, 11:13:48 AM »
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