Roundcube Community Forum

 

Get values from "POST"s into the Field

Started by Ezz, April 27, 2009, 12:07:26 PM

Previous topic - Next topic

Ezz

Okay - bevor I start my Question:
Sorry for my bad englisch! I hope you can understand it!


Okay.
In this 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

rosali

You can't post into RoundCube unless the session is authenticated. So, where is your form? Inside or outside RoundCube?
Regards,
Rosali

Ezz


rosali

So, give up ... no chance without major changes.
Regards,
Rosali

Ezz

#4
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.

rosali

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 ...
Regards,
Rosali

rosali

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.
Regards,
Rosali

Ezz

okaay

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

... do you mean this?

Ezz

#8
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