Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Ezz on April 27, 2009, 12:07:26 PM

Title: Get values from "POST"s into the Field
Post by: Ezz on April 27, 2009, 12:07:26 PM
Okay - bevor I start my Question:
Sorry for my bad englisch! I hope you can understand it!


Okay.
In this (http://www.roundcubeforum.net/roundcube-discussion/1231-mailto-link-opening-roundcube.html#post18730) article I have posted at last. But I think in this Post noone is looking.

So I will aks here:
How can I get values from my POST Form into the Fields from "New Mail" in RC ?

I have an string with a lot of Mail Adresses (more than "GET" can handle..).
I want to set these E-Mail adresses into the "BCC" field.

I hope ... really hope ... someone is able to help me!

Thanks a lot!

Ezz
Title: Get values from "POST"s into the Field
Post by: rosali on April 27, 2009, 02:03:16 PM
You can't post into RoundCube unless the session is authenticated. So, where is your form? Inside or outside RoundCube?
Title: Get values from "POST"s into the Field
Post by: Ezz on April 27, 2009, 02:04:48 PM
outside RoundCube ..
Title: Get values from "POST"s into the Field
Post by: rosali on April 27, 2009, 02:20:03 PM
So, give up ... no chance without major changes.
Title: Get values from "POST"s into the Field
Post by: Ezz on April 27, 2009, 02:23:02 PM
hmm buut..

if its  "inside" the RoundCube -  then ... what must i do ?


I have a projekt:
You loggingIn in this project - and then you are logged to RoundCube too  (thats no problem - it functionate)  (also das funktioniert...)


// Sorry, 2. question:

Its possible to add the user-account by an function in a script from my own ?
If its possible - witch funktion ... or .. where can I find this function ?

I want to add Users in an external Admin-Panel
I have tried this - but if i do this - i cant add identities ... i think its because the InnoDB dec.
Title: Get values from "POST"s into the Field
Post by: rosali on April 27, 2009, 02:57:18 PM
Yes, but you can't post into RC. All requests must run through RoundCube's index.php ... You understand? Even if you are logged in, you can't post into roundcube/subfolder/myscript_to_handle_post ...
Title: Get values from "POST"s into the Field
Post by: rosali on April 27, 2009, 03:00:30 PM
Look into MyRoundCube and you'll see that it is really difficult or take a look to analize SVN trunk. There is a plugin api know.
Title: Get values from "POST"s into the Field
Post by: Ezz on April 27, 2009, 03:11:57 PM
okaay

atm i send the POST Data to
index.php?_task=mail&_action=compose

... do you mean this?
Title: Get values from "POST"s into the Field
Post by: Ezz on April 27, 2009, 05:17:48 PM
btw ...  can i write the mail-string into the session ?!

I must find a possible way :(
LogIn and LogOut and Register a new User /  Identity is now possible in my Project... But this "simple" think ... to add some Mailadresses ... oh man ... :(

Maybe someone knows a trick ? :)


/// Ready:

Okay - i have it ready - thanks for your help!
I have done it with JavaScript - its not the best solution but it works ...

Cya
Ezz