Author Topic: Get values from "POST"s into the Field  (Read 3446 times)

Offline Ezz

  • Jr. Member
  • **
  • Posts: 19
Get values from "POST"s into the Field
« 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 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

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Get values from "POST"s into the Field
« Reply #1 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?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Ezz

  • Jr. Member
  • **
  • Posts: 19
Get values from "POST"s into the Field
« Reply #2 on: April 27, 2009, 02:04:48 PM »
outside RoundCube ..

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Get values from "POST"s into the Field
« Reply #3 on: April 27, 2009, 02:20:03 PM »
So, give up ... no chance without major changes.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Ezz

  • Jr. Member
  • **
  • Posts: 19
Get values from "POST"s into the Field
« Reply #4 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.
« Last Edit: April 27, 2009, 02:28:48 PM by Ezz »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Get values from "POST"s into the Field
« Reply #5 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 ...
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Get values from "POST"s into the Field
« Reply #6 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Ezz

  • Jr. Member
  • **
  • Posts: 19
Get values from "POST"s into the Field
« Reply #7 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?

Offline Ezz

  • Jr. Member
  • **
  • Posts: 19
Get values from "POST"s into the Field
« Reply #8 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
« Last Edit: April 27, 2009, 06:43:10 PM by Ezz »